huochaitiantang / pytorch-deep-image-matting

Pytorch implementation of deep image matting
293 stars 71 forks source link

The new pretrained model released on 9th Sep caused corrupt when load #39

Closed punkcure closed 4 years ago

punkcure commented 4 years ago

The projects is corrupted when load the new pretrained model released on 9th Sep image

exition commented 4 years ago

me too , wrong encoded pth file

xiaoqiangsheng2016 commented 4 years ago

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 5: invalid continuation byte

me too

huochaitiantang commented 4 years ago

Hey guys, the bug is fixed now, and the patch is upstreamed! Please see: https://github.com/huochaitiantang/pytorch-deep-image-matting/blob/f5f909dba65c6538b38b23190af5eb5665b518be/core/demo.py#L10-L31