-
Notifications
You must be signed in to change notification settings - Fork 54
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
Evaluation Error #72
Comments
I'm having the same issue, did you fix it? |
no,do you have any idea? |
This problem has been bothering me for a long time, and I can't solve it either
***@***.***
***@***.***
…---- Replied Message ----
From ***@***.***> Date 08/22/2023 15:32 To ***@***.***> Cc ***@***.***>***@***.***> Subject Re: [cmusatyalab/mega-nerf] Evaluation Error (Issue #72)
I'm having the same issue, did you fix it?
no,do you have any idea?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
This answer maybe help you, just fix the config's setting |
Thank you very much! It works for me. |
Traceback (most recent call last):
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/eval.py", line 30, in
main(_get_eval_opts())
File "/share/home/drliuqi/anaconda3/envs/mega-nerf/lib/python3.9/site-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 345, in wrapper
return f(*args, **kwargs)
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/eval.py", line 26, in main
Runner(hparams).eval()
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/runner.py", line 323, in eval
val_metrics = self._run_validation(0)
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/runner.py", line 427, in _run_validation
results, _ = self.render_image(metadata_item)
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/runner.py", line 587, in render_image
result_batch, _ = render_rays(nerf=nerf, bg_nerf=bg_nerf,
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/rendering.py", line 88, in render_rays
results = _get_results(nerf=nerf,
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/rendering.py", line 195, in _get_results
_inference(results=results,
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/rendering.py", line 324, in _inference
model_chunk = nerf(typ == 'coarse', xyz_chunk, sigma_noise=sigma_noise)
File "/share/home/drliuqi/anaconda3/envs/mega-nerf/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/share/home/drliuqi/gjf/3D-Reconstruction/mega-nerf-main/mega_nerf/models/mega_nerf.py", line 22, in forward
cluster_distances = torch.cdist(x[:, self.cluster_dim_start:3], self.centroids[:, self.cluster_dim_start:])
TypeError: 'bool' object is not subscriptable
can you help me?thanks!
The text was updated successfully, but these errors were encountered: