Bread
Bread copied to clipboard
Official implementation for "Low-light Image Enhancement via Breaking Down the Darkness"
https://github.com/mingcv/Bread/blob/e0c50680f38ac9f417ef6a233448f94e68f332f2/train_CAN.py#L95-L99 Should be ```python colors = self.model_canet(torch.cat([texture_in, cb_in, cr_in, texture_en, cb_en, cr_en],
https://github.com/mingcv/Bread/blob/e0c50680f38ac9f417ef6a233448f94e68f332f2/datasets/low_light_test.py#L35 ``` Traceback (most recent call last): File "D:\dev_projects\image_ai\Bread\test_Bread.py", line 195, in test(opt) File "D:\dev_projects\image_ai\Bread\test_Bread.py", line 162, in test for iter, (data, subset, name) in enumerate(test_generator): File "D:\dev_projects\image_ai\Bread\.venv\lib\site-packages\tqdm\std.py", line 1181,...
https://github.com/mingcv/Bread/blob/e0c50680f38ac9f417ef6a233448f94e68f332f2/datasets/low_light_test.py#L13 The code block can be replaced with this: ``` directory_name = os.path.basename(root) print("directory_name", directory_name) img_files = os.listdir(root) for img_file in img_files: if not (img_file.endswith('.jpg') or img_file.endswith('.jpeg') or img_file.endswith('.gif') or...