Skip to content

error #2

Description

@yc123237

[Config] Use random flip
Traceback (most recent call last):
File "main.py", line 153, in
data = data_loader(FLAGS)
File "/home/amax/ten/DHSGAN-master/lib/model.py", line 128, in data_loader
input_images.set_shape([FLAGS.crop_size, FLAGS.crop_size, 4])
File "/home/amax/anaconda3/envs/ten/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 575, in set_shape
raise ValueError(str(e))
ValueError: Dimension 2 in both shapes must be equal, but are 3 and 4. Shapes are [96,96,3] and [96,96,4].

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions