piptensorflow.jstensorflowjs-converter

command not found: tensorflowjs_converter


I'm trying to convert a frozen model graph file (.pb file) to tensorflowjs model file using tensorflowjs-convertor. As mentioned in their documentation , I've installed tensorflowjs package with below command :

pip install tensorflowjs

While running the command to convert , it throws this error :

zsh: command not found: tensorflowjs_converter

Looks like that command is still not available after installing the package. I couldn't find any useful workaround regarding this. Can anyone help fixing this please ?


Solution

  • Make sure your pip install tensorflowjs completes successfully, before trying to use tensorflowjs_converter.