Transformers-Tutorials icon indicating copy to clipboard operation
Transformers-Tutorials copied to clipboard

Dinov2 semantic segmentation error after the first epoch

Open ogencoglu opened this issue 2 years ago • 3 comments

Thanks for the Dinov2 fine-tuning example.

If you continue training until the first epoch ends, the following error occurs image

Just wanted to let you know.

ogencoglu avatar Aug 03 '23 11:08 ogencoglu

Thanks for notifying, could you print the shapes of the logits and labels before calculating the loss?

NielsRogge avatar Aug 03 '23 14:08 NielsRogge

@ogencoglu could you solve the issue? I'm also facing the same one.

@NielsRogge, will this screenshot be of any help? image

SonnetSaif avatar Oct 26 '23 11:10 SonnetSaif

Hello, this problem hasn't solved yet? Is there any solution for this? Thank you.

xyclone10 avatar Jul 19 '24 08:07 xyclone10