I followed the topic. I wasn’t able to get the result I needed. It ended up giving me more errors. The code I am using to convert is as above. I have attached the error details too.
Could you please help me in adding the line as required? I am still new to PyTorch.
Thank You.