lisiyao21 / AnimeInbet

Code and data for ICCV23 work "Deep Geometrized Cartoon Line Inbetweening"
308 stars 22 forks source link

Some questions about the Inbetweened results | 关于输出结果的一些问题 #15

Open KyoiLin opened 7 months ago

KyoiLin commented 7 months ago

I run the code "python -u main.py --config cr_inbetweener_full.yaml --test" for test the whole inbetweening pipeline, and I got the inbetweened results (one picture with eight sub-pictures), but I'm not sure if these results are correct. Can you provide some explanation of the results?


你好!非常感谢你的工作!我运行"python -u main.py --config cr_inbetweener_full.yaml --test"得到了测试结果,但是我不太清楚这个结果具体代表了什么,请问可以说明一下吗?谢谢!

Line0013

yowamushi-oonaki commented 6 months ago

Excuse me! I tried running "python -u main.py --config cr_inbetweener_full.yaml --test" and got the error "main.py: error: one of the arguments --train --eval --gen is I get an error "main.py: error: one of the arguments --train --eval --gen is required". Did you change the contents of "main.py" or "cr_inbetweener_full" when you ran it? I would appreciate it if you could tell me.

KyoiLin commented 6 months ago

Excuse me! I tried running "python -u main.py --config cr_inbetweener_full.yaml --test" and got the error "main.py: error: one of the arguments --train --eval --gen is I get an error "main.py: error: one of the arguments --train --eval --gen is required". Did you change the contents of "main.py" or "cr_inbetweener_full" when you ran it? I would appreciate it if you could tell me.

@yowamushi-oonaki I used "python -u main.py --config cr_inbetweener_full.yaml --eval". The "test" function under the VtxMat class in the vtx_matching.py file has been changed to the "eval" function, I think it's maybe the auther forget to change it in README. (www I hope this helps!

yowamushi-oonaki commented 6 months ago

@KyoiLin

Sorry for the late reply. It was taking a long time to complete on my machine. Thanks to your help we were able to execute it successfully! I appreciate you so much.

Again I have to ask, how do I get an image like the one you have posted at the very beginning of this conversation? ". /inbetween_results/test_gap=5 folder" and I couldn't find any images.

Sorry for asking this question to you.

KyoiLin commented 6 months ago

Sorry for the late reply. It was taking a long time to complete on my machine. Thanks to your help we were able to execute it successfully! I appreciate you so much.

Again I have to ask, how do I get an image like the one you have posted at the very beginning of this conversation? ". /inbetween_results/test_gap=5 folder" and I couldn't find any images.

Sorry for asking this question to you.

@yowamushi-oonaki The path where the file is saved is determined by the first variable of the function "cv2.imwrite" on line 251 of file "vtx_matching.py". You can change the path or check the path if it is invalid. I hope this helps!