-
Notifications
You must be signed in to change notification settings - Fork 12
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
how to model testing? #11
Comments
I have the same problem now. Have you solved it ? |
me too |
Have you solved this problem? Can you share how to test it? |
Have you solved this problem? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using pre-learned data, we learned custom data through train.py and saved two types of .pth files.
How should I proceed with the test?
Total number of parameters: 186007263
2023-06-09 13:35:00.785 | INFO | models.PDGAN:init:82 - ---------- Networks initialized Done-------------
2023-06-09 13:35:00.785 | INFO | models.PDGAN:init:86 - Loading pre-trained network PDGAN! You choose the results of 120 epoch
Traceback (most recent call last):
File "test.py", line 20, in
model = create_model(cfg)
File "/home/epozen/PD-GAN/models/models.py", line 13, in create_model
model = PDGAN(cfg)
File "/home/epozen/PD-GAN/models/PDGAN.py", line 89, in init
self.load_networks(cfg.which_epoch)
File "/home/epozen/PD-GAN/models/base_model.py", line 84, in load_networks
print(getattr(self, "optimizer_" + name))
AttributeError: 'PDGAN' object has no attribute 'optimizer_PDGAN'
The following error occurs when proceeding with the [python test.py] command.
The text was updated successfully, but these errors were encountered: