I just executed the test code to visualize the results through offline, as written in officialdocumentation.
But it doesn't seems to output results.pkl, and makes error below when I added the arguements --cfg-options test_evaluator.submission_prefix=sub_results.pkl.
Traceback (most recent call last):
File "tools/test.py", line 149, in <module>
main()
File "tools/test.py", line 145, in main
runner.test()
File "/home/pjs_conda/.conda/envs/mm3d_latest/lib/python3.8/site-packages/mmengine/runner/runner.py", line 1823, in test
metrics = self.test_loop.run() # type: ignore
File "/home/pjs_conda/.conda/envs/mm3d_latest/lib/python3.8/site-packages/mmengine/runner/loops.py", line 438, in run
metrics = self.evaluator.evaluate(len(self.dataloader.dataset))
File "/home/pjs_conda/.conda/envs/mm3d_latest/lib/python3.8/site-packages/mmengine/evaluator/evaluator.py", line 79, in evaluate
_results = metric.evaluate(size)
File "/home/pjs_conda/.conda/envs/mm3d_latest/lib/python3.8/site-packages/mmengine/evaluator/metric.py", line 133, in evaluate
_metrics = self.compute_metrics(results) # type: ignore
File "/raid/workspace/cvml_user/pjs/mmdetection3d/mmdet3d/evaluation/metrics/seg_metric.py", line 116, in compute_metrics
self.format_results(results)
File "/raid/workspace/cvml_user/pjs/mmdetection3d/mmdet3d/evaluation/metrics/seg_metric.py", line 86, in format_results
mmcv.mkdir_or_exist(submission_prefix)
AttributeError: module 'mmcv' has no attribute 'mkdir_or_exist'
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
Reproduces the problem - code sample
I just executed the test code to visualize the results through offline, as written in official documentation. But it doesn't seems to output results.pkl, and makes error below when I added the arguements
--cfg-options test_evaluator.submission_prefix=sub_results.pkl
.Reproduces the problem - command or script
I run the test code as below.
Reproduces the problem - error message
Additional information
No response