Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Support for newer Python: Remove pickle5 dependency and Update mmcv maximum version #366

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion mmhuman3d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def digit_version(version_str):


mmcv_minimum_version = '1.3.17'
mmcv_maximum_version = '1.8.0'
mmcv_maximum_version = '2.0.0'
mmcv_version = digit_version(mmcv.__version__)


Expand Down
2 changes: 1 addition & 1 deletion mmhuman3d/data/data_converters/agora.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os
import pickle
from typing import List, Tuple

import cv2
import numpy as np
import pickle5 as pickle
from tqdm import tqdm

from mmhuman3d.core.conventions.keypoints_mapping import convert_kps
Expand Down
1 change: 0 additions & 1 deletion requirements/runtime.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ matplotlib
numpy<1.24
opencv-python
pandas<2.0.0
pickle5
plyfile
rtree
scikit-image
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ multi_line_output = 3
include_trailing_comma = true
known_standard_library = pkg_resources,setuptools
known_first_party = mmhuman3d
known_third_party = PIL,cdflib,colormap,cv2,einops,h5py,matplotlib,mmcv,mpl_toolkits,numpy,openpifpaf,pickle5,plyfile,pytest,pytorch3d,pytorch_sphinx_theme,scipy,skimage,smplx,surrogate,torch,tqdm,trimesh,vedo
known_third_party = PIL,cdflib,colormap,cv2,einops,h5py,matplotlib,mmcv,mpl_toolkits,numpy,openpifpaf,plyfile,pytest,pytorch3d,pytorch_sphinx_theme,scipy,skimage,smplx,surrogate,torch,tqdm,trimesh,vedo
no_lines_before = STDLIB,LOCALFOLDER
default_section = THIRDPARTY
Loading