DINO training gives error about insufficient shared memory (shm)

Hi,
Please use below way instead.

If users train for n classes, then please set num_classes to n+1.

Also still make sure the categories starting from 1.

In short,

  • the num_classes should be actual_class + 1
  • In categories dict, the id should start from 1
  • In annotations dict, the category_id should start from 1
1 Like