removed the 'optional' string (#16266)

Co-authored-by: dinesh-GDK <dinesh.gna111@gmail.com1>
This commit is contained in:
Dinesh Kumar Gnanasekaran 2022-03-21 04:39:45 -07:00 committed by GitHub
parent c36b856580
commit 8bbd41369f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -682,7 +682,7 @@ class DetrFeatureExtractor(FeatureExtractionMixin, ImageFeatureExtractionMixin):
Args:
outputs ([`DetrObjectDetectionOutput`]):
Raw outputs of the model.
target_sizes (`torch.Tensor` of shape `(batch_size, 2)`, *optional*):
target_sizes (`torch.Tensor` of shape `(batch_size, 2)`):
Tensor containing the size (h, w) of each image of the batch. For evaluation, this must be the original
image size (before any data augmentation). For visualization, this should be the image size after data
augment, but before padding.