Hi @David_Reiss
Thanks for reply i m using this following code for produce torchscript is it all correct? i m using torch version 1.3.0 and torchvision 0.4.1
import torch
import torchvision
model = “/home/kamleshpanchal/Downloads/PytorchMobile-master/agestage250.pth”
input_tensor = torch.rand(1,3,224,224)
script_model = torch.jit.trace(model,input_tensor)
script_model.save(“converted.pt”)
after run this code i m getting following error
Traceback (most recent call last):
File “convert.py”, line 10, in 
script_model = torch.jit.trace(model,input_tensor)
File “/usr/local/lib/python3.6/dist-packages/torch/jit/init.py”, line 880, in trace
name = _qualified_name(func)
File “/usr/local/lib/python3.6/dist-packages/torch/_jit_internal.py”, line 636, in _qualified_name
name = obj.name
AttributeError: ‘str’ object has no attribute ‘name’