volotat / ConGAN

Continious Generative Adversarial Network
MIT License
44 stars 9 forks source link

OSError: cannot open resource #3

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi, great work on this I am getting this OSError while running this in google colab python3 gpu

screen shot 2019-01-02 at 8 37 34 pm

ghost commented 5 years ago

fixed by adding arial.tff font to repo

Hunter8moon commented 5 years ago

how to add a font?

ghost commented 5 years ago

search for arial.tff and download and upload or you can clone my fork which already has it

Hunter8moon commented 5 years ago

Thanks, all worked well. There is another question - how to run a trained network? I trained her, but the new launch repeats the training. How to save progress?

Hunter8moon commented 5 years ago

And how to remove the numbers from the output? Thanks for attention)

ghost commented 5 years ago

not sure I understand you can change save interval, which is set to 500, and it already saves the model right now.

also try commenting out these lines for the numbers in congan.py

d = ImageDraw.Draw(im) d.text((10,10), "{:.2f}".format(val) , font=fnt, fill=(255,255,255,255))
d.text((11,11), "{:.2f}".format(val) , font=fnt, fill=(0,0,0,255))