flyywh / CVPR-2020-Semi-Low-Light

152 stars 23 forks source link

Where is the dataset placed #3

Closed anothersin closed 3 years ago

anothersin commented 4 years ago

I am not sure how to place your supplied dataset in the project. I change 13 lines in the data.lowlighTtest file in each stage. 13 self.apath = 'Semi-Low-Light/Dataset/stage2/' However, an error occurred while running STAGE2.test.sh

Evaluation: 0it [00:00, ?it/s] Traceback (most recent call last): File "main_test.py", line 32, in while not t.terminate(): File "Semi-Low-Light/DRBL-stage2/src/trainer_test.py", line 294, in terminate self.test() File "Semi-Low-Light/DRBL-stage2/src/trainer_test.py", line 266, in test self.ckp.log[-1, idx_scale] = eval_acc / len(self.loader_test) ZeroDivisionError: division by zero

I tried a lot of things but they didn't work. It would be great if you could suggest a change

flyywh commented 4 years ago

Could you try the absolute path?

anothersin commented 4 years ago

Could you try the absolute path?

Unfortunately, I've tried using an absolute path but it leads to the same problem

anothersin commented 4 years ago

Could you try the absolute path?

And I found some paths in your code with your name. But the relevant folder was not found

flyywh commented 4 years ago

Could you try modify "self.ext = ('.jpg', '.jpg', '.png', '.jpg')" line 18 based on the file postfix?

Trueman1997 commented 3 years ago

Hello,have you solved this problem?I met the same problem...

syc11-25 commented 2 years ago

Hello,have you solved this problem?I met the same problem...

Could you please tell me how did you solve this problem? THANKS