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
module 'models.networks' has no attribute 'modify_commandline_options' #16
Comments
I have the same problem. |
copy the whole 'sync_batchnorm' folder to the 'networks' folder, but not only replace the files. |
This copy action is also mentioned in the installation procedure right? Already did this but still get the AttributeError... |
yes,it's already mentioned. have u fixed it?what's the whole error information? |
yes,it's already mentioned. have u fixed it?what's the whole error information?
yes,it's already mentioned. have u fixed it?what's the whole error information? |
Any fix? |
any fix? |
Any Fix ? |
Ok I've got it. Just cp the whole sync_batchnorm folder to models\networks, not the files in it |
When I run "python test.py --name coco_pretrained --dataset_mode coco --dataroot H:\datasets\COCO\train"
Traceback (most recent call last):
File "test.py", line 15, in
opt = TestOptions().parse()
File "H:\SPADE-master\options\base_options.py", line 150, in parse
opt = self.gather_options()
File "H:\SPADE-master\options\base_options.py", line 85, in gather_options
parser = model_option_setter(parser, self.isTrain)
File "H:\SPADE-master\models\pix2pix_model.py", line 14, in modify_commandline_options
networks.modify_commandline_options(parser, is_train)
AttributeError: module 'models.networks' has no attribute 'modify_commandline_options'
how can i fix that?thx
The text was updated successfully, but these errors were encountered: