You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "utils.py" line 286, in create_transformed_brush
brush_alpha = (brush_alpha > 0).astype(np.float32)
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Hi @liuzu604, it seems the stroke files were not loaded correctly. Can you first cd to the repo dir and then run your command? Please let me know whether it works. Thanks!
Hi @jiupinjia ,Maybe it's my download problem. I didn't download stroke files from Google Drive , but from Baidu online disk of other bloggers. When I replace "--renderer oilpaintbrush" with "--renderer watercolor" , it can work normally.
Hi, The program I run returned an error message:
File "utils.py" line 286, in create_transformed_brush
brush_alpha = (brush_alpha > 0).astype(np.float32)
TypeError: '>' not supported between instances of 'NoneType' and 'int'
command:
python ../stylized-neural-painting/demo_prog.py --img_path ../stylized-neural-painting/test_images/apple.jpg --canvas_color 'white' --max_m_strokes 500 --max_divide 5 --renderer oilpaintbrush --renderer_checkpoint_dir ../stylized-neural-painting/checkpoints_G_oilpaintbrush --net_G zou-fusion-net
The text was updated successfully, but these errors were encountered: