-
Notifications
You must be signed in to change notification settings - Fork 14
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
Getting gray image when I try to run prediction #2
Comments
Can you refer to Predict.ipynb for running a pre-trained model? If it is still gray image, you may want to train more. |
I am now using the pre-trained weights from the original model, ported on your generator; however, I am still getting a completely gray image. I follow the instructions from Predict.ipynb to the book but it seems that the output of the model is just a homogeneous matrix with 0.4 values everywhere, hence the blank image. Layer 48: In order to successfully port the weights, in spite of this, I reshaped the original weights to fit into your model. But maybe the root of this discrepancy is the cause of the blank result? |
I have the same problem. Have you solved it now? thanks |
I never solved it with this implementation. A colleague of mine ended up making another implementation on PyTorch; you may use that one: |
Thank you |
I'm trying to test if I can run this model correctly. I have gone through the preprocess step and tried to train for 3 epochs just to see that it runs; however, when I load the model state to check what it predicts I get completely gray images. Obviously 3 epochs is too low for training, but is it normal to get completely homogeneous gray images?
The text was updated successfully, but these errors were encountered: