Skip to content

Improve the performance of training without cache. #4017

@junjihashimoto

Description

@junjihashimoto

🚀 Feature

When training is without cache, the usage rate of gpu will not increase.
opencv preprocessing is too slow.
It doesn't get faster even if I increase the number of workers of dataloader.

There are two improvements.

  • Replace opencv preprocessing with pytorch's one using batch.
  • Cache preprocessed data on disk.

Motivation

When I try to cache about 80,000 images, 64GB of memory is not enough.

Pitch

Since it cannot be cached, it takes more than 1 hour per epoch with v100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions