Code Monkey home page Code Monkey logo

Comments (5)

attilaolah avatar attilaolah commented on July 24, 2024 2

Turns out there is already a Colab notebook, over at https://github.com/tg-bomze/Face-Depixelizer, maybe try that.

from pulse.

Acurisu avatar Acurisu commented on July 24, 2024 2

This issue has been addressed in both this repository (see) and over at tg-bomze/Face-Depixelizer (see).

from pulse.

attilaolah avatar attilaolah commented on July 24, 2024

You can probably still run it with Google Colab using a free GPU runtime, although it would be nice to have a ready-made notebook for that.

from pulse.

chstdu avatar chstdu commented on July 24, 2024

Thank you for the link. When trying, I receive the attached error message. Is this because of the mentioned daily capacity constraints or does my (pixelated) face happen to be just too crazy?

Loading Synthesis Network
Downloading https://drive.google.com/uc?id=1TCViX1YpQyRsklTVYEJwdbmK91vklCo8 ... done
Optimizing
BEST (100) | L2: 0.0040 | GEOCROSS: 5.7679 | TOTAL: 0.6895 | time: 58.1 | it/s: 1.72 | batchsize: 1
Could not find a face that downscales correctly within epsilon
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-af0d780e3ec8> in <module>()
     90 ax1.imshow(mpimg.imread('/content/pulse/input/face.png'))
     91 ax1.set_title('Original')
---> 92 ax2.imshow(mpimg.imread('/content/pulse/runs/face.png'))
     93 ax2.set_title('Result')
     94 plt.show()

3 frames
/usr/local/lib/python3.6/dist-packages/matplotlib/cbook/__init__.py in to_filehandle(fname, flag, return_opened, encoding)
    401             fh = bz2.BZ2File(fname, flag)
    402         else:
--> 403             fh = open(fname, flag, encoding=encoding)
    404         opened = True
    405     elif hasattr(fname, 'seek'):

FileNotFoundError: [Errno 2] No such file or directory: '/content/pulse/runs/face.png'

from pulse.

chstdu avatar chstdu commented on July 24, 2024

Okay. Now I am getting the "Google Drive quota exceeded" error. Thus, I will try again tomorrow and with more steps. Strange that Google imposes quotas / restrictions while heavily advocating for AI themselves.

from pulse.

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.