ValueError: Unsupported Ops in the model before optimization Dilation2D
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
My environment:
tensorflowjs 1.7.2 tensorflow 2.1.0
Same problem here:
Uncaught (in promise) TypeError: Unknown op 'Dilation2D'. File an issue at https://github.com/tensorflow/tfjs/issues so we can add it, or register a custom execution with tf.registerOp()
Model trained on Pytorch, converted to ONNX then to TF then TFJS/JSON. It works on ONNXJS for CPU, but doesn't on ONNXJS with WEBGL backend. I wanted to give TFJS a try but I'm stuck at this error. If it can't be fixed, how should I retrain my model ? Note that tensorflowjs_converter did warn me that Dilation2D was unsupported but I used the skip_op_check flag. If you need a model using this op, I can share it.
edit: maybe it's linked with the maxpooling layer?.
tfjs 1.7.2 tf 2.1.0
I am facing the same problem. Could you please suggest a work around till a fix is released. Thank you.