Skip to content

Commit

Permalink
Update src/transformers/models/vitpose/modeling_vitpose.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sangbum Daniel Choi <[email protected]>
  • Loading branch information
NielsRogge and SangbumChoi committed Aug 20, 2024
1 parent 5e8b89e commit c19c97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/vitpose/modeling_vitpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PoseEstimatorOutput(ModelOutput):
Args:
loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `labels` is provided):
Classification (or regression if config.num_labels==1) loss.
Loss is not supported at this moment. See https://github.com/ViTAE-Transformer/ViTPose/tree/main/mmpose/models/losses for further detail.
heatmaps (`torch.FloatTensor` of shape `(batch_size, num_keypoints, height, width)`):
Heatmaps as predicted by the model.
hidden_states (`tuple(torch.FloatTensor)`, *optional*, returned when `output_hidden_states=True` is passed or when `config.output_hidden_states=True`):
Expand Down

0 comments on commit c19c97a

Please sign in to comment.