So grateful. But when I only change imageFolder to image_dir in SegDataset it gives me TypeError of init(), but if I change it to imageFolder , SegDataset can not works well alone, what cause the problem and how should I define them?
25791×44 5.43 KB
231419×567 46.4 KB 241323×484 74.2 KB