Facial-Expression-Recognition.Pytorch icon indicating copy to clipboard operation
Facial-Expression-Recognition.Pytorch copied to clipboard

Question about t7 file

Open ZangHuanyu opened this issue 5 years ago • 1 comments

Hi Wujie,

I have some questions about the t7 file, it may sound stupid.

So I know the t7 file stores the parameters or the model, but how can I export or print those in t7 file? I spent a lot of time online, but can't find anything useful.

Also why there are two different t7 files for public_test and private_test?

And I saw only under opt.resume condition, the code will load the t7 file. So if under such condition, it means directly load the file, if else, which means train from beginning, am I right?

Thanks a lot!

ZangHuanyu avatar Sep 18 '20 02:09 ZangHuanyu

1)You can first use the model to load the T7 file, and then use the named_ parameters () to print; 2)There are two datasets, so there are two models, which are the best ckpt obtained in this dataset. 3 about "under opt.resume condition, the code will load the t7 file. So if under such condition, it means directly load the file, if else, which means train from beginning", you are right~

WuJie1010 avatar Nov 15 '20 10:11 WuJie1010