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

raise ValueError("No variables to save") #29

Open
junjunwang2016 opened this issue Sep 3, 2020 · 0 comments
Open

raise ValueError("No variables to save") #29

junjunwang2016 opened this issue Sep 3, 2020 · 0 comments

Comments

@junjunwang2016
Copy link

When i run ./train_faster_rcnn.sh 0 coco res101_fusion EXP_DIR coco_flip_0001_bilinear_new, i meet the problem :
Solving...
/media/junjun/work/ICDE/detection/RGB-N-master/envir/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py:91: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
Loading initial model weights from /media/junjun/work/ICDE/detection/RGB-N-master/imagenet_weights/vgg16.ckpt
Traceback (most recent call last):
File "./tools/trainval_net.py", line 173, in
max_iters=args.max_iters)
File "/media/junjun/work/ICDE/detection/RGB-N-master/tools/../lib/model/train_val.py", line 356, in train_net
sw.train_model(sess, max_iters)
File "/media/junjun/work/ICDE/detection/RGB-N-master/tools/../lib/model/train_val.py", line 170, in train_model
restorer = tf.train.Saver(variables_to_restore)
File "/media/junjun/work/ICDE/detection/RGB-N-master/envir/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1000, in init
self.build()
File "/media/junjun/work/ICDE/detection/RGB-N-master/envir/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1021, in build
raise ValueError("No variables to save")

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

1 participant