Skip to content
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

How can I visualize the test results? #81

Open
clawCa opened this issue Oct 7, 2024 · 1 comment
Open

How can I visualize the test results? #81

clawCa opened this issue Oct 7, 2024 · 1 comment

Comments

@clawCa
Copy link

clawCa commented Oct 7, 2024

Thank you for your outstanding work.
I converted my dataset using the S3DIS preprocessing script and trained the model. After converting the model with fix_spconv_checkpoint.py, the test program gives an error when I select any parameter for the --task(choices=[ 'mono_det', 'multi-view_det', 'lidar_det', 'lidar_seg', 'multi-modality_det' ],). It seems this parameter is necessary for visualization.

For example, selecting --task lidar_seg , results in the following error:
Traceback (most recent call last):
File "/home/docker_data/oneformer3d-main/tools/test.py", line 149, in
main()
File "/home/docker_data/oneformer3d-main/tools/test.py", line 145, in main
runner.test()
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/runner.py", line 1767, in test
metrics = self.test_loop.run() # type: ignore
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/loops.py", line 435, in run
self.run_iter(idx, data_batch)
File "/opt/conda/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/loops.py", line 456, in run_iter
self.runner.call_hook(
File "/opt/conda/lib/python3.10/site-packages/mmengine/runner/runner.py", line 1785, in call_hook
raise TypeError(f'{e} in {hook}') from None
TypeError: Visualizer.add_datasample() got an unexpected keyword argument 'vis_task' in <mmdet3d.engine.hooks.visualization_hook.Det3DVisualizationHook object at 0x7f89bab38460>

@filaPro
Copy link
Owner

filaPro commented Oct 7, 2024

Hi @clawCa ,
Unfortunately we don't support visualization in this repo, please see #57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants