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

Multiple mismatch errors #3

Open
rickkk856 opened this issue Mar 12, 2021 · 0 comments
Open

Multiple mismatch errors #3

rickkk856 opened this issue Mar 12, 2021 · 0 comments

Comments

@rickkk856
Copy link

I'm trying to run your code with a 512x512 paired dataset (like in pix2pix models) so the train images are 1024x512, but every time I try

python train.py --dataroot ./datasets/08K_Rplan_Black --name 08K_RPlan_Black --model bicycle_gan --use_dropout --loadSize 512 --fineSize 512 --display_winsize 512

I GOT:

  File "C:\Users\Pichau\anaconda3\envs\py37\lib\site-packages\torch\nn\functional.py", line 1370, in linear
    ret = torch.addmm(bias, input, weight.t())
RuntimeError: size mismatch, m1: [1 x 1024], m2: [256 x 8] at C:/w/1/s/windows/pytorch/aten/src\THC/generic/THCTensorMathBlas.cu:290

Even when I specify other --which_model_netE resnet512 like junyanz sugested on the original source code, but then the code freezes and doesn't process any image.

Could you tell what networks were used to process results with the dataset 512x512 you used in the article... it seems this repo is the only one BicycleGAN repository that implemented networks that support bigger images in comparison to the 256x256...

image

NOTE: i've used the sabe dataset to train a model using the original source code, but it requires imgs to be 256* and the results are not satisfatory.

HELP PLZ <3

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

No branches or pull requests

1 participant