Msabih edited a comment on issue #4262: [RELAY][Bug] 'name_hint' AttributeError 
issue when covert tensorflow to TVM
URL: https://github.com/apache/incubator-tvm/issues/4262#issuecomment-565247759
 
 
   @anguoyang  Not sure, I was already using Ubuntu. Besides that, I think I 
have figured out why the error is coming,  when Pytorch exports to ONNX, it 
does not write the Upsample operator properly as specified in the ONNX standard 
(opset version 9). The opset version 11 export works flawlessly from pytorch 
side but the Upsample has been deprecated and changed to resize which cannot be 
read by TVM.
   
   Perhaps your error was caused by a different operator and thats why it was 
solved by switching to Ubuntu ?
   
   @Aeroxander In my case, the model was only using one scaling factor so the 
quick hack was just to supply the constant. However I would look into a proper 
solution.
   
   I would try to upload a sample script and snippet for the case.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to