Skip to content

Shape error when training on custom dataset #12

@FSet89

Description

@FSet89

python3 -m tf_semantic_segmentation.bin.train -m 'unet' -o 'adam' -bs 4 -l 'categorical_crossentropy' -logdir 'logs' -rd 'tfrecord'

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 174850048 values, but the requested shape has 262144

I created my own dataset using the provided code. Why do I get this error?

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