//self.labeled_imgs = np.sort(glob.glob(os.path.join(self.dir,"*_labeled.png")))
//self.index = np.sort(list(set(self.index) - set(self.labeled_imgs)))
self.statusbar.SetStatusText("Working on folder: {}".format(os.path.split(str(self.dir))[-1]))
print("Working on folder: {}".format(os.path.split(str(self.dir))[-1]))
self.relativeimagenames=["labeled"+n.split("labeled")[1] for n in self.index]//[n.split(self.project_path+"/")[1] for n in self.index]
self.iter = 0