HuiZhang0812 / DiffusionAD

148 stars 16 forks source link

Should we have a thresh directory in datasets? #22

Closed azadfatemeh closed 9 months ago

azadfatemeh commented 9 months ago

Hello, I have seen this line of code in the class dataset_beta_thresh.py : 'self.textural_foreground_path = sorted(glob.glob(foreground_path +"/thread/*.png"))' but since textural_foreground_path is 0 all the time I doubted whether the 'thread' is right or not. because I don't have such a directory, shouldn't it be 'thresh' instead?

HuiZhang0812 commented 9 months ago

It should be the 'thresh' folder, and in dataset_beta_thresh.py, the line 'self.textural_foreground_path = sorted(glob.glob(foreground_path +"/thresh/*.png"))' also references the 'thresh' folder. I'm a bit confused, where is the 'thread' ?

azadfatemeh commented 9 months ago

It was my mistake