use public trainer API to re-create data loader for QAT
Summary: X-link: https://github.com/facebookresearch/detectron2/pull/4458 Pull Request resolved: https://github.com/facebookresearch/d2go/pull/353 - The QAT was using old code prior to D36786902, update to use public API - Make `trainer:reset_data_loader` to take lazy lambda expression in order to delay the creation of dataloader. It's possible that we don't have enough RAM to hold two data loader at the same time, so we need to delete the first one, then create the second one. Differential Revision: D38330148 fbshipit-source-id: aae28a48eabf211fe00cafe5d9ea8aeaf56e4e0c
Showing
Please register or sign in to comment