You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried today to convert my h5 model but I have this:
sudo python keras_to_tensorflow.py --input_model="mymodel.h5" --output_model="mymodel.pb"
Using TensorFlow backend.
Traceback (most recent call last):
File "keras_to_tensorflow.py", line 182, in <module>
app.run(main)
File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "keras_to_tensorflow.py", line 121, in main
Path(output_model).parent.mkdir(parents=True, exist_ok=True)
TypeError: mkdir() got an unexpected keyword argument 'exist_ok'
Thank's for any help
The text was updated successfully, but these errors were encountered:
ricox78
changed the title
ypeError: mkdir() got an unexpected keyword argument 'exist_ok'
TypeError: mkdir() got an unexpected keyword argument 'exist_ok'
Nov 8, 2019
Tried today to convert my h5 model but I have this:
Thank's for any help
The text was updated successfully, but these errors were encountered: