Can I use PyTorch model directly in Torch?

Hi,

I want to know that if I can use pytorch’s model directly in torch framework. Or If there is a tool to convert the model to Torch.

Thanks.

There are no tools to directly convert a pytorch’s model in lua-torch. However, you can always save the parameters of your pytorch’s model in a hdf5 file, which you can load from lua-torch.