Skip to content

TypeError: 'NoneType' object is not subscriptable  #25

@Catofblue

Description

@Catofblue

I downloaded the Pascal VOC2012 datase and I make sure that the path of the dataset file and the location of the segmentationclassaug file are correct and printed correctly

The code in line #80 under the folder voc_train.py does not runing

    #78    mask_path = self.mask_dir + name + '.png'
   #79      mask = cv2.imread(mask_path)
   #80      labels = np.unique(mask[:,:,0])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions