Pneumonia-Diagnosis-using-XRays-96-percent-Recall icon indicating copy to clipboard operation
Pneumonia-Diagnosis-using-XRays-96-percent-Recall copied to clipboard

Value error running model

Open kcneato opened this issue 5 years ago • 1 comments

Hi, when running the code

from keras.applications.inception_v3 import InceptionV3 base_model = InceptionV3(weights=None, include_top=False , input_shape=None)

i get a shape rank error.

ValueError: Shape must be rank 1 but is rank 0 for 'batch_normalization_1/cond/Reshape_3' (op: 'Reshape') with input shapes: [1,32,1,1], [].

I dont really follow why i get this error, any ideas why? Running in python 3.6, want to confirm that you have also run in 3.6?

Thanks for any help and for the great code!

kcneato avatar Jun 19 '19 17:06 kcneato

python version: 3.6.4

On Wed, Jun 19, 2019 at 10:38 PM kcneato [email protected] wrote:

Hi, when running the code

from keras.applications.inception_v3 import InceptionV3 create the base pre-trained model

base_model = InceptionV3(weights=None, include_top=False , input_shape=None)

i get a shape rank error.

ValueError: Shape must be rank 1 but is rank 0 for 'batch_normalization_1/cond/Reshape_3' (op: 'Reshape') with input shapes: [1,32,1,1], [].

I dont really follow why i get this error, any ideas why? Running in python 3.6, want to confirm that you have also run in 3.6?

Thanks for any help and for the great code!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deadskull7/Pneumonia-Diagnosis-using-XRays-96-percent-Recall/issues/3?email_source=notifications&email_token=AGSDI4ZIJ4EHUZN3CQNC2I3P3JR2VA5CNFSM4HZLUXMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2OO2OA, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSDI4ZUOQAPDMSROUROO3TP3JR2VANCNFSM4HZLUXMA .

deadskull7 avatar Jun 26 '19 03:06 deadskull7