Hi. I am following this guide to achieve exporting a pytorch model (this one https://github.com/ypeleg/U-2-Net-Keras , under Usage for salient object detection).
My plan is to: PyTorch -> Onnx -> Keras.
But going from PyTorch -> Onnx i get this error:
AttributeError: 'collections.OrderedDict' object has no attribute 'training'
Hi. I am following this guide to achieve exporting a pytorch model (this one https://github.com/ypeleg/U-2-Net-Keras , under Usage for salient object detection).
My plan is to: PyTorch -> Onnx -> Keras.
But going from PyTorch -> Onnx i get this error: AttributeError: 'collections.OrderedDict' object has no attribute 'training'
Please, can someone help me?