open-mmlab / mmsegmentation

OpenMMLab Semantic Segmentation Toolbox and Benchmark.
https://mmsegmentation.readthedocs.io/en/main/
Apache License 2.0
8.03k stars 2.58k forks source link

模型config有问题 #3619

Open Grizemc opened 6 months ago

Grizemc commented 6 months ago

Traceback (most recent call last): File "tools/test.py", line 130, in main() File "tools/test.py", line 125, in main runner.test() File "/home/grize/mmsegmentation/mmsegmentation-main/mmengine/mmengine/runner/runner.py", line 1811, in test raise RuntimeError( RuntimeError: self._test_loop should not be None when calling test method. Please provide test_dataloader, test_cfg and test_evaluator arguments when initializing runner. 这里是不是config文件内容缺失

zzzcccxx commented 3 months ago

Traceback (most recent call last): File "tools/test.py", line 130, in main() File "tools/test.py", line 125, in main runner.test() File "/home/grize/mmsegmentation/mmsegmentation-main/mmengine/mmengine/runner/runner.py", line 1811, in test raise RuntimeError( RuntimeError: self._test_loop should not be None when calling test method. Please provide test_dataloader, test_cfg and test_evaluator arguments when initializing runner. 这里是不是config文件内容缺失

同样的问题,请问最后解决了吗?