facebookarchive / fb.resnet.torch

Torch implementation of ResNet from http://arxiv.org/abs/1512.03385 and training scripts
Other
2.29k stars 664 forks source link

Is the main.lua the file which we write for our own network models? #179

Closed SXYJerry closed 7 years ago

SXYJerry commented 7 years ago

Hi, I want to fine-tuning the Resnet. I don't understand what the main.lua stands for in ' th main.lua -retrain resnet-50.t7 -data [path-to-directory-with-train-and-val] -resetClassifier true -nClasses 80'. How can I use the code to pertaining? Can you give me some examples? I'll appreciate very much if you can give me some advice.