Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

update INJECTED_COCO_DATASETS_LUT when registering AdhocCOCODataset #584

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephenyan1231
Copy link
Contributor

Summary:
When registering AdhocCOCODataset, INJECTED_COCO_DATASETS_LUT needs to be updated as well.
For example, if a dataset uses custom registering function, it can be only retrieved from INJECTED_COCO_DATASETS_LUT.
Otherwise, it uses the default registering function as in branch register_dataset_split.

Reviewed By: antonrigner

Differential Revision: D46826507

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 22, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46826507

Summary:
Pull Request resolved: facebookresearch#584

When registering AdhocCOCODataset, INJECTED_COCO_DATASETS_LUT needs to be updated as well.
For example, if a dataset uses custom registering function, it can be only retrieved from INJECTED_COCO_DATASETS_LUT.
Otherwise, it uses the default registering function as in branch `register_dataset_split`.

Reviewed By: antonrigner

Differential Revision: D46826507

fbshipit-source-id: 31bc5c79e3b82a20cb798dec37b18d9271040cdf
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46826507

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants