-
Notifications
You must be signed in to change notification settings - Fork 76
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
AttributeError: 'Struct' object has no attribute 'hands_componentsl' #66
Comments
When I perform the command "sh slurm_inference.sh test_video mp4 24 smpler_x_h32" which use the orginal code
|
When I perform the command "sh slurm_inference.sh test_video mp4 24 smpler_x_h32" which use python command
python inference.py \ --num_gpus ${GPUS_PER_NODE} \ --exp_name output/demo_${JOB_NAME} \ --pretrained_model ${CKPT} \ --agora_benchmark agora_model \ --img_path ${IMG_PATH} \ --start 1 \ --end $end_count \ --output_folder ${SAVE_DIR} \ --show_verts \ --show_bbox \ --save_mesh \
, the fault is persent.
`Traceback (most recent call last):
File "inference.py", line 188, in
main()
File "inference.py", line 55, in main
from base import Demoer
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/base.py", line 11, in
from SMPLer_X import get_model
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../main/SMPLer_X.py", line 4, in
from nets.smpler_x import PositionNet, HandRotationNet, FaceRegressor, BoxNet, HandRoI, BodyRotationNet
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/nets/smpler_x.py", line 6, in
from utils.human_models import smpl_x
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/utils/human_models.py", line 175, in
smpl_x = SMPLX()
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/utils/human_models.py", line 11, in init
self.layer = {'neutral': smplx.create(cfg.human_model_path, 'smplx', gender='NEUTRAL', use_pca=False, use_face_contour=True, **self.layer_arg),
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/utils/smplx/smplx/body_models.py", line 2325, in create
return SMPLX(model_path, **kwargs)
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/utils/smplx/smplx/body_models.py", line 914, in init
super(SMPLX, self).init(
File "/data/zyli/3Dmesh_attack/SMPLer-X/main/../common/utils/smplx/smplx/body_models.py", line 579, in init
left_hand_components = data_struct.hands_componentsl[:num_pca_comps]
AttributeError: 'Struct' object has no attribute 'hands_componentsl'
ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7.3.0 (crosstool-NG 1.23.0.449-a04d0)
configuration: --prefix=/opt/conda/conda-bld/ffmpeg_1597178665428/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh --cc=/opt/conda/conda-bld/ffmpeg_1597178665428/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-pic --enable-pthreads --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libmp3lame
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[image2 @ 0x559bb4687cc0] Could find no file with path '../demo/results/test_video/img/%06d.jpg' and index in the range 0-4
../demo/results/test_video/img/%06d.jpg: No such file or directory`
Please help me, how to solve this problem.
The text was updated successfully, but these errors were encountered: