Closed crook52 closed 4 years ago
This issue has been resolved in PyTorch forum. Thank you!
This issue has been resolved in PyTorch forum. Thank you!
When I want to convert the model to Onnx, an error occurs: File "/home/huawei/sxf_workdir/darts/cnn/model.py", line 150, in forward s0, s1 = s1, cell(s0, s1, self.drop_path_prob) File "/home/huawei/anaconda3/envs/darts/lib/python3.7/site-packages/torch/nn/modules/module.py", line 594, in getattr type(self).name, name)) AttributeError: 'NetworkCIFAR' object has no attribute 'drop_path_prob' Have u encountered this problem before, Thank you!
Hi. I want to convert searched darts model to TFlite, finaly. First of all, I tried to convert it to ONNX by below code.
However, it couldn't convert. Error is below.
Could you tell me how to convert it? Thank you!
My environment