calmiLovesAI / Basic_CNNs_TensorFlow2

A tensorflow2 implementation of some basic CNNs(MobileNetV1/V2/V3, EfficientNet, ResNeXt, InceptionV4, InceptionResNetV1/V2, SENet, SqueezeNet, DenseNet, ShuffleNetV2, ResNet).
MIT License
526 stars 178 forks source link

How to execute evaluate.py #20

Open DrawingProcess opened 4 years ago

DrawingProcess commented 4 years ago

image image When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening?

DrawingProcess commented 4 years ago

ah,,,,, using costom LeNet-5 architecture

mengniwang95 commented 4 years ago

image image When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening?

same error, have you fix it?

DrawingProcess commented 4 years ago

No... not yet..

2020년 9월 9일 (수) 오전 12:31, mengniwang95 notifications@github.com님이 작성:

[image: image] https://user-images.githubusercontent.com/42489745/91732413-2a6b4c80-ebe3-11ea-8a3f-157a7a03feb0.png [image: image] https://user-images.githubusercontent.com/42489745/91732505-48d14800-ebe3-11ea-89b3-f9755c4f5ce1.png When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening?

same error, have you fix it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/calmisential/Basic_CNNs_TensorFlow2/issues/20#issuecomment-688956545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPEN4ETFD6P63K3VBM73SEZE3TANCNFSM4QQS7CYQ .

mengniwang95 commented 4 years ago

No... not yet.. 2020년 9월 9일 (수) 오전 12:31, mengniwang95 notifications@github.com님이 작성: [image: image] https://user-images.githubusercontent.com/42489745/91732413-2a6b4c80-ebe3-11ea-8a3f-157a7a03feb0.png [image: image] https://user-images.githubusercontent.com/42489745/91732505-48d14800-ebe3-11ea-89b3-f9755c4f5ce1.png When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening? same error, have you fix it? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPEN4ETFD6P63K3VBM73SEZE3TANCNFSM4QQS7CYQ .

I fix it just now, you need to add saved_model_name after saved_model/, like saved_model/model

DrawingProcess commented 4 years ago

Don't understand it.. Can you capture the modified part and show me?

2020년 9월 9일 (수) 오전 12:35, mengniwang95 notifications@github.com님이 작성:

No... not yet.. 2020년 9월 9일 (수) 오전 12:31, mengniwang95 notifications@github.com님이 작성: … <#m-8871822223433517859> [image: image] https://user-images.githubusercontent.com/42489745/91732413-2a6b4c80-ebe3-11ea-8a3f-157a7a03feb0.png [image: image] https://user-images.githubusercontent.com/42489745/91732505-48d14800-ebe3-11ea-89b3-f9755c4f5ce1.png When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening? same error, have you fix it? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20 (comment) https://github.com/calmisential/Basic_CNNs_TensorFlow2/issues/20#issuecomment-688956545>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPEN4ETFD6P63K3VBM73SEZE3TANCNFSM4QQS7CYQ .

I fix it just now, you need to add saved_model_name after saved_model/, like saved_model/model

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/calmisential/Basic_CNNs_TensorFlow2/issues/20#issuecomment-688959753, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPELM4BWTFQM3F7WMMJTSEZFN5ANCNFSM4QQS7CYQ .

mengniwang95 commented 4 years ago

Don't understand it.. Can you capture the modified part and show me? 2020년 9월 9일 (수) 오전 12:35, mengniwang95 notifications@github.com님이 작성: No... not yet.. 2020년 9월 9일 (수) 오전 12:31, mengniwang95 @.***님이 작성: … <#m-8871822223433517859> [image: image] https://user-images.githubusercontent.com/42489745/91732413-2a6b4c80-ebe3-11ea-8a3f-157a7a03feb0.png [image: image] https://user-images.githubusercontent.com/42489745/91732505-48d14800-ebe3-11ea-89b3-f9755c4f5ce1.png When I tried to execute evaluate.py, I've got error "Unsuccessful TensorSliceReader constructor: Failed to find any matching files for saved_model/" Why is this happening? same error, have you fix it? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20 (comment) <#20 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPEN4ETFD6P63K3VBM73SEZE3TANCNFSM4QQS7CYQ . I fix it just now, you need to add saved_model_name after saved_model/, like saved_model/model — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEFPELM4BWTFQM3F7WMMJTSEZFN5ANCNFSM4QQS7CYQ .

configuration.py ---> save_model_dir = 'saved_model/model'

DrawingProcess commented 4 years ago

@mengniwang95 thanks you for your advice!! ^^