Open eyaler opened 2 years ago
Thanks for sharing this. However the upload image button seems broken to me.
Also, when I try replacing the sample images with my onw, i run into this error: error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
any idea?
works for me. this error may be due to manual upload of files that was not complete
Has anyone managed to solve this? I get the same problem while running this in google colab. Even if I use the exact same input data from the examples it doesn't do anything.
It has problems running the "final_im = cv2.imread(final)" line because there is no final file to read. In this case it would be "results/rushmore_final_res.png". But the results folder is completely empty.
You guys asked for it! building on @marcduda 's efforts, here is a 2022 fully working colab with minimal GUI. it can also calculate the mask for you - just upload the naive and target images and play with the style weight (as the wikiart predictor was never released afaiu). https://colab.research.google.com/gist/eyaler/5303782669fb43510d398bd346c6e3e6/deep-painterly-harmonization.ipynb