Logo-2k-plus-Dataset icon indicating copy to clipboard operation
Logo-2k-plus-Dataset copied to clipboard

error encountered when running train.py

Open lindsey98 opened this issue 4 years ago • 6 comments

I get the following error when running train.py when I specify to use resnet: Traceback (most recent call last): File "train.py", line 56, in net = model.attention_net(topN=PROPOSAL_NUM) File "/home/l/liny/Logo-2k-plus-Dataset/Drna-master/core/model_resnet.py", line 75, in init self.aug_net = aug_net() File "/home/l/liny/Logo-2k-plus-Dataset/Drna-master/core/model_resnet.py", line 39, in init self.features = net.get_features() AttributeError: 'NoneType' object has no attribute 'get_features'

lindsey98 avatar May 22 '20 03:05 lindsey98

the same happens with model_vgg

cristianvasquez avatar Jun 03 '20 01:06 cristianvasquez

FYI: https://github.com/msn199959/Logo-2k-plus-Dataset/issues/10#issue-640520505

youliangalex avatar Jun 18 '20 06:06 youliangalex

I get the following error when running train.py,(I change train_iamges_root.txt to train.txt in theDrna-master, the same as test.txt) Traceback(most recent call last): Traceback (most recent call last): File "F:/ZMR/Logo-2k-plus-Dataset-master/Drna-master/train.py", line 56, in net = model.attention_net(topN=PROPOSAL_NUM) File "F:\ZMR\Logo-2k-plus-Dataset-master\Drna-master\core\model_resnet.py", line 75, in init self.aug_net = aug_net() TypeError: init() missing 1 required positional argument: 'NUM_CLASSES'

Mingruizeng avatar Jun 27 '20 07:06 Mingruizeng

Did someone encountered how to resolve the error raised? I am also stucked at this point.

jruizc03 avatar Dec 22 '20 09:12 jruizc03

Any Update here? I am facing same issue. or @msn199959 could provide pretrained models?

pranaysawant avatar Feb 02 '21 10:02 pranaysawant

Any updates on this issue, someone managed to resolve it?

madsemilmj avatar Nov 07 '21 03:11 madsemilmj