You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All installation steps were followed as per the documentation.
Error traceback
/home/ubuntu/anaconda3/envs/mmocr/lib/python3.7/site-packages/mmdet/apis/inference.py:47: UserWarning: Class names are not saved in the checkpoint's meta data, use COCO classes by default.
warnings.warn('Class names are not saved in the checkpoint\'s '
Traceback (most recent call last):
File "demo/image_demo.py", line 44, in <module>
main()
File "demo/image_demo.py", line 32, in main
result = model_inference(model, args.img)
File "/home/ubuntu/Desktop/mmocr/mmocr/mmocr/apis/inference.py", line 25, in model_inference
data = test_pipeline(data)
File "/home/ubuntu/anaconda3/envs/mmocr/lib/python3.7/site-packages/mmdet/datasets/pipelines/compose.py", line 40, in __call__
data = t(data)
File "/home/ubuntu/anaconda3/envs/mmocr/lib/python3.7/site-packages/mmdet/datasets/pipelines/loading.py", line 365, in __call__
results = self._load_bboxes(results)
File "/home/ubuntu/anaconda3/envs/mmocr/lib/python3.7/site-packages/mmdet/datasets/pipelines/loading.py", line 240, in _load_bboxes
ann_info = results['ann_info']
KeyError: 'ann_info'
The text was updated successfully, but these errors were encountered:
Reproduction
No modifications were made to the config.
Environment
sys.platform: linux
Python: 3.7.10 (default, Feb 26 2021, 18:47:35) [GCC 7.3.0]
CUDA available: True
GPU 0: Tesla K80
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.0, V10.0.130
GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
PyTorch: 1.5.0
PyTorch compiling details: PyTorch built with:
TorchVision: 0.6.0a0+82fd1c8
OpenCV: 4.5.1
MMCV: 1.2.6
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMOCR: 0.1.0+5244984
All installation steps were followed as per the documentation.
Error traceback
The text was updated successfully, but these errors were encountered: