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

remove vanilla tensors from prototype datasets samples #5018

Merged
merged 1 commit into from Dec 1, 2021

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Dec 1, 2021

As discussed offline with @fmassa and @NicolasHug, for now we opt to always return a plain Feature instead of a vanilla torch.Tensor. This let's us keep BC with the transforms that interpret vanilla tensors as images. This just fixes the return types for COCO. I'll send a more comprehensive follow-up PR.

cc @pmeier @bjuncek

@facebook-github-bot
Copy link

facebook-github-bot commented Dec 1, 2021

💊 CI failures summary and remediations

As of commit eb07278 (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet.


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamping to unlock!

@pmeier pmeier merged commit 874581c into pytorch:main Dec 1, 2021
@pmeier pmeier deleted the datasets-transform-link branch December 1, 2021 20:20
facebook-github-bot pushed a commit that referenced this pull request Dec 9, 2021
Reviewed By: NicolasHug

Differential Revision: D32950940

fbshipit-source-id: c87255a443069a7a1f9b9774af5b7d56b19ec960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants