mokuro icon indicating copy to clipboard operation
mokuro copied to clipboard

Low GPU usage with CUDA

Open shipurjan opened this issue 1 year ago • 2 comments

My GPU usage is low, but my CPU usage is at 100%. Just wanted to ask if that's normal, or should GPU usage be higher?

torch.cuda.is_available() returns true etc.

Each of the paths above will be treated as one volume. Continue? [yes/no]
yes
2023-06-24 00:59:45.389 | INFO     | mokuro.run:run:43 - Processing 1/7: C:\Users\user\Downloads\nausicaa\01
Processing pages...:   0%|[00:00<?, ?it/s]
2023-06-24 00:59:45.403 | INFO     | mokuro.manga_page_ocr:__init__:30 - Initializing text detector
2023-06-24 00:59:45.796 | INFO     | manga_ocr.ocr:__init__:13 - Loading OCR model from kha-white/manga-ocr-base
2023-06-24 00:59:48.340 | INFO     | manga_ocr.ocr:__init__:19 - Using CUDA
2023-06-24 00:59:50.981 | INFO     | manga_ocr.ocr:__init__:29 - OCR ready
Processing pages...:20% |████████  | 28/137 [02:09<10:56,  6.02s/it]

image

shipurjan avatar Jun 23 '23 23:06 shipurjan