Commit ·
c7a0b16
1
Parent(s): 38a71fa
Update dataloader_raw.py
Browse files- dataloader_raw.py +0 -4
dataloader_raw.py
CHANGED
|
@@ -17,10 +17,6 @@ class loadnpy:
|
|
| 17 |
noisy_image_path = os.path.join(
|
| 18 |
self.noisy_image_dir, self.noisy_image_filenames[idx]
|
| 19 |
)
|
| 20 |
-
if "400frames" in noisy_image_path:
|
| 21 |
-
clean_image_path = clean_image_path.replace(
|
| 22 |
-
"_" + str(clean_image_path).split("_")[-1], ".npy"
|
| 23 |
-
).replace("noisy", "gt")
|
| 24 |
clean_image = np.load(clean_image_path)
|
| 25 |
noisy_image = np.load(noisy_image_path)
|
| 26 |
if self.transform:
|
|
|
|
| 17 |
noisy_image_path = os.path.join(
|
| 18 |
self.noisy_image_dir, self.noisy_image_filenames[idx]
|
| 19 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
clean_image = np.load(clean_image_path)
|
| 21 |
noisy_image = np.load(noisy_image_path)
|
| 22 |
if self.transform:
|