TensorFlow object detection error when training -


hej guys !

i trying run locally cat example , got stuck on trainning step. long error. me out understand wrong ?

thanks in advance.

the command: bertalan@mbqs:~/tensorflow/models$ python object_detection/train.py --logtostderr --pipeline_config_path=/home/bertalan/tensorflow/models/object_detection/samples/configs/myfaster_rcnn_resnet101_pets.config --train_dir=traincat

here output error:

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 illegal; using learning_rate instead.     info:tensorflow:summary name /clone_loss illegal; using clone_loss instead.     /usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gradients_impl.py:93: userwarning: converting sparse indexedslices dense tensor of unknown shape. may consume large amount of memory.       "converting sparse indexedslices dense tensor of unknown shape. "     2017-07-26 11:27:18.416172: w tensorflow/core/platform/cpu_feature_guard.cc:45] tensorflow library wasn't compiled use sse4.1 instructions, these available on machine , speed cpu computations.     2017-07-26 11:27:18.416220: w tensorflow/core/platform/cpu_feature_guard.cc:45] tensorflow library wasn't compiled use sse4.2 instructions, these available on machine , speed cpu computations.     2017-07-26 11:27:18.416248: w tensorflow/core/platform/cpu_feature_guard.cc:45] tensorflow library wasn't compiled use avx instructions, these available on machine , speed cpu computations.     2017-07-26 11:27:20.437921: tensorflow/core/common_runtime/simple_placer.cc:669] ignoring device specification /device:gpu:0 node 'prefetch_queue_dequeue' because input edge 'prefetch_queue' reference connection , has device field set /device:cpu:0     info:tensorflow:restoring parameters /home/bertalan/tensorflow/models/faster_rcnn_inception_resnet_v2_atrous_coco_11_06_2017/model.ckpt     2017-07-26 11:27:25.179612: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.179639: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv2/weights not found in checkpoint     2017-07-26 11:27:25.179673: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.179612: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.185127: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.187191: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/weights not found in checkpoint     2017-07-26 11:27:25.187614: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.188036: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.188324: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv2/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.189131: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/weights not found in checkpoint     2017-07-26 11:27:25.190319: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.190613: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/shortcut/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.190923: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv2/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.191949: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_2/bottleneck_v1/conv1/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.192728: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_2/bottleneck_v1/conv1/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.193354: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_2/bottleneck_v1/conv1/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.194102: w tensorflow/core/framework/op_kernel.cc:1152] not found: key       ...      2017-07-26 11:27:25.204869: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv1/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.205198: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv1/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.205799: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv1/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.205853: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv1/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.209234: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv2/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.210446: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv1/weights not found in checkpoint     2017-07-26 11:27:25.210829: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv1/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.212274: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv2/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.212305: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block4/unit_3/bottleneck_v1/conv2/batchnorm/moving_mean not found in checkpoint not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv2/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.613441: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.613721: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv3/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.615790: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv3/weights not found in checkpoint     2017-07-26 11:27:25.615937: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv3/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.616601: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_20/bottleneck_v1/conv3/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.616872: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv1/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.617185: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv2/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.617505: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv1/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.618701: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv1/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.618781: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv2/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.620022: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv1/weights not found in checkpoint     2017-07-26 11:27:25.621149: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv2/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.621225: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv2/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.621225: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv1/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.623092: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv2/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.624135: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv2/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.627327: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv2/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.627572: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv2/weights not found in checkpoint     2017-07-26 11:27:25.628414: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv3/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.628844: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv3/batchnorm/moving_mean not found in checkpoint     2017-07-26 11:27:25.629118: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv2/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.629480: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.629624: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv3/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.630848: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv1/weights not found in checkpoint     2017-07-26 11:27:25.631122: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv1/batchnorm/beta not found in checkpoint     2017-07-26 11:27:25.631167: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_21/bottleneck_v1/conv3/weights not found in checkpoint     2017-07-26 11:27:25.632471: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv1/batchnorm/gamma not found in checkpoint     2017-07-26 11:27:25.633056: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv1/batchnorm/moving_variance not found in checkpoint     2017-07-26 11:27:25.633295: w tensorflow/core/framework/op_kernel.cc:1152] not found: key firststagefeatureextractor/resnet_v1_101/block3/unit_22/bottleneck_v1/conv1/batchnorm/moving_mean not found in checkpoint     info:tensorflow:error reported coordinator: <class 'tensorflow.python.framework.errors_impl.notfounderror'>, key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint          [[node: save/restorev2_475 = restorev2[dtypes=[dt_float], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/const_0, save/restorev2_475/tensor_names, save/restorev2_475/shape_and_slices)]]      caused op u'save/restorev2_475', defined at:       file "object_detection/train.py", line 198, in <module>         tf.app.run()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run         _sys.exit(main(_sys.argv[:1] + flags_passthrough))       file "object_detection/train.py", line 194, in main         worker_job_name, is_chief, flags.train_dir)       file "/home/bertalan/tensorflow/models/object_detection/trainer.py", line 216, in train         from_detection_checkpoint=train_config.from_detection_checkpoint)       file "/home/bertalan/tensorflow/models/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 1447, in restore_fn         saver = tf.train.saver(first_stage_variables)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1056, in __init__         self.build()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1086, in build         restore_sequentially=self._restore_sequentially)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 691, in build         restore_sequentially, reshape)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 407, in _addrestoreops         tensors = self.restore_op(filename_tensor, saveable, preferred_shard)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 247, in restore_op         [spec.tensor.dtype])[0])       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 669, in restore_v2         dtypes=dtypes, name=name)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op         op_def=op_def)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2336, in create_op         original_op=self._default_original_op, op_def=op_def)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1228, in __init__         self._traceback = _extract_stack()      notfounderror (see above traceback): key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint          [[node: save/restorev2_475 = restorev2[dtypes=[dt_float], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/const_0, save/restorev2_475/tensor_names, save/restorev2_475/shape_and_slices)]]      traceback (most recent call last):       file "object_detection/train.py", line 198, in <module>         tf.app.run()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run         _sys.exit(main(_sys.argv[:1] + flags_passthrough))       file "object_detection/train.py", line 194, in main         worker_job_name, is_chief, flags.train_dir)       file "/home/bertalan/tensorflow/models/object_detection/trainer.py", line 290, in train         saver=saver)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/slim/python/slim/learning.py", line 725, in train         master, start_standard_services=false, config=session_config) sess:       file "/usr/lib/python2.7/contextlib.py", line 17, in __enter__         return self.gen.next()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/supervisor.py", line 960, in managed_session         self.stop(close_summary_writer=close_summary_writer)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/supervisor.py", line 788, in stop         stop_grace_period_secs=self._stop_grace_secs)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/coordinator.py", line 389, in join         six.reraise(*self._exc_info_to_raise)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/supervisor.py", line 949, in managed_session         start_standard_services=start_standard_services)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/supervisor.py", line 706, in prepare_or_wait_for_session         init_feed_dict=self._init_feed_dict, init_fn=self._init_fn)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/session_manager.py", line 264, in prepare_session         init_fn(sess)       file "/home/bertalan/tensorflow/models/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 1450, in restore         saver.restore(sess, checkpoint_path)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1457, in restore         {self.saver_def.filename_tensor_name: save_path})       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 778, in run         run_metadata_ptr)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 982, in _run         feed_dict_string, options, run_metadata)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1032, in _do_run         target_list, options, run_metadata)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1052, in _do_call         raise type(e)(node_def, op, message)     tensorflow.python.framework.errors_impl.notfounderror: key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint          [[node: save/restorev2_475 = restorev2[dtypes=[dt_float], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/const_0, save/restorev2_475/tensor_names, save/restorev2_475/shape_and_slices)]]      caused op u'save/restorev2_475', defined at:       file "object_detection/train.py", line 198, in <module>         tf.app.run()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run         _sys.exit(main(_sys.argv[:1] + flags_passthrough))       file "object_detection/train.py", line 194, in main         worker_job_name, is_chief, flags.train_dir)       file "/home/bertalan/tensorflow/models/object_detection/trainer.py", line 216, in train         from_detection_checkpoint=train_config.from_detection_checkpoint)       file "/home/bertalan/tensorflow/models/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 1447, in restore_fn         saver = tf.train.saver(first_stage_variables)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1056, in __init__         self.build()       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1086, in build         restore_sequentially=self._restore_sequentially)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 691, in build         restore_sequentially, reshape)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 407, in _addrestoreops         tensors = self.restore_op(filename_tensor, saveable, preferred_shard)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 247, in restore_op         [spec.tensor.dtype])[0])       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 669, in restore_v2         dtypes=dtypes, name=name)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op         op_def=op_def)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2336, in create_op         original_op=self._default_original_op, op_def=op_def)       file "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1228, in __init__         self._traceback = _extract_stack()      notfounderror (see above traceback): key firststagefeatureextractor/resnet_v1_101/block4/unit_1/bottleneck_v1/conv3/batchnorm/beta not found in checkpoint          [[node: save/restorev2_475 = restorev2[dtypes=[dt_float], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/const_0, save/restorev2_475/tensor_names, save/restorev2_475/shape_and_slices)]] 

by way, here config file:

# faster r-cnn resnet-101 (v1) configured oxford-iiit pet dataset. # users should configure fine_tune_checkpoint field in train config # label_map_path , input_path fields in train_input_reader , # eval_input_reader. search "path_to_be_configured" find fields # should configured.  model {   faster_rcnn {     num_classes: 37     image_resizer {       keep_aspect_ratio_resizer {         min_dimension: 600         max_dimension: 1024       }     }     feature_extractor {       type: 'faster_rcnn_resnet101'       first_stage_features_stride: 16     }     first_stage_anchor_generator {       grid_anchor_generator {         scales: [0.25, 0.5, 1.0, 2.0]         aspect_ratios: [0.5, 1.0, 2.0]         height_stride: 16         width_stride: 16       }     }     first_stage_box_predictor_conv_hyperparams {       op: conv       regularizer {         l2_regularizer {           weight: 0.0         }       }       initializer {         truncated_normal_initializer {           stddev: 0.01         }       }     }     first_stage_nms_score_threshold: 0.0     first_stage_nms_iou_threshold: 0.7     first_stage_max_proposals: 300     first_stage_localization_loss_weight: 2.0     first_stage_objectness_loss_weight: 1.0     initial_crop_size: 14     maxpool_kernel_size: 2     maxpool_stride: 2     second_stage_box_predictor {       mask_rcnn_box_predictor {         use_dropout: false         dropout_keep_probability: 1.0         fc_hyperparams {           op: fc           regularizer {             l2_regularizer {               weight: 0.0             }           }           initializer {             variance_scaling_initializer {               factor: 1.0               uniform: true               mode: fan_avg             }           }         }       }     }     second_stage_post_processing {       batch_non_max_suppression {         score_threshold: 0.0         iou_threshold: 0.6         max_detections_per_class: 100         max_total_detections: 300       }       score_converter: softmax     }     second_stage_localization_loss_weight: 2.0     second_stage_classification_loss_weight: 1.0   } }  train_config: {   batch_size: 1   optimizer {     momentum_optimizer: {       learning_rate: {         manual_step_learning_rate {           initial_learning_rate: 0.0003           schedule {             step: 0             learning_rate: .0003           }           schedule {             step: 900000             learning_rate: .00003           }           schedule {             step: 1200000             learning_rate: .000003           }         }       }       momentum_optimizer_value: 0.9     }     use_moving_average: false   }   gradient_clipping_by_norm: 10.0   fine_tune_checkpoint: "/home/bertalan/tensorflow/models/faster_rcnn_inception_resnet_v2_atrous_coco_11_06_2017/model.ckpt"   from_detection_checkpoint: true   data_augmentation_options {     random_horizontal_flip {     }   } }  train_input_reader: {   tf_record_input_reader {     input_path: "python /home/bertalan/tensorflow/models/pet_train.record"   }   label_map_path: "/home/bertalan/tensorflow/models/object_detection/data/pet_label_map.pbtxt" }  eval_config: {   num_examples: 2000 }  eval_input_reader: {   tf_record_input_reader {     input_path: "/home/bertalan/tensorflow/models/pet_val.record"   }   label_map_path: "/home/bertalan/tensorflow/models/object_detection/data/pet_label_map.pbtxt"   shuffle: false   num_readers: 1 } 

your checkpoint model , feature extracting model different.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -