New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: SavedModel file does not exist at: main.h5/{saved_model.pbtxt|saved_model.pb} #35909
Comments
@niccle27 , |
@oanush Since it's part of a school project, i wasn't able to have access to the raspberry before now, so basically one more precision : python version i'm using is Python 3.7.3 After further try to limit the code required to reproduce the issue, : import tensorflow as tf
face_recognition_model = tf.keras.models.load_model('face_recognition_model.h5') is enough to reproduce the issue, here is the complete Error :
I'm not using hadoop at all, therefore i don't really know where that line is coming from. I verified and that library isn't present in my Ubuntu 18.04 desktop either (no error message though) Any idea ? |
@niccle27 , |
Sorry for the late reply, This is indeed irrelevant to tensorflow, therefore the issue can be closed. Thanks a lot ! |
I have the same problem, but after use the install command you mentioned before, it didn't work and get the same error again, i.e., SaveModel file does not exit. |
@JinkaiGUAN did u find the solution?
|
I have just met the same problem when using Cloud9...... (Haven't solved it yet. |
I have the same problem using my tensorflow (based on 20.08) docker container downloaded from nvidia catalog with TF 2.2. I have run this code before and it worked (another environment). |
Well, I have solved this by setting the AWS access key in the virtual environment.... So I think if you are still facing this problem try thinking about the access part!(relative path, access to S3 and so on.) |
@Jerrrrykun can you explain how to set the AWS access key. I also have the same problem with my code i.e. |
The solution is found here import os Note. - single dot not double before the slash"/" |
System information
Describe the current behavior
At running, the following line raise the following error:
Code to reproduce the issue
Other info / logs
I provided a snippet to reproduce that error. The all code is using a mobilnet trained by transfer learning to detect faces and a classification network is trained and used on keras for facial recognition. The code is working just fine on my computer and i have absolutely no clue why it's not working on my raspberry pi. I can provide the complete code if it's required.
The text was updated successfully, but these errors were encountered: