FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/getting_started_v5.0.0/notebooks/tao_launcher_starter_kit/mask_rcnn/specs/maskrc

Make sure

  • the id under categories in the annotation file should start from 1.
  • In annotations dict, the category_id should start from 1 instead of 0.

Please refer to Data Annotation Format - NVIDIA Docs and
The first class is always not detected in inference - #25 by Morganh,
Model diverged with loss = nan.