CartoonGAN-Test-Pytorch-Torch icon indicating copy to clipboard operation
CartoonGAN-Test-Pytorch-Torch copied to clipboard

Can you share your tool that transform the torch model to Pytorch model?

Open FlyingGoblin opened this issue 6 years ago • 1 comments

Can you share your tool that transform the torch model to Pytorch model? Thank you very much.

FlyingGoblin avatar Sep 11 '18 06:09 FlyingGoblin

I do not have tools for that. Basically, I just save the weight/bias in each layer as a .t7 file, which can be loaded through load_lua and then copied into the .pth model.

Yijunmaverick avatar Sep 13 '18 12:09 Yijunmaverick