Traceback (most recent call last):


 "/home/yangpan/anaconda3/envs/tf1/lib/python3.7/threading.py", line 926, in _bootstrap_inner

self.run()


 "/home/yangpan/anaconda3/envs/tf1/lib/python3.7/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "/home/yangpan/.local/lib/python3.7/site-packages/neuralgym/data/feeding_queue_runner.py", line 197, in _run

sess.run(enqueue_op, feed_dict)


 "/home/yangpan/anaconda3/envs/tf1/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 950, in run

run_metadata_ptr)


 "/home/yangpan/anaconda3/envs/tf1/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1149, in _run

str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (32, 64, 64) for Tensor 'Placeholder:0', which has shape '(?, 64, 64, 1)'

Traceback (most recent call last):


 "C:/Users/hp/PycharmProjects/Mobilenets/MobileNet-master/train_object_detector.py", line 628, in <module>

tf.app.run()


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "C:/Users/hp/PycharmProjects/Mobilenets/MobileNet-master/train_object_detector.py", line 524, in main

clones = model_deploy.create_clones(deploy_config, clone_fn, [batch_queue])


 "C:\Users\hp\PycharmProjects\Mobilenets\MobileNet-master\deployment\model_deploy.py", line 195, in create_clones

outputs = model_fn(*args, **kwargs)


 "C:/Users/hp/PycharmProjects/Mobilenets/MobileNet-master/train_object_detector.py", line 499, in clone_fn

end_points = network_fn(images)


 "C:\Users\hp\PycharmProjects\Mobilenets\MobileNet-master\nets\nets_factory.py", line 112, in network_fn

return func(images, num_classes, is_training=is_training, width_multiplier=width_multiplier)


 "C:\Users\hp\PycharmProjects\Mobilenets\MobileNet-master\nets\mobilenet.py", line 83, in mobilenet

net = tf.squeeze(net, [1, 2], name='SpatialSqueeze')


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\array_ops.py", line 2259, in squeeze

return gen_array_ops._squeeze(input, axis, name)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 3378, in _squeeze

squeeze_dims=squeeze_dims, name=name)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op

op_def=op_def)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2338, in create_op

set_shapes_for_outputs(ret)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1719, in set_shapes_for_outputs

shapes = shape_func(op)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1669, in call_with_requiring

return call_cpp_shape_fn(op, require_shape_fn=True)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 610, in call_cpp_shape_fn

debug_python_shape_fn, require_shape_fn)


 "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 676, in _call_cpp_shape_fn_impl

raise ValueError(err.message)
ValueError: Can not squeeze dim[1], expected a dimension of 1, got 3 for 'MobileNet/SpatialSqueeze' (op: 'Squeeze') with input shapes: [32,3,17,1024].****
