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

can not save models for mapping_train #233

Open
wanna69 opened this issue May 27, 2022 · 2 comments
Open

can not save models for mapping_train #233

wanna69 opened this issue May 27, 2022 · 2 comments

Comments

@wanna69
Copy link

wanna69 commented May 27, 2022

When I run train_mapping.py, the loss_log.txt and iter.txt are normal,but can not save models for mapping

@CodeMadUser
Copy link

When I run train_mapping.py, the loss_log.txt and iter.txt are normal,but can not save models for mapping

hello,do you run train_domain_B.py?
how do you solve the error? could you share with me ? thank you .
Traceback (most recent call last):
File "train_domain_B.py", line 48, in
model = create_model(opt)
File "D:\pythonProject\6_18\BringOldBack\Global\models\models.py", line 17, in create_model
model.initialize(opt)
File "D:\pythonProject\6_18\BringOldBack\Global\models\pix2pixHD_model.py", line 40, in initialize
opt.n_blocks_local, opt.norm, gpu_ids=self.gpu_ids, opt=opt)
File "D:\pythonProject\6_18\BringOldBack\Global\models\networks.py", line 60, in define_G
netG = GlobalGenerator_v2(input_nc, output_nc, ngf, k_size, n_downsample_global, n_blocks_global, norm_layer, opt=opt)
NameError: name 'GlobalGenerator_v2' is not defined

@PhanThanhTrung
Copy link

@wanna69 I made a pull request to solve this problem in #232. I hope it would help.

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

3 participants