Skip to content

运行您的fcrn_train.py文件有错误 #2

@Shawnnnnn

Description

@Shawnnnnn

在从fcrn.ckpt加载完模型,开始训练后,会在while not coord.should_stop():后报错,具体错误如下:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 40960 values, but the requested shape has 20480
[[Node: Reshape_1 = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](DecodeRaw_1/_23, Reshape_1/shape)]]
[[Node: Cast/_25 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_73_Cast", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
感谢百忙之中查看我的问题
期待您的回复!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions