Is it possible to load checkpoint of torch in pytorch?

I have a checkpoint file which was trained with torch and the file extension is t7. Is it possible for me to load it in a pytorch model? Thanks.

Hi,

Very old versions of pytorch used to have a compatibility layer to do this but it was removed a while ago.
It might be simpler for your to dump the file in json from lua and reload it in python. It will be a bit slow but should be fairly simple.

Thanks a lot @albanD