jiupinjia / stylized-neural-painting

Official Pytorch implementation of the preprint paper "Stylized Neural Painting", in CVPR 2021.
https://jiupinjia.github.io/neuralpainter/
Creative Commons Zero v1.0 Universal
1.56k stars 262 forks source link

pre-trained renderer does not exist... #44

Open 0x-49 opened 2 years ago

0x-49 commented 2 years ago

this is thrown when I run the command python demo_prog.py --img_path ./test_images/diamond.jpg --canvas_color 'black' --max_m_strokes 500 --max_divide 5 --renderer markerpen --renderer_checkpoint_dir checkpoints_G_markerpen --net_G zou-fusion-net --disable_preview

jiupinjia commented 2 years ago

Hi @MaximeYao, thanks for your feedback. Did you download the pre-trained renderers and unzipped them to the repo folder correctly?

WeiDante commented 2 years ago

i did is, this is just for show i gess

takax2021 commented 2 years ago

Colab notebook fails to download pre-trained data.

zip from Google Drive is not correct zip file. It only contains html text. "Google Drive - Virus scan warning"

takax2021 commented 2 years ago

I have added "confirm=t" to request parameters. It works now.

response = session.get(URL, params = { 'id' : id, 'confirm' : 't' },