ValueError: 没有设置language feature
Zhaooyy opened this issue · 2 comments
When I run the render.py using python render.py -m output/$CASENAME --include_feature
, I got this error:
Traceback (most recent call last): File "render.py", line 96, in <module> render_sets(model.extract(args), args.iteration, pipeline.extract(args), args.skip_train, args.skip_test, args) File "render.py", line 69, in render_sets render_set(dataset.model_path, dataset.source_path, "train", scene.loaded_iter, scene.getTrainCameras(), gaussians, pipeline, background, args) File "render.py", line 39, in render_set output = render(view, gaussians, pipeline, background, args) File "/data/data_ext1/zyy/LangSplat/gaussian_renderer/__init__.py", line 87, in render language_feature_precomp = pc.get_language_feature File "/data/data_ext1/zyy/LangSplat/scene/gaussian_model.py", line 161, in get_language_feature raise ValueError('没有设置language feature') ValueError: 没有设置language feature
But I've already set the arguement: self._language_features_name = "language_features_dim3"
What should i do to set language feature correctly?
When I run the render.py using
python render.py -m output/$CASENAME --include_feature
, I got this error:
Traceback (most recent call last): File "render.py", line 96, in <module> render_sets(model.extract(args), args.iteration, pipeline.extract(args), args.skip_train, args.skip_test, args) File "render.py", line 69, in render_sets render_set(dataset.model_path, dataset.source_path, "train", scene.loaded_iter, scene.getTrainCameras(), gaussians, pipeline, background, args) File "render.py", line 39, in render_set output = render(view, gaussians, pipeline, background, args) File "/data/data_ext1/zyy/LangSplat/gaussian_renderer/__init__.py", line 87, in render language_feature_precomp = pc.get_language_feature File "/data/data_ext1/zyy/LangSplat/scene/gaussian_model.py", line 161, in get_language_feature raise ValueError('没有设置language feature') ValueError: 没有设置language feature
But I've already set the arguement:
self._language_features_name = "language_features_dim3"
What should i do to set language feature correctly?
I changed the setting in gaussian_model.py:
# self._language_feature = None self._language_feature = torch.empty(0)
it change the error to:
Traceback (most recent call last): File "render.py", line 98, in <module> render_sets(model.extract(args), args.iteration, pipeline.extract(args), args.skip_train, args.skip_test, args) File "render.py", line 71, in render_sets render_set(dataset.model_path, dataset.source_path, "train", scene.loaded_iter, scene.getTrainCameras(), gaussians, pipeline, background, args) File "render.py", line 41, in render_set output = render(view, gaussians, pipeline, background, args) File "/data/data_ext1/zyy/LangSplat/gaussian_renderer/__init__.py", line 114, in render "visibility_filter" : radii > 0, RuntimeError: CUDA error: an illegal memory access was encountered Compile with
TORCH_USE_CUDA_DSA to enable device-side assertions.
And it doesn't improve by set ~/.bashrc, what can I do