DatasetMapper return "transforms"
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/268 Adding a behavior in which the default D2 (https://github.com/facebookresearch/d2go/commit/87374efb134e539090e0b5c476809dc35bf6aedb)Go dataset mapper returns a dict that contains "transforms" stored in its original call. This enables dataset mapper subclasses to have access to the same transforms performed on the input. This behavior was originally present in the d2go_dataset_mapper_impl.py and d2go_dataset_mapper_impl_fb.py files, but was lost after the refactor to combine the files. Proposing to add this feature back in, to fix downstream bugs that relied on this behavior. Reviewed By: miqueljubert, wat3rBro Differential Revision: D36790367 fbshipit-source-id: 07e6e7bbfe9d764dccb430afe839df495af25fb7
Showing
Please register or sign in to comment