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

train problem #18

Open
hematank opened this issue Sep 4, 2021 · 4 comments
Open

train problem #18

hematank opened this issue Sep 4, 2021 · 4 comments

Comments

@hematank
Copy link

hematank commented Sep 4, 2021

when i train, i can't find train_pairs.txt in ./Data_preprocessing directory?

@minar09
Copy link
Owner

minar09 commented Sep 5, 2021

Added now. Please check. Thanks.

@hematank
Copy link
Author

hematank commented Sep 6, 2021

thank you, it works. But when i continue to train, i happened this error.
"File "/mnt/leo/3d-try-on/ACGPN/models/pix2pixHD_model.py", line 363, in forward
fake_c = fake_c*(1-mask)+mask*warped"
"The size of tensor a (3) must match the size of tensor b (4) at non-singleton dimension 1。"
train script is below:
python train.py --datapairs train_pairs.txt --phase train --batchSize 4 --gpu_ids 0

@minar09
Copy link
Owner

minar09 commented Sep 7, 2021

Hi @hematank, sorry to say that I only used this repository for testing purpose. Please refer to the original repo (https://github.com/switchablenorms/DeepFashion_Try_On) for training. Thank you.

@hematank
Copy link
Author

hematank commented Sep 7, 2021

ok,thanks a lot. i just try DeepFashion_Try_On's training and it works. But i am still confused about the meaning of dataset directory such as train_color_mask、train_label(it shows all black)、train_mask.

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

2 participants