GithubHelp home page GithubHelp logo

Comments (9)

xiaoshidai avatar xiaoshidai commented on September 26, 2024

I have the same problem with you, did you solve this problem?

from srcnn-tensorflow.

xiaoshidai avatar xiaoshidai commented on September 26, 2024

I found some people have the same problem and you had update your code, but the problem still exist. Did you test it again?

from srcnn-tensorflow.

xiaoshidai avatar xiaoshidai commented on September 26, 2024

There a wrong in the code "util.py"
"""
def imsave(image, path):
return scipy.misc.imsave(path, image)
"""
should be
"""
def imsave(image, path):
return scipy.misc.imsave(image,path)
"""

from srcnn-tensorflow.

tegg89 avatar tegg89 commented on September 26, 2024

@xiaoshidai @vinnitu Sorry for late reply. Because my machine is currently power-off, I cannot check it right now. I will make it right as soon as possible. Thanks

from srcnn-tensorflow.

xiaoshidai avatar xiaoshidai commented on September 26, 2024

Did find that the super-resolution image is smaller than the original image, but the code in caffe does not have this problem? Did you have some idea about it?

from srcnn-tensorflow.

tegg89 avatar tegg89 commented on September 26, 2024

@xiaoshidai The size of super-resolved image and that of original image have to be different, because height size and width size of original image were changed due to do proper mod operation.

@vinnitu @xiaoshidai I fixed the problem. Now the result image should be saved.

from srcnn-tensorflow.

HCShi avatar HCShi commented on September 26, 2024

@xiaoshidai I also meet this problem ,and I modify the error as you said in util.py , but it doesn't work . So could it be the quality of image or the quantity of the images?

from srcnn-tensorflow.

kjaisinghyadav avatar kjaisinghyadav commented on September 26, 2024

@vinnitu @xiaoshidai What need to be change to fix this probleam??

from srcnn-tensorflow.

ParmpalSinghGill avatar ParmpalSinghGill commented on September 26, 2024

check the shape of image before saving

from srcnn-tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.