-
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
TFJS converter mismanages EfficientDet models 2 #5013
Comments
@partus I was able to convert and run the TFJS model without errors. Please make sure your tensorflowjs pip is the same version (3.6.0) as the tfjs library. |
What versions of other packages are relevant? : I am running it on Arch linux, hence the most recent tensorflow + python as well, e.g. tensorflow with python 3.9... is not officially supported. Which are the important dependencies so that I will I will put it into a cantainer, Hopefully veryify that it’s fine. Then with the next step we might verify the issue in a container with upgraded versions |
@partus Have you resolved this issue, I've countered the same one. Change tfjs version and tensorflowjs won't work |
Closing the issue , please mention@ if you need further help to reopen. Thank you |
@rthadur I get the same issue right now, on npm tensorflowjs_converter --input_format=tfjs_layers_model --output_format=tfjs_graph_model
./models/MyModel/model.json ./models/MyGraphModel let graphModel = await tf.loadGraphModel('file://' + path.resolve('models', 'MyGraphModel', 'model.json'));
graphModel.predict(...); |
Efficientdet can't be used , it relates to #3903, but seems to be a completely different one
For this model
Converted the following way
Loaded and executed as follows in a browser
Results in
Same when the model is taken from the official repo.
Tried both tfjs version 2.7.0 , which was released just after #3903 was resolved , and 3.6.0, the result is the same
The text was updated successfully, but these errors were encountered: