chungyiweng / humannerf

HumanNeRF turns a monocular video of moving people into a 360 free-viewpoint video.
MIT License
786 stars 86 forks source link

AttributeError:primary_gpus in rendering output phase #64

Closed coxedap closed 1 year ago

coxedap commented 1 year ago

So when i ran the command:

python run.py \ --type movement \ --cfg configs/human_nerf/zju_mocap/387/adventure.yaml

i got this error:

------------------ GPU Configurations ------------------ Traceback (most recent call last): File "D:\PJ_Folder\HumanNerf\humannerf-main\run.py", line 7, in from core.data import create_dataloader File "D:\PJ_Folder\HumanNerf\humannerf-main\core\data__init.py", line 1, in from .create_dataset import create_dataset, create_dataloader File "D:\PJ_Folder\HumanNerf\humannerf-main\core\data\create_dataset.py", line 9, in from configs import cfg File "D:\PJ_Folder\HumanNerf\humannerf-main\configs\init.py", line 1, in from .config import cfg, args File "D:\PJ_Folder\HumanNerf\humannerf-main\configs\config.py", line 71, in cfg = make_cfg(args) File "D:\PJ_Folder\HumanNerf\humannerf-main\configs\config.py", line 60, in make_cfg determine_primary_secondary_gpus(cfg) File "D:\PJ_Folder\HumanNerf\humannerf-main\configs\config.py", line 48, in determine_primary_secondary_gpus
print(f"Primary GPUs: {cfg.primary_gpus}") File "D:\PJ_Folder\HumanNerf\humannerf-main\third_parties\yacs\yacs.py", line 115, in
getattr__ raise AttributeError(name) AttributeError: primary_gpus Screenshot 2023-03-27 183515

Are there any ways to fix this? Hope to hear from you soon. Thanks alot in advance.