Update DSRNet/test_sirs.py
Browse files- DSRNet/test_sirs.py +2 -2
DSRNet/test_sirs.py
CHANGED
|
@@ -24,8 +24,8 @@ def remove_reflection(image_path):
|
|
| 24 |
opt.verbose = False
|
| 25 |
|
| 26 |
# Create a temporary directory to store the image and load it as a dataset
|
| 27 |
-
temp_dir = tempfile.TemporaryDirectory()
|
| 28 |
-
temp_image_path = os.path.join(temp_dir.name, 'temp_image.png')
|
| 29 |
|
| 30 |
# Save the image to the temporary directory
|
| 31 |
# with open(image_path, 'rb') as img_file:
|
|
|
|
| 24 |
opt.verbose = False
|
| 25 |
|
| 26 |
# Create a temporary directory to store the image and load it as a dataset
|
| 27 |
+
# temp_dir = tempfile.TemporaryDirectory()
|
| 28 |
+
# temp_image_path = os.path.join(temp_dir.name, 'temp_image.png')
|
| 29 |
|
| 30 |
# Save the image to the temporary directory
|
| 31 |
# with open(image_path, 'rb') as img_file:
|