Git Product home page Git Product logo

super-resolution's People

Contributors

rsnk96 avatar suryadwar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

super-resolution's Issues

MemoryError on main.py

Hi,

After download this repo, and try the example, I get:

python main.py --test_image /home/jose/Desktop/o.jpg 
...
Done Iteration number:  1056
Done Iteration number:  1057
Done Iteration number:  1058
Done Iteration number:  1059
Done Iteration number:  1060
Done Iteration number:  1061
Done Iteration number:  1062
Done Iteration number:  1063
Done Iteration number:  1064
Done Iteration number:  1065
Traceback (most recent call last):
  File "main.py", line 53, in <module>
    tf.app.run()
  File "/media/Documents/Symmetrik/PythonEnviroments/tesnorflow1.0Python3.5/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "main.py", line 50, in main
    dcgan.variable_size_test(z=img_name,config=FLAGS)
  File "/media/Server/Symmetrik/DesarrolloSymmetrik/Dev/BlackList/imageEnhancer/Super-Resolution/model.py", line 216, in variable_size_test
    save_images([joined_outputs], [1, 1], os.path.join(config.sample_dir, 'joined_outputs.jpg'))
  File "/media/Server/Symmetrik/DesarrolloSymmetrik/Dev/BlackList/imageEnhancer/Super-Resolution/utils.py", line 22, in save_images
    return imsave(inverse_transform(images[:num_im]), size, image_path)
  File "/media/Server/Symmetrik/DesarrolloSymmetrik/Dev/BlackList/imageEnhancer/Super-Resolution/utils.py", line 43, in imsave
    return scipy.misc.imsave(path, merge(images, size))
  File "/media/Documents/Symmetrik/PythonEnviroments/tesnorflow1.0Python3.5/lib/python3.5/site-packages/scipy/misc/pilutil.py", line 197, in imsave
    im = toimage(arr, channel_axis=2)
  File "/media/Documents/Symmetrik/PythonEnviroments/tesnorflow1.0Python3.5/lib/python3.5/site-packages/scipy/misc/pilutil.py", line 343, in toimage
    bytedata = bytescale(data, high=high, low=low, cmin=cmin, cmax=cmax)
  File "/media/Documents/Symmetrik/PythonEnviroments/tesnorflow1.0Python3.5/lib/python3.5/site-packages/scipy/misc/pilutil.py", line 102, in bytescale
    return (bytedata.clip(low, high) + 0.5).astype(uint8)
MemoryError

With full RAM memory usage (32GB), hanging out my PC

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.