PeterL1n / RobustVideoMatting

Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
https://peterl1n.github.io/RobustVideoMatting/
GNU General Public License v3.0
8.61k stars 1.14k forks source link

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 2 #165

Open YPeking opened 2 years ago

YPeking commented 2 years ago

感谢您开源了这么强大的视频抠像的项目,我实际运行的时候遇到一个报错一直解决不了,还麻烦您给看一下: Thank you for open source this project about video matting, I meet a error when run the code, Can you see how to solve this error:

File "E:\3_project\13_RVM\RobustVideoMatting-master\test.py", line 12, in convert_video( File "E:\3_project\13_RVM\RobustVideoMatting-master\inference.py", line 68, in convert_video source = VideoReader(input_source, transform) File "E:\3_project\13_RVM\RobustVideoMatting-master\inference_utils.py", line 15, in init self.video = pims.PyAVVideoReader(path) File "D:\Anaconda3\minconda\envs\rvm_env\lib\site-packages\pims\pyav_reader.py", line 116, in init self._container = av.open(self.file, format=self.format) File "av\container\core.pyx", line 355, in av.container.core.open File "av\container\input.pyx", line 68, in av.container.input.InputContainer.cinit File "av\stream.pyx", line 50, in av.stream.wrap_stream File "av\stream.pyx", line 83, in av.stream.Stream._init File "av\utils.pyx", line 26, in av.utils.avdict_to_dict File "av\utils.pyx", line 14, in av.utils._decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 2: invalid start byte

如果其他人了解怎样解决这个问题,请一定告诉我,谢谢~! if anyone know how to solve this error, Please Help Me!!! 3ks