-
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 types_pb2.DataType has no attribute DT_FLOAT #2076
Comments
Same problem here, after I install tensorflowjs, this problem happens when I import the library
errors:
So, what is the problem here, is protobuf got any major upgrade? |
This was fixed already and will see the changes in next release , please refer to similar issue here. Thank you |
!sudo pip3 install tensorflowjs Then:!sudo tensorflowjs_converter just replace model.h5 with your trained weight you are good to go your file will me converted ! |
TensorFlow.js version
tensorflowjs_coverter 1.2.9 at Colab with Python3
Describe the problem or feature request
Get the following error:
Code to reproduce the bug / link to feature request
!sudo pip3 install tensorflowjs
Then:
!sudo tensorflowjs_converter
or
!sudo tensorflowjs_converter --input_format=tfjs_layers_model --output_format=keras /content/mydrive/MeLi/as.m5/model.json as.m5.h5
The text was updated successfully, but these errors were encountered: