I am able to load the custom dataset where target contain dict of {boxes, labels}. But, when I try to build fasterrcnn_resnet50_fpn model, it is showing TorchStudio\python\lib\site-packages\torch__init__.py, line 853, in _assert
assert condition, message AssertionError: targets should not be none when in training mode error.
I am able to load the custom dataset where target contain dict of {boxes, labels}. But, when I try to build fasterrcnn_resnet50_fpn model, it is showing TorchStudio\python\lib\site-packages\torch__init__.py, line 853, in _assert assert condition, message AssertionError: targets should not be none when in training mode error.
Please help me resolve this issue. @divideconcept