D:\yuany\13 workspace\05 tensorflow\models\research>python object_detection/train.py --logtostderr --train_dir=E:/data --pipeline_config_path=E:/data/faster_rcnn_resnet101_pets.config
d:\ProgramData\Anaconda3\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype (float).type`.
from ._conv import register_converters as _register_converters
WARNING:tensorflow:From D:\yuany\13 workspace\05 tensorflow\models\research\object_detection\trainer.py:262: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:num_readers has been reduced to 0 to match input file shards.
Traceback (most recent call last):
File "object_detection/train.py", line 183, in <module>
tf.app.run ()
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit (main (argv))
File "object_detection/train.py", line 179, in main
graph_hook_fn=graph_rewriter_fn)
File "D:\yuany\13 workspace\05 tensorflow\models\research\object_detection\trainer.py", line 276, in train
train_config.prefetch_queue_capacity, data_augmentation_options)
File "D:\yuany\13 workspace\05 tensorflow\models\research\object_detection\trainer.py", line 59, in create_input_queue
tensor_dict = create_tensor_dict_fn ()
File "object_detection/train.py", line 120, in get_next
dataset_builder.build (config)).get_next ()
File "D:\yuany\13 workspace\05 tensorflow\models\research\object_detection\builders\dataset_builder.py", line 134, in build
config.input_path [:], input_reader_config)
File "D:\yuany\13 workspace\05 tensorflow\models\research\object_detection\builders\dataset_builder.py", line 80, in read_dataset
sloppy=config.shuffle))
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 973, in apply
dataset = transformation_func (self)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\data\python\ops\interleave_ops.py", line 76, in _apply_fn
buffer_output_elements, prefetch_input_elements)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\readers.py", line 130, in __init__
cycle_length, block_length)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1959, in __init__
super (InterleaveDataset, self).__init__(input_dataset, map_func)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1928, in __init__
self._map_func.add_to_graph (ops.get_default_graph ())
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\function.py", line 484, in add_to_graph
self._create_definition_if_needed ()
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\function.py", line 319, in _create_definition_if_needed
self._create_definition_if_needed_impl ()
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\function.py", line 336, in _create_definition_if_needed_impl
outputs = self._func (*inputs)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1916, in tf_map_func
dataset = map_func (nested_args)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\data\ops\readers.py", line 196, in __init__
filenames = ops.convert_to_tensor (filenames, dtype=dtypes.string)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1014, in convert_to_tensor
as_ref=False)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1104, in internal_convert_to_tensor
ret = conversion_func (value, dtype=dtype, name=name, as_ref=as_ref)
File "d:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 947, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str (t)))
ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor ("arg0:0", shape=(), dtype=float32)'
galosy 2018-7-11 12:26:43