-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Hi
I'm trying to convert a frozen model using tensorflowjs_converter but I got this error:
Traceback (most recent call last):
File "/home/julian/.local/bin/tensorflowjs_converter", line 8, in
sys.exit(pip_main())
File "/home/julian/.local/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 671, in pip_main
main([' '.join(sys.argv[1:])])
File "/home/julian/.local/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 675, in main
convert(argv[0].split(' '))
File "/home/julian/.local/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 658, in convert
weight_shard_size_bytes=weight_shard_size_bytes)
File "/home/julian/.local/lib/python3.7/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 395, in convert_tf_frozen_model
weight_shard_size_bytes=weight_shard_size_bytes)
File "/home/julian/.local/lib/python3.7/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 144, in optimize_graph
', '.join(unsupported))
ValueError: Unsupported Ops in the model before optimization
Dilation2D
My environment:
tensorflowjs 1.7.2
tensorflow 2.1.0