Skip to content
This repository was archived by the owner on Oct 3, 2026. It is now read-only.
This repository was archived by the owner on Oct 3, 2026. It is now read-only.

Error when running Celebahq (edge-to-face) #3

Open

Description

@fnzhan

I follow the setting of 3) Celebahq (edge-to-face), only changing the image size to 128. The error is shown as below:
image

Activity

  1. changed the title [-]error when run Celebahq (edge-to-face)[/-] [+]Error when running Celebahq (edge-to-face)[/+] on Jun 22, 2020
  2. fnzhan commented on Jun 23, 2020

    @fnzhan
    Author

    panzhang (@panzhang0212) do you have any idea about this error? thanks.

  3. panzhang0212 commented on Jun 23, 2020

    @panzhang0212
    Contributor

    Hi, I run the code with resolution 128, but do not find any problem in the code. What's your command? if you run with 128, you need to add "--load_size 128 ---load_size 128" to the command. load_size can be larger than 128 (for exemple, 156) to do augmentation.

  4. panzhang0212 commented on Jun 23, 2020

    @panzhang0212
    Contributor

    image
    image
    image
    This is the log

  5. fnzhan commented on Jun 23, 2020

    @fnzhan
    Author

    Hi, I run the code with resolution 128, but do not find any problem in the code. What's your command? if you run with 128, you need to add "--load_size 128 ---load_size 128" to the command. load_size can be larger than 128 (for exemple, 156) to do augmentation.

    Thanks for your reply. For me, the problem is solved by setting the self.preprocess_input(data, ) to self.preprocess_input(data.copy(), ) in line 52 of pix2pix_model.py.

    input_label, input_semantics, real_image, self_ref, ref_image, ref_label, ref_semantics = self.preprocess_input(data, )

  6. Finger-tiao commented on May 28, 2021

    @Finger-tiao

    This method is effective in the training phase, but needs to be changed back to the data() in the testing phase.
    It‘s strange. Can someone explain why?

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