facebookresearch / d2go

D2Go is a toolkit for efficient deep learning
Apache License 2.0
826 stars 197 forks source link

INPUT.CROP=ENABLED silently fails when annotations dict is present but empty. #658

Closed debowin closed 3 months ago

debowin commented 3 months ago

Summary: D2Go's INPUT.CROP=ENABLED silently fails when annotations dict is present but empty. Ends up not using the dataset at all.

Adding an additional check to circumvent this failure.

Differential Revision: D55640142

facebook-github-bot commented 3 months ago

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

facebook-github-bot commented 3 months ago

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

facebook-github-bot commented 3 months ago

This pull request has been merged in facebookresearch/d2go@dda734a452031029fedb8788f734cd76329aa624.