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

Loading Checkpoints for Inference #14

Open
tommycwh opened this issue Jan 13, 2023 · 0 comments
Open

Loading Checkpoints for Inference #14

tommycwh opened this issue Jan 13, 2023 · 0 comments

Comments

@tommycwh
Copy link

I tried to load the provided pretrained weights on CelebA dataset to give predictions about the sample images from the folder examples/celeba. However, it says that the pretrained weights do not match with the network structures.

...
testing images = 2000                                                                           
model [TC] was created                                                                     
creating web directory ./results/celeba_styleD/test_latest                               
loading the model from ./checkpoints/celeba_styleD/celeba_styleD/latest_net_E.pth                                                 
Pretrained network E is unmatched                                        
loading the model from ./checkpoints/celeba_styleD/celeba_styleD/latest_net_G.pth                                 
Pretrained network G is unmatched                                                          
loading the model from ./checkpoints/celeba_styleD/celeba_styleD/latest_net_D.pth                                                      
Pretrained network D is unmatched                                           
loading the model from ./checkpoints/celeba_styleD/celeba_styleD/latest_net_T.pth                                                        
Pretrained network T is unmatched                                                         
---------- Networks initialized -------------    
...

Is this expected and would this affect the prediction?

In fact, the predictions I got are not reasonable, for example:

celeba_HQ_test_212_0

Thank you very much for your 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

1 participant