QLYoo / LFPNet

GNU General Public License v3.0
42 stars 10 forks source link

about eval.py problem #11

Open zhanghongyong123456 opened 2 years ago

zhanghongyong123456 commented 2 years ago

I have two questions for you 1.How to obtain trimap, generally can only provide a merge image, trimap how to obtain
image

2.It takes about 180s for me to test a picture, (I'm not sure if there is an error),can I increase the speed to achieve real-time speed, fps60 or fps30 image

Windaway commented 2 years ago

1 You can use Paint.NET to generate trimap. https://www.youtube.com/watch?v=gl1XOAuMckM&ab_channel=MarcoForte 2 Yes, LFPNet is very slow. It takes about 20 hours to evaluate LFPNet on the Adobe 1K dataset. You may study how to accelerate this framework.

zhanghongyong123456 commented 2 years ago

1 You can use Paint.NET to generate trimap. https://www.youtube.com/watch?v=gl1XOAuMckM&ab_channel=MarcoForte 2 Yes, LFPNet is very slow. It takes about 20 hours to evaluate LFPNet on the Adobe 1K dataset. You may study how to accelerate this framework.

ok,Thank you for your reply, I would like to ask if there are any corresponding measures to improve the speed

Windaway commented 2 years ago

You can infer the patches with unknown regions.