File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/tools/train.py", line 318, in <module>
main(config)
File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/tools/train.py", line 88, in main
loader_train = build_dataset(
File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/mindocr/data/builder.py", line 147, in build_dataset
dataset = dataset_class(**dataset_args)
File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/mindocr/data/det_dataset.py", line 85, in __init__
File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/mindocr/data/transforms/transforms_factory.py", line 70, in run_transforms
data = transform(data)
File "/home/jenkins/workspace/TDT_deployment/solution_test/cases/02network/00cv/dbnet/train/test_ms_dbnet_mobilenetv3_icdar2015_train_check_loss_910_gpu_8p_0001/mindocr/data/transforms/det_transforms.py", line 82, in __call__
txt_tags = np.array(txt_tags, dtype=np.bool)
File "/home/miniconda3/envs/large_model_39/lib/python3.9/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: