luanfujun / deep-painterly-harmonization

Code and data for paper "Deep Painterly Harmonization": https://arxiv.org/abs/1804.03189
6.08k stars 628 forks source link

error while run('filt_filt_cnn_artifact.m') #45

Open yueyefengC opened 4 years ago

yueyefengC commented 4 years ago

I ran gen_all.py and it worked well. I got a lot of pictures ,in which each type of image has ten images. Howerer,when I used run('filt_filt_cnn_artifact.m') in octave, it returned error like this:

invalid use of script /home/jeffrey/cyf/deep-painterly-harmonization-master/3rdparty/patchmatch-2.0/nnmex.m in index expression error: called from filt_cnn_artifact at line 50 column 9 run at line 86 column 5

Is someone has met this problem and solve it? Please help me ,thank you very much!