caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"

Home Page:https://caizhongang.github.io/projects/SMPLer-X/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'utils.inference_utils'

sebastianopazo1 opened this issue · comments

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!