Guanghan / ROLO

ROLO is short for Recurrent YOLO, aimed at simultaneous object detection and tracking
Apache License 2.0
879 stars 278 forks source link

output/trainging-20-log.txt #40

Open wei-1234567 opened 6 years ago

wei-1234567 commented 6 years ago

when I ran ROLO_step6_train_20_exp1.py, I met this question ,No such file or directory: 'output/trainging-20-log.txt'

chenharel1 commented 5 years ago

@wei-1234567 You have to set restore_weights=False. Then in the following "if" phrase: (line ~167) if (self.restore_weights == True): sess.run(init) self.saver.restore(sess, self.rolo_weights_file) print "Loading complete!" + '\n' else: sess.run(init) The code will just run the session, will not try to restore (load) the model.

Besides, you have to change self.rolo_weights_file to your own path.