caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"
https://caizhongang.github.io/projects/SMPLer-X/
Other
1.01k stars 73 forks source link

ModuleNotFoundError: No module named 'utils.inference_utils' #39

Closed sebastianopazo1 closed 10 months ago

sebastianopazo1 commented 10 months ago

Hi! I'm having some trouble when trying to inference over a video. I'm using the inference.py script, but in the console I obtain the following error:

/home/seba/anaconda3/envs/smplerx/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details. warnings.warn( Traceback (most recent call last): File "main/inference.py", line 18, in from utils.inference_utils import process_mmdet_results, non_max_suppression ModuleNotFoundError: No module named 'utils.inference_utils'

I followed the instructions to setup the environment as appears in the readme file. The command I used is as follows. python main/inference.py --num_gpus 1 --pretrained_model smpler_x_s32 --agora_benchmark agora_model --image_path ./demo/images --start 1 --end 453 --output_folder ./demo/results/salida.mp4 --show_verts --show_bbox

Thanks for your help!