[Fix] Fix browse_dataset ()

pull/1278/head
Tong Gao 2022-08-10 17:48:49 +08:00 committed by GitHub
parent 7cd96aaf79
commit 97f6c1d5d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
tools/analysis_tools

View File

@ -3,7 +3,7 @@ import argparse
import os.path as osp
import mmcv
from mmcv import Config, DictAction
from mmengine import Config, DictAction
from mmocr.registry import DATASETS, VISUALIZERS
from mmocr.utils import register_all_modules
@ -64,7 +64,7 @@ def main():
visualizer.add_datasample(
name=osp.basename(img_path),
image=img,
gt_sample=data_sample,
data_sample=data_sample,
draw_pred=False,
show=not args.not_show,
wait_time=args.show_interval,