Closed Entretoize closed 3 years ago
I looked up at the code and python add_noise_temp3-CNN.py
hasn't created the noisy images...
Ok, I found the problem, it's about windows using counter slashes instead of slashes in paths, I corrected with that code:
folder = img_path.split('/')[-2]
if folder=="train":
folder = img_path.split('\\')[-2]
The will you correct something ?
I've updated the README with a warning for windows users pointing to this issue.
I upgraded the code to tensorflow 2 with tf_upgrade_v2 because I wasn't able to run the code without, then I've been able to download and generate noised images and train the spatialCNN to an average PSNR of 32.34 following your steps up to
python main_spatialCNN.py --phase=test_temp
Then I got this outputs:Do you have an idea of what is the problem ?