jiwoon-ahn / irn

Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relations, CVPR 2019 (Oral)
MIT License
525 stars 100 forks source link

int32 error #49

Closed Elaineok closed 6 months ago

Elaineok commented 6 months ago

Change it to the following `def load_img_name_list(dataset_path):

img_name_list = np.loadtxt(dataset_path, dtype=str)
img_name_list = np.array(img_name_list, dtype=float)
return img_name_list`