Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grayscale is now inferred from options if it is not explicitly specified #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IljaManakov
Copy link

Fixes #46

@andreasoie
Copy link

Have you even tested this? Because I don't think it'll work since:

File "../../CUT/models/cut_model.py", line 151, in forward                                    │
    self.real = torch.cat((self.real_A, self.real_B), dim=0) if self.opt.nce_idt and self.opt.isTrain els│
e self.real_A                                                                                            │
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 3 but got size 1 for tenso│
r number 1 in the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not run with grayscale images
2 participants