Deleted
Deleted
Deleted
Hi, @Stefan_Persson!
in your implementation of MicroStyleGANGeneratorBlock class instead of
if self.use_upsample:
self.upsample = nn.Upsample(size=(starting_size,starting_size), mode=‘bilinear’)
try
if self.use_upsample:
self.upsample = nn.Upsample(starting_size, mode=‘bilinear’)
This is the first significant error that I found. There may be more. Please try this first and share the outcome.
PS. For your future reference, sharing the code implementation in a public thread isn’t recommended.
Kind regards,
DK.
Thank you Dmitriy_KhvanGANS Mentor
I have made your change. The error is still the same.
Good. In InjectNoise class instead of torch.randn(1,channels,1,1)
try torch.randn((1,channels,1,1))
.
Thank you Dmitriy_KhvanGANS Mentor
I have changed to torch.randn((1,channels,1,1)) in InjectNoise class and it is still the same.
Hi Stefan!
I request you not to upload your code ( Kindly delete it ). If you are having serious trouble completing your assignment, share your notebook with any of the mentors through private chat.
@Stefan_Persson can you send me your notebook via private chat?
Dmitriy_KhvanGANS Mentor
Where is the chat function? I posted it here, since I did not find any.
Please click on my tag and a pop-up with Message button will appear.
The notebook well received, troubleshooting via private chat.
Resolved.