I am getting the following assertion error when I run the jupyter notebook to generate PASCAL VOC superpixel dataset. Can you please advise on how to resolve this error? I just ran the code without any modifications.
I resolved the issue by setting start_label=0 in superpixels = slic(img, n_segments=n_sp_query, compactness=args['compactness'], multichannel=len(img.shape) > 2, start_label=0) in process_image_slic
Hello,
I am getting the following assertion error when I run the jupyter notebook to generate PASCAL VOC superpixel dataset. Can you please advise on how to resolve this error? I just ran the code without any modifications.
assert n_sp_extracted == np.max(superpixels) + 1, ('superpixel indices', np.unique(superpixels))
Best regards, Hani