vishal3477 / Reverse_Engineering_GMs

Official Pytorch implementation of paper "Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images"
138 stars 19 forks source link

NameError: name 'out9hL4' is not defined #8

Closed ssablak closed 3 years ago

ssablak commented 3 years ago

@vishal3477 It gives the following error.

out9hL4

vishal3477 commented 3 years ago

There was a typo in variable. Could you please try again with the updated code?

ssablak commented 3 years ago

@vishal3477 now it complains as NameError: name 'out9hL7' is not defined

ssablak commented 3 years ago

I fixed the problem in **encoder_rev_eng.py" as below line

return outn1, outn2 ,outn3, outn4, outn5, outn6, outn7, out3L1, out3L2, out3L3, outh9L1, outh9L2, outh9L3, outh9L4, outh9L5, outh9L6, outh9L7, outh9L8