mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-09-11 01:01:51 +00:00
fix typo
This commit is contained in:
parent
b1d5e43ce1
commit
c8cf31236f
@ -180,7 +180,7 @@ def create_predictor(args, mode, logger):
|
|||||||
gpu_id = get_infer_gpuid()
|
gpu_id = get_infer_gpuid()
|
||||||
if gpu_id is None:
|
if gpu_id is None:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"GPU is not found in current device by nvidia-smi. Please check your device or ignored it if run on jeston."
|
"GPU is not found in current device by nvidia-smi. Please check your device or ignore it if run on jeston."
|
||||||
)
|
)
|
||||||
config.enable_use_gpu(args.gpu_mem, 0)
|
config.enable_use_gpu(args.gpu_mem, 0)
|
||||||
if args.use_tensorrt:
|
if args.use_tensorrt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user