Open fatbun opened 2 years ago
That can take a long time depending on the size of the image to tile, the size of the tiles, the number of resizing scales, and the pixel shift.
Some options are (conf.py
):
RESIZING_SCALES
with larger values (e.g., [0.75]
instead of [0.5, 0.4, 0.3, ...]
); this controls the scale of the tile and the number of times the tile is considered in different scales, so fewer and higher scales means less boxes to process;PIXEL_SHIFT
to higher values (e.g., (10, 10)
instead of (5, 5)
); the lower the PIXEL_SHIFT
the more boxes will need to be processed;POOL_SIZE
if your CPU has more than 8 cores.Hope this helps.
when I run
python tiler.py path/to/image path/to/tiles_folder/
, stuck at "Getting and processing boxes".Loading tiles 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 125/125 [00:03<00:00, 32.19it/s] Getting and processing boxes 0%|