InvalidArgumentError (see above for traceback): Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero
[[node Fast-RCNN/build_fc_layers/flatten_inputs/flatten/Reshape (defined at /home/dell-g3/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/layers/python/layers/layers.py:1623) = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Fast-RCNN/rois_pooling/concat-0-0-TransposeNCHWToNHWC-LayoutOptimizer, Fast-RCNN/build_fc_layers/flatten_inputs/flatten/Reshape/shape)]]
您好,我想不用预训练权重,但是注释掉restore以后出现这个Reshape的问题
请问这该怎么办
InvalidArgumentError (see above for traceback): Reshape cannot infer the missing input size for an empty tensor unless all specified input sizes are non-zero [[node Fast-RCNN/build_fc_layers/flatten_inputs/flatten/Reshape (defined at /home/dell-g3/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/layers/python/layers/layers.py:1623) = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Fast-RCNN/rois_pooling/concat-0-0-TransposeNCHWToNHWC-LayoutOptimizer, Fast-RCNN/build_fc_layers/flatten_inputs/flatten/Reshape/shape)]] 您好,我想不用预训练权重,但是注释掉restore以后出现这个Reshape的问题 请问这该怎么办