Skip to content

关掉restorer后出现Reshape error #134

Description

@dovesani

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的问题
请问这该怎么办

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions