Skip to content

Change input size #13

Description

@caleale90

I saw that the code saves images with a shape of 64x64 pixels into TFRecords.
Then donkey.py reshapes data first into 64x64 then it extracts a random crop of 54x54.

I tried to change these dimensions because I want to use larger size.
I changed the line:
image = tf.reshape(image, [64, 64, 3])
with
image = tf.reshape(image, [128, 128, 3])

But I obtain the following error

ValueError: Dimensions must be equal, but are 128 and 32 for 'sparse_softmax_cross_entropy_loss/xentropy/xentropy' (op: 'SparseSoftmaxCrossEntropyWithLogits') with input shapes: [128,7], [32].

How can I achieve my goal?

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