ShijieZhou-UCLA / feature-3dgs

[CVPR 2024 Highlight] Feature 3DGS: Supercharging 3D Gaussian Splatting to Enable Distilled Feature Fields
Other
381 stars 25 forks source link

Errors when running 'render.py' #12

Closed Neal2020GitHub closed 3 months ago

Neal2020GitHub commented 7 months ago
Traceback (most recent call last):
  File "render.py", line 390, in <module>
    args.video, args.edit_config, args.novel_video, args.multi_interpolate, args.num_views) ###
  File "render.py", line 356, in render_sets
    render_set(dataset.model_path, "test", scene.loaded_iter, scene.getTestCameras(), gaussians, pipeline, background, edit_config, dataset.speedup)
  File "render.py", line 114, in render_set
    gt_feature_map = views[0].semantic_feature.cuda()
IndexError: list index out of range
ShijieZhou-UCLA commented 6 months ago

Hi @Neal2020GitHub! I would suggest you check the folder path and make sure it is correct!

jamesheatonrdm commented 6 months ago

I have had this issue. It seems as if the test set is not created correctly. You can get around this and just use the train set with the flag --skip_test