Hello all,
I have a pytorch model , i need to convert that into c++, i followed the steps in the link [https://pytorch.org/tutorials/advanced/cpp_export.html 4] . My model is related to Conv.TasNet. The initial pytorch model have size 13.6 mb and c++ model is about 4mb
Note: When i run the models with the same inputs , the outputs are very strange and not all matching. What would be the reason ? can anyone help on this?
here is what i did!!!
model = ConvTasNet.load_model(“C:/Users/user/Desktop/dss/dss_code/src/Models/13mb.tar”)
model.eval()
example = torch.rand(1,160)
traced_script_module = torch.jit.trace(model, example)
traced_script_module.save(“m13mb.pt”)
Thanks
Yugesh.