Skip to content

KeyError: 'scaled_focal_length is not a file in the archive' #176

@NXZXH

Description

@NXZXH

(4D-humans3) root@autodl-container-30ee479a6b-a81e037b:~/autodl-tmp/4D-Humans-champ# python -m scripts.data_processors.smpl.smpl_transfer --reference_path /root/autodl-tmp/4D-Humans-champ/reference_imgs/smpl_results/ref_img_A.npy --driving_path /root/autodl-tmp/4D-Humans-champ/driving_videos/Video_1 --output_folder transferd_result --figure_transfer --view_transfer
/root/miniconda3/envs/4D-humans3/lib/python3.10/site-packages/timm/models/layers/init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning)
Lightning automatically upgraded your loaded checkpoint from v1.8.1 to v2.5.0.post0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint ../../.cache/4DHumans/logs/train/multiruns/hmr2/0/checkpoints/epoch=35-step=1000000.ckpt
['images', 'smpl_results']
Traceback (most recent call last):
File "/root/miniconda3/envs/4D-humans3/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/miniconda3/envs/4D-humans3/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/root/autodl-tmp/4D-Humans-champ/scripts/data_processors/smpl/smpl_transfer.py", line 109, in
zip(result_dict_list["smpl"], result_dict_list["camera"], result_dict_list["scaled_focal_length"], driving_paths)
File "/root/miniconda3/envs/4D-humans3/lib/python3.10/site-packages/numpy/lib/npyio.py", line 260, in getitem
raise KeyError("%s is not a file in the archive" % key)
KeyError: 'scaled_focal_length is not a file in the archive'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions