dcscn-super-resolution icon indicating copy to clipboard operation
dcscn-super-resolution copied to clipboard

Error is generated

Open batraamul opened this issue 4 years ago • 1 comments

The following error is generated while executing the code ValueError: Image must be a numpy array.

The following lines of code were executed on Google Colab

!pip show tensorflow

For the current version:

!pip install --upgrade tensorflow

For a specific version:

!pip install tensorflow==1.2

! pip install scipy

!git clone https://github.com/jiny2001/dcscn-super-resolution.git

cd dcscn-super-resolution

import sys

run evaluate.py --test_dataset=set14 --save_results=true

batraamul avatar Oct 17 '20 09:10 batraamul

Hi @batraamul ! Thank you to let me know the issue. I updated the repo so could you clone it and try again?

I guess the error happened because your imageio's version is old. I'm using latest imageio and there is no error with it. However, I found the cause and I fixed it. Please pull and try the repo. Thx!

Jin

jiny2001 avatar Oct 18 '20 07:10 jiny2001