I'd like to convert keras model to tensorflow.js model. I run the offical command :
tensorflowjs_converter --input_format keras \
path/to/my_model.h5 \
path/to/tfjs_target_dir
-bash: tensorflowjs_converter: command not found
How can I solve the problem?
I try to install the tensorflowjs library by using:
$ sudo pip install tensorflowjs
instead of
$ pip install tensorflowjs
and run
$ tensorflowjs_converter --input_format keras \
path/to/my_model.h5 \
path/to/tfjs_target_dir
it's running!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With