PeterL1n / BackgroundMattingV2

Real-Time High-Resolution Background Matting
MIT License
6.81k stars 950 forks source link

bug #196

Open fenneishi opened 1 year ago

fenneishi commented 1 year ago

https://github.com/PeterL1n/BackgroundMattingV2/blob/220003663d72b9bab207398217680ea1d22db0fe/train_refine.py#L262 kornia.resize(pred_pha_sm.detach(), true_pha_lg.shape[2:]).sub(true_pha_lg).abs())