ValueError: No variables to save / on pascal VOC dataset
HI, I am working on pascal voc dataset. I was trying to train it and got this problem.
In my config file... from_detection_checkpoint option I made it false.
(tensorflow) batuser@Russell-Teapot:~/Documents/models-master$ python object_detection/train.py --logtostderr --pipeline_config_path="/home/batuser/Documents/models-master/object_detection/samples/configs/faster_rcnn_resnet101_voc07.config" --train_dir=/home/batuser/Documents/models-master/VOCdevkit
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Summary name Learning Rate is illegal; using Learning_Rate instead.
WARNING:root:Variable [resnet_v1_101/block1/unit_1/bottleneck_v1/conv1/BatchNorm/beta] not available in checkpoint
.
.
.
WARNING:root:Variable [resnet_v1_101/block4/unit_1/bottleneck_v1/conv2/weights] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/BatchNorm/gamma] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv2/BatchNorm/moving_variance] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv2/weights] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv3/BatchNorm/beta] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv3/BatchNorm/gamma] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv3/BatchNorm/moving_mean] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv3/BatchNorm/moving_variance] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/block4/unit_3/bottleneck_v1/conv3/weights] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/conv1/BatchNorm/beta] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/conv1/BatchNorm/gamma] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/conv1/BatchNorm/moving_mean] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/conv1/BatchNorm/moving_variance] not available in checkpoint
WARNING:root:Variable [resnet_v1_101/conv1/weights] not available in checkpoint
Traceback (most recent call last):
File "object_detection/train.py", line 198, in
This looks like the same error as #2025
Hi did you get this working @Yaredoh
hi did anyone solved this problem
In my case, I was putting the wrong "model.ckpt.*" files. You can recheck that.