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

I have added my own data in ./data folder. But Why It calls the old image data path ? #185

Open bemoregt opened 7 years ago

bemoregt commented 7 years ago

Hi, @zpao @iassael @maraoz @achao @gfosco

I have met this error when I run the Transfer Learning.

ctilab@ctilab:~/fb.resnet.torch$ th main.lua -retrain resnet-50.t7 -data ./data -resetClassifier true -nClasses 2 Loading model from file: resnet-50.t7
=> Replacing classifier with 2-way classifier
=> Training epoch # 1
/home/ctilab/torch/install/bin/luajit: ...e/ctilab/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 1 callback] ./datasets/imagenet.lua:49: Error reading: /home/ctilab/fb.resnet.torch/data/train/Instantaccess/0606a07d304f5f2041bed1a565a8fe14.png

I have added my own data in ./data folder. But Why It calls the old image data path ?

I cannot find that path setting in any lua scripts.. What's wrong with me ?

Thanks in advance..