AttributeError: 'InstanceData' object has no attribute 'texts' #2003
Unanswered
CyanMystery
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
python tools/visualizations/browse_dataset.py spts_resnet50_8xb8-200e_icdar2015.py
F:\Program Files\anaconda3\envs\mmocr\lib\site-packages\mmengine\visualization\visualizer.py:196: UserWarning: Failed to add <class 'mmen
gine.visualization.vis_backend.LocalVisBackend'>, please provide the
save_dir
argument.warnings.warn(f'Failed to add {vis_backend.class}, '
[ ] 0/17, elapsed: 0s, ETA:Traceback (most recent call last):
File "tools/visualizations/browse_dataset.py", line 415, in
main()
File "tools/visualizations/browse_dataset.py", line 381, in main
image_show = visualizer.add_datasample(
File "f:\python_project\mmocr\mmocr\visualization\textspotting_visualizer.py", line 111, in add_datasample
gt_texts = data_sample.gt_instances.texts
AttributeError: 'InstanceData' object has no attribute 'texts'
Beta Was this translation helpful? Give feedback.
All reactions