Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train from checpoints #122

Open
QueenJuliaZxx opened this issue Jan 30, 2018 · 3 comments
Open

train from checpoints #122

QueenJuliaZxx opened this issue Jan 30, 2018 · 3 comments

Comments

@QueenJuliaZxx
Copy link

Hi,I want to train after 160000 iters,how should I use the order?thank you very much!
Mine:
python ./faster_rcnn/train_net.py
--gpu 1
--weights ./output/faster_rcnn_end2end_pva_kitti1/kittivoc_train/PVAnet_iter_160000.ckpt
--imdb kittivoc_train
--iters 160000
--cfg ./experiments/cfgs/faster_rcnn_end2end_pva_kitti1.yml
--network PVAnet_train
--restore 0
but it cause error:
Loading pretrained model weights from ./output/faster_rcnn_end2end_pva_kitti1/kittivoc_train/PVAnet_iter_160000.ckpt
Traceback (most recent call last):
File "./faster_rcnn/train_net.py", line 118, in
restore=bool(int(args.restore))) #1
File "./faster_rcnn/../lib/fast_rcnn/train.py", line 405, in train_net
sw.train_model(sess, max_iters, restore=restore) #restore=true
File "./faster_rcnn/../lib/fast_rcnn/train.py", line 163, in train_model
raise 'Check your pretrained model {:s}'.format(self.pretrained_model)
TypeError: exceptions must be old-style classes or derived from BaseException, not str

@HaoWangDL
Copy link

@QueenJuliaZxx Hello ,

I also met this problem. How do you solve it

@chiyandetaotie
Copy link

@QueenJuliaZxx @HaoWangDL
Hello,
I have a problem,could you help me?
I interrupted a training (and saved the fixed step model). After two days, I want to continue training in the place where I last interrupted. How to do it?I am a newbie, I hope to answer with the most specific examples, instead of applying the official function.Thanks.

@pale1018
Copy link

I have the same problem,could you tell me how to fix it? thanks!!@HaoWangDL @chiyandetaotie @CharlesShang @QueenJuliaZxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants