jiny2001 / dcscn-super-resolution

A tensorflow implementation of "Fast and Accurate Image Super Resolution by Deep CNN with Skip Connection and Network in Network", a deep learning based Single-Image Super-Resolution (SISR) model.
https://arxiv.org/abs/1707.05425
MIT License
706 stars 215 forks source link

Error is generated #109

Open batraamul opened 3 years ago

batraamul commented 3 years ago

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

jiny2001 commented 3 years ago

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