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
you can generate trimaps by using cv2.dilate and cv2.erode on alpha(only two value 0&255). Then, you need to merge fg and bg, and save it. Finally, use the generate_imlist.py to generate train.txt and test.txt.
hello,
i want to train my own dataset to generate indexnet_matting.pth.tar .
what do i have to do ? i see first trimaps are needed, do you have a complete matting project that generates trimaps then runs training ?
or how do i first generate these trimaps ?
Thanks
The text was updated successfully, but these errors were encountered: