NoduleNet icon indicating copy to clipboard operation
NoduleNet copied to clipboard

local variable 'truth_bboxes' referenced before assignment

Open jrmathew1 opened this issue 3 years ago • 0 comments

I am training the model on a new dataset and got this error during epoch 6:

File "/data2/NoduleNet/dataset/mask_reader.py", line 124, in getitem

return [torch.from_numpy(input).float(), truth_bboxes, truth_labels, truth_masks, masks]

UnboundLocalError: local variable 'truth_bboxes' referenced before assignment

jrmathew1 avatar Jun 02 '22 17:06 jrmathew1