Skip to content

Commit

Permalink
[Fix] fix smpl stream client face request issue (#139)
Browse files Browse the repository at this point in the history
The smpl stream client incorrectly parsed face bytes as a float list.
  • Loading branch information
WYK96 authored Aug 10, 2023
1 parent 06dc167 commit ae626f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xrmocap/client/smpl_stream_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _parse_get_faces_response(self, data: Union[dict,
if self.enable_gzip:
bin_data = gzip.decompress(bin_data)
faces_list = np.frombuffer(
bin_data, dtype=np.float16).reshape((-1, 3)).tolist()
bin_data, dtype=np.int32).reshape((-1, 3)).tolist()
else:
faces_list = data['faces']
return faces_list
Expand Down

0 comments on commit ae626f4

Please sign in to comment.