Basic_CNNs_TensorFlow2 icon indicating copy to clipboard operation
Basic_CNNs_TensorFlow2 copied to clipboard

How to execute evaluate.py

Open DrawingProcess opened this issue 4 years ago • 7 comments

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 avatar Aug 31 '20 14:08 DrawingProcess

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

DrawingProcess avatar Aug 31 '20 17:08 DrawingProcess

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?

mengniwang95 avatar Sep 08 '20 15:09 mengniwang95

No... not yet..

2020년 9월 9일 (수) 오전 12:31, mengniwang95 [email protected]님이 작성:

[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 .

DrawingProcess avatar Sep 08 '20 15:09 DrawingProcess

No... not yet.. 2020년 9월 9일 (수) 오전 12:31, mengniwang95 [email protected]님이 작성: [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

mengniwang95 avatar Sep 08 '20 15:09 mengniwang95

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

2020년 9월 9일 (수) 오전 12:35, mengniwang95 [email protected]님이 작성:

No... not yet.. 2020년 9월 9일 (수) 오전 12:31, mengniwang95 [email protected]님이 작성: … <#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 .

DrawingProcess avatar Sep 08 '20 15:09 DrawingProcess

Don't understand it.. Can you capture the modified part and show me? 2020년 9월 9일 (수) 오전 12:35, mengniwang95 [email protected]님이 작성: 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'

mengniwang95 avatar Sep 08 '20 15:09 mengniwang95

@mengniwang95 thanks you for your advice!! ^^

DrawingProcess avatar Sep 08 '20 17:09 DrawingProcess