-
Notifications
You must be signed in to change notification settings - Fork 69
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
Error during rendering #21
Comments
如果把mask.yaml注释掉,又会有新的error: Error log:2024-02-01 22:56:16.214839 easyvolcap.runners -> <module>: Failed to import submodule volumetric_video_viewer of __init__.py:9
/DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/runners/__init__.py
╭──────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────╮
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/runners/__init__.py:6 in <module> │
│ │
│ ❱ 6 │ │ exec(f'from . import {module}') │
│ in <module>:1 │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/runners/volumetric_video_viewer.py:21 in <module> │
│ │
│ ❱ 21 from imgui_bundle import imgui_color_text_edit as ed │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'imgui_bundle'
2024-02-01 22:56:16.261401 easyvolcap.scripts.main -> preflight: Starting experiment: 4k4d_rxy_demo, command: test main.py:80
2024-02-01 easyvolca… Loading imgs bytes for data/rxy/rxy_demo/images VAL 100% ━━━━━━━━━━ 4/4 0:00:00 < 0:00:00 126.4 it/s p…
22:56:17.… ->
load_resi…
2024-02-01 22:56:19.341804 easyvolcap.utils.console_utils -> inner: Runtime exception: 'SuperChargedR4DV console_utils.py:341
is not in the samplers registry'
╭──────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────╮
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/utils/console_utils.py:338 in inner │
│ │
│ ❱ 338 │ │ │ return func(*args, **kwargs) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:56 in inner │
│ │
│ ❱ 56 │ │ return call_from_cfg(func, cfg) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:47 in call_from_cfg │
│ │
│ ❱ 47 │ return func(**call_args) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/scripts/main.py:160 in test │
│ │
│ ❱ 160 │ model: "VolumetricVideoModel" = MODELS.build(model_cfg) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:300 in build │
│ │
│ ❱ 300 │ │ return self.build_func(*args, **kwargs, registry=self) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:131 in build_from_cfg │
│ │
│ ❱ 131 │ return call_from_cfg(obj_cls, args) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:47 in call_from_cfg │
│ │
│ ❱ 47 │ return func(**call_args) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/models/volumetric_video_model.py:58 in __init__ │
│ │
│ ❱ 58 │ │ self.sampler: ImportanceSampler = SAMPLERS.build(sampler_cfg, network=self.network) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:300 in build │
│ │
│ ❱ 300 │ │ return self.build_func(*args, **kwargs, registry=self) │
│ │
│ /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py:121 in build_from_cfg │
│ │
│ ❱ 121 │ │ │ raise KeyError( │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'SuperChargedR4DV is not in the samplers registry'
*** 'SuperChargedR4DV is not in the samplers registry'
> /DATA/DATA1/rxy_code/projects/202312_demo/EasyVolcap/easyvolcap/engine/registry.py(121)build_from_cfg()
119 obj_cls = registry.get(obj_type)
120 if obj_cls is None:
--> 121 raise KeyError(
122 f'{obj_type} is not in the {registry.name} registry')
123 elif inspect.isclass(obj_type) or inspect.isfunction(obj_type): |
您好,从error log来看,是没装imgui_bundle这个包 |
但是我使用的是 |
因吹斯汀,我尝试复现一下 |
Ah,和imgui没关系,原因是你之前装过easyvolcap,需要在4k4d仓库重新跑一下 |
您好,但是这个error还是没有解决。 |
不使用mask会报: IndexError: list index out of range
2024-02-04 18:11:23.256265 easyvolcap.runners.volumet… 0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/300 0:00:02 < -:--:-- ? it/s v…
-> test_generator:
*** list index out of range
> /DATA/DATA1/rxy_code/projects/202312_demo/4K4D/easyvolcap/models/samplers/super_charged_r4dv.py(492)<listcomp>()
490 # Extract input
491 xyz = torch.stack([self.pcds[l] for l in index]) # B, N, 3
--> 492 rad = torch.stack([self.rads[l] for l in index]) # B, N, 3
493 occ = torch.stack([self.occs[l] for l in index]) # B, N, 3
494 cent = torch.stack([self.cents[l] for l in index]) # B, S, 3 |
你好,4k4d现在的代码不支持training,所以会默认load trained models,load不到就会报你注释掉mask之后的错误。 |
|
你好,我们的readme里有介绍详细的渲染流程。 |
我是按照readme做的,trained model都下载在指定路径里了TT我和readme唯一的区别就是使用了自己的数据集,所以重新写了config。 问题是在custom dataset上test pretrained model,他应该从 看起来是没有像EasyVolcap一样有inference的代码。 |
是的,4k4d是per-scene optimization方法 |
Command:
evc -t test -c configs/projects/realtime4dv/rendering/4k4d_rxy_demo.yaml,configs/specs/eval.yaml,configs/specs/spiral.yaml,configs/specs/ibr.yaml,configs/specs/vf0.yaml
Error如下:
Error log
The text was updated successfully, but these errors were encountered: