PyTorch Cuda Tensors not supported in DETR model
https://github.com/huggingface/transformers/blob/db7d6a80e82d66127b2a44b6e3382969fdc8b207/src/transformers/models/detr/feature_extraction_detr.py#L568

The feature extractor attempts to convert the tensors to PIL images, which is only possible for `t.detach().cpu()` tensors. 

The origin of the error is `ImageFeatureExtractorMixin.to_pil_image()`
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.<|||||>I'm having same problem here. Did you solve it?