Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

[fix] type of images in D2/DETR #135

Closed
wants to merge 2 commits into from
Closed

[fix] type of images in D2/DETR #135

wants to merge 2 commits into from

Conversation

jd730
Copy link
Contributor

@jd730 jd730 commented Jul 5, 2020

If DETR is run on d2 folder, images is NestedTesnor.

Hence, check the type of images whether it is NestedTensor or ImageList and change following lines for each type.

Related Issue: #136

`image` is `NestedTesnor` which has `tensors` not `tensor.
@facebook-github-bot
Copy link

Hi @jd730!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 5, 2020
@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@jd730 jd730 changed the title [fix] typo in D2/DETR [fix] type of images in D2/DETR Jul 5, 2020
@jd730 jd730 closed this Jul 6, 2020
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants