Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed detection api retrieval from dataset #1636

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

Conversation

BlindedShooter
Copy link

Added _FlatDataWithTransform to recursion condition of the function "get_detection_api_from_dataset".

Previously it recursed when the dataset is an instance of (Subset, AvalancheDataset, ConcatDataset),

but _FlatDataWithTransform can be given as "dataset" parameter in the recursion. (examples/detection_lvis.py)

Added _FlatDataWithTransform for get_detection_api_from_dataset   recursion condition. Previously it recursed when the dataset is a instance of (Subset, AvalancheDataset, ConcatDataset) but _FlatDataWithTransform can be inside of the recursion (examples/detection_lvis.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant