-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
TensorFlow.js Converter Issue #8370
Comments
Hi @TheRealCasmat , I have created a In your Dockerfile, you can use Thank You! |
Hey @shmishra99! I forgot to mention I wasn't exactly following the notebook you shared. I ran If that does work, could you share your docker image? I don't know really why i used tensorflow-aarch64... used tensorflow and built again but still getting error. The Dockerfile is the same as I used before but with the '-aarch64' removed. I'm not sure why the inference.so file cannot be opened, It does exist on my end. Also, just a quick question, when using the converter in python, if I wanted to convert keras h5 model that is created using the command above back to a tfjs layers model, would I use Thanks again for your help! |
Hi @TheRealCasmat , I'm building a Docker image using your provided Here are the steps I've taken:
Let me know if these steps are help for you or not. The command Thank You!! |
Hey @shmishra99! Hmm still doesn’t work for me for some reason. It seems that on my end I’m not able to Used:
|
Could you share the most recent error messages from the converter script, along with the command you're using to run it? |
and just python r.py on the python file that has
|
You can try my image |
Hli @TheRealCasmat , I am encountering the following error while running your From the error logs, I can see that there seems to be a compatibility issue between Could you please run the following command and check the versions of the installed dependencies to ensure they are compatible?
Thank You!! |
pip show tensorflow-decision-forests with a ‘s’ returns
|
It seems like the installed dependencies appear compatible, but there could be various reasons why the system isn't finding the correct dependencies. At this point, it's unclear exactly what is causing the error. Could you try deleting your existing Docker image and rebuild it using the same
Thank You!! |
Still shows same error.. deleted old image, created new build and ran but still got the earlier inference.so error after running the same r.py script |
HI @TheRealCasmat , I’m having trouble running your image and encountered the following error after pulling the image: CMD:
Error:
Could you please assist me in setting up the container for this image? Thank you! |
Hey @shmishra99! You seem to be running on an amd host instead of arm, which is what I’m getting the error using? Thanks! |
Hey!
I'm able to use tensorflowjs converter properly as used in this notebook from @shmishra99. But when I try and use the converter in my docker container running on linux arm64, it fails and gives me this error:
# tensorflowjs_converter --input_format=tfjs_layers_model --output_format=keras models/tfjs/model.json models/keras/fla_model.h5
This is the docker file im running off:
Thanks for any help!
The text was updated successfully, but these errors were encountered: