Skip to content

trick-data

zcls provides three ways to speed up data processing time

  1. lmdb
  2. prefetcher
  3. zoom

lmdb

Use lmdb can speed up the read from disk to memory

prefetcher

Using prefetcher can speed up the reading from CPU memory to GPU memory

just open config item like this:

DATALOADER:
  ...
  ...
  ...
  PREFETCHER: True

zoom

Before training, the data can be prescaled. zcls provides a script tools/zoom.py to realize it