new interface for build_d2go_train_loader
Summary: #Facebook: `build_d2go_train_loader` will replace `runner.build_detection_train_loader`, currently we call `build_d2go_train_loader` from `runner.build_detection_train_loader` since some runner has there own implementation, we will solve those cases and remove the `runner.build_detection_train_loader` API. Currently `build_d2go_train_loader` uses `_MAPPED_TRAIN_LOADER_BUILDER_REGISTRY` to support different versions between OSS and FB, not sure if this is a good pattern or not, please comment in the diff if you have better idea. Reviewed By: zhanghang1989 Differential Revision: D27505681 fbshipit-source-id: b5caf7280a88c2ebccb498097c0b7af51c966fc6
Showing
Please register or sign in to comment