Please help me
Loading pretrained model weights from data/pretrain_model/Resnet50.npy
Traceback (most recent call last):
File "./tools/train_net_alt_opt.py", line 109, in
max_iters=max_iters)
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 513, in train_net
sw.train_model(sess, vs_names, max_iters)
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 406, in train_model
self.train_rpn(sess, vs_names[0], max_iters[0], init_model=self.pretrained_mod
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 154, in train_rpn
raise 'Check your pretrained model {:s}'.format(init_model)
TypeError: exceptions must be old-style classes or derived from BaseException, not
Command exited with non-zero status 1
8.84user 0.76system 0:08.69elapsed 110%CPU (0avgtext+0avgdata 928076maxresident)k
0inputs+2224outputs (0major+134721minor)pagefaults 0swaps
Please help me Loading pretrained model weights from data/pretrain_model/Resnet50.npy Traceback (most recent call last): File "./tools/train_net_alt_opt.py", line 109, in
max_iters=max_iters)
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 513, in train_net
sw.train_model(sess, vs_names, max_iters)
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 406, in train_model
self.train_rpn(sess, vs_names[0], max_iters[0], init_model=self.pretrained_mod
File "./tools/../lib/fast_rcnn/train_opt_alt.py", line 154, in train_rpn
raise 'Check your pretrained model {:s}'.format(init_model)
TypeError: exceptions must be old-style classes or derived from BaseException, not
Command exited with non-zero status 1
8.84user 0.76system 0:08.69elapsed 110%CPU (0avgtext+0avgdata 928076maxresident)k
0inputs+2224outputs (0major+134721minor)pagefaults 0swaps