diff --git a/easyocr/DBNet/assets/ops/dcn/functions/deform_conv.py b/easyocr/DBNet/assets/ops/dcn/functions/deform_conv.py index 84db861a8..61d8e0575 100644 --- a/easyocr/DBNet/assets/ops/dcn/functions/deform_conv.py +++ b/easyocr/DBNet/assets/ops/dcn/functions/deform_conv.py @@ -42,7 +42,7 @@ def custom_formatwarning(msg, *args, **kwargs): warnings.warn(' '.join([ "Failed to import and/or compile 'deform_conv_cpu' with the following error", "{}".format(error), - "Deformable convulution and DBNet will not be able to run on CPU." + "Deformable convolution and DBNet will not be able to run on CPU." ])) dcn_cpu_ready = False @@ -69,7 +69,7 @@ def custom_formatwarning(msg, *args, **kwargs): warnings.warn(' '.join([ "Failed to import or compile 'deform_conv_cuda' with the following error", "{}".format(error), - "Deformable convulution and DBNet will not be able to run on GPU." + "Deformable convolution and DBNet will not be able to run on GPU." ])) dcn_cuda_ready = False diff --git a/easyocr/DBNet/assets/ops/dcn/functions/deform_pool.py b/easyocr/DBNet/assets/ops/dcn/functions/deform_pool.py index b4c9943cb..a6bdd744f 100644 --- a/easyocr/DBNet/assets/ops/dcn/functions/deform_pool.py +++ b/easyocr/DBNet/assets/ops/dcn/functions/deform_pool.py @@ -41,7 +41,7 @@ def custom_formatwarning(msg, *args, **kwargs): warnings.warn(' '.join([ "Failed to import or compile 'deform_pool_cpu' with the following error", "{}".format(error), - "Deformable convulution and DBNet will not be able to run on CPU." + "Deformable convolution and DBNet will not be able to run on CPU." ])) dcn_cpu_ready = False @@ -64,7 +64,7 @@ def custom_formatwarning(msg, *args, **kwargs): warnings.warn(' '.join([ "Failed to import or compile 'deform_pool_cuda' with the following error", "{}".format(error), - "Deformable convulution and DBNet will not be able to run on GPU." + "Deformable convolution and DBNet will not be able to run on GPU." ])) dcn_cuda_ready = False