Traceback (most recent call last):
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 464, in
tf.app.run()
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 460, in main
hooks=[logging_hook], max_steps=FLAGS.max_number_of_steps)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 352, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 812, in _train_model
features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 793, in _call_model_fn
model_fn_results = self._model_fn(features=features, kwargs)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\contrib\estimator\python\estimator\replicate_model_fn.py", line 220, in single_device_model_fn
local_ps_devices=ps_devices)[0] # One device, so one spec is out.
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\contrib\estimator\python\estimator\replicate_model_fn.py", line 558, in _get_loss_towers
optional_params)
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 403, in ssd_model_fn
scaffold=tf.train.Scaffold(init_fn=get_init_fn()))
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 158, in get_init_fn
name_remap={'/kernel': '/weights', '/bias': '/biases'})
File "c:\Users\野生甲鱼\Desktop\company\SSD.TensorFlow-master\SSD.TensorFlow-master\utility\scaffolds.py", line 66, in get_init_fn_for_scaffold
reader = tf.train.NewCheckpointReader(checkpoint_path)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 254, in NewCheckpointReader
return CheckpointReader(compat.as_bytes(filepattern), status)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\util\compat.py", line 67, in as_bytes
(bytes_or_text,))
TypeError: Expected binary or unicode string, got None
Traceback (most recent call last): File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 464, in
tf.app.run()
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 460, in main
hooks=[logging_hook], max_steps=FLAGS.max_number_of_steps)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 352, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 812, in _train_model
features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\estimator\estimator.py", line 793, in _call_model_fn
model_fn_results = self._model_fn(features=features, kwargs)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\contrib\estimator\python\estimator\replicate_model_fn.py", line 220, in single_device_model_fn
local_ps_devices=ps_devices)[0] # One device, so one spec is out.
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\contrib\estimator\python\estimator\replicate_model_fn.py", line 558, in _get_loss_towers
optional_params)
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 403, in ssd_model_fn
scaffold=tf.train.Scaffold(init_fn=get_init_fn()))
File "c:/Users/野生甲鱼/Desktop/company/SSD.TensorFlow-master/SSD.TensorFlow-master/train_ssd.py", line 158, in get_init_fn
name_remap={'/kernel': '/weights', '/bias': '/biases'})
File "c:\Users\野生甲鱼\Desktop\company\SSD.TensorFlow-master\SSD.TensorFlow-master\utility\scaffolds.py", line 66, in get_init_fn_for_scaffold
reader = tf.train.NewCheckpointReader(checkpoint_path)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 254, in NewCheckpointReader
return CheckpointReader(compat.as_bytes(filepattern), status)
File "C:\anaconda\envs\tf1.6\lib\site-packages\tensorflow\python\util\compat.py", line 67, in as_bytes
(bytes_or_text,))
TypeError: Expected binary or unicode string, got None