-
Notifications
You must be signed in to change notification settings - Fork 277
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
Run ROLO on tensorflow 1.1.8 #38
Comments
I modifiy the LSTM_Single function to
it run correctly,but the result run on pretrainde model is wrong, cannot reproduce the result mentioned by author... |
请问你在跑的过程中遇到 |
你把这个路径改成你本地模型的路径就可以啦 |
@wanjinchang what model .ckpt did you use? I got the next error: NotFoundError (see above for traceback): Tensor name "rnn/lstm_cell/bias" not found in checkpoint files /home/dvn/ROLO/models/model_demo.ckpt And the error shows up with any of the uploaded models... |
The TensorFlow version of this project maybe 0.x,if you use newer version upper to 1.x, the api of the lstm have been changed.You should use the follow code for reference to convert the model to fix this problem. import tensorflow as tf init = tf.global_variables_initializer() with tf.Session() as sess: |
I tried the code above (see below) and I get three files: What do I put in ROLO_network_test_all.py (approx line 264)? OLD_CHECKPOINT_FILE = "C:/Users/el006794/ROLO-master/model_step3_exp3.ckpt" import tensorflow as tf init = tf.global_variables_initializer() with tf.Session() as sess: with tf.Session() as sess: #with tf.Session() as sess: saver = tf.train.Saver()saver.restore(sess, NEW_CHECKPOINT_FILE) |
Hi! |
@bluetooth12
|
Could someone help me run ROLO on newer versions of tensorflow? Thanks.
The text was updated successfully, but these errors were encountered: