Hzzone / pytorch-openpose

pytorch implementation of openpose including Hand and Body Pose Estimation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

TJ2333 opened this issue · comments

Dose anyone got the same error as i do?I cant figure out how to solve it ,can anyone help me

你好,请问你解决这个问题了吗?我看应该是缺少ffprobe_result.json这个文件导致的,但是我找不到这个文件

It is caused by the ffmpeg. You may refer to https://stackoverflow.com/a/63977043

maybe you should write it like this
json_file_path = "xxx" with open(json_file_path, 'r') as j: contents = json.loads(j.read())

not this
contents = json.loads(json_file_path)

pip install ffmpeg-python