quolc / neural-collage

Collaging on Internal Representations: An Intuitive Approach for Semantic Transfiguration
MIT License
566 stars 89 forks source link

could you show more detail about how to use two demos? #3

Closed zychen2016 closed 5 years ago

zychen2016 commented 5 years ago

Hi! First, type your code python3 demo_spatial_translation.py --config ./configs/sn_projection_dog_and_cat_256_scbn.yml --gen_model ./sn_projection_dog_and_cat_256/ResNetGenerator_450000.npz --gpu 0 image

Then, I use GPU clusters, so that I only can open browser use command line. For example, user@user:opera, Then X11 will open. image But how to load image in that page? Thanks.

zychen2016 commented 5 years ago

could you show me more about how to use the demo? Mouse pressed the button,but could'nt load the image.

quolc commented 5 years ago

Sorry for late reply.

If the script was correctly loaded, class names (e.g., Chihuahua) will appear in the select box under "Select base class".

2018-12-17 15 56 14

Then images can be generated by pushing the "Generate" button after selecting a desired class.

2018-12-17 15 56 50

I suspect that the js of demo does not work correctly in your environment. Please could you provide the error messages shown in your browser's js (developer) console?