Giter Club home page Giter Club logo

Comments (4)

eps696 avatar eps696 commented on August 26, 2024 2

all three main methods can start from an image - fft, dwt, rgb.
this feature is very hacky [and kinda broken] though, in line with my understanding of the functions from the lucent lib. the colors usually become seriously distorted on the load; so i would definitely appreciate any hints regarding fixing this.

from aphantasia.

dribnet avatar dribnet commented on August 26, 2024 1

Thanks - I've found this in the code via the "resume" argument. Agreed the current implementation is a bit rough around the edges, but a useful baseline we might be able to improve over time.

from aphantasia.

htoyryla avatar htoyryla commented on August 26, 2024

I was looking for a way to initialize fft from an image, for a setup that uses FFT for image generation and VGG19 style transfer and CLIP for guiding the iterations. My FFT implementation was borrowed from here, and I had to rework it (largely by trial and error) to get it to start from a good reproduction of the init image.

You'll find my code here https://github.com/htoyryla/fftstylediver

It will probably not work correctly on the latest pytorch versions (have not tested it and I have changed the FFT dimension thing). I have also done some scaling things differently, and dropped to_valid_rgb from the chain.

from aphantasia.

eps696 avatar eps696 commented on August 26, 2024

just to follow up on this:
rgb [video] method now properly starts from image. "properly" means 100% empirical hack, but looking quite ok.
fft and dwt are better than before, but colors are washed out on start yet.

from aphantasia.

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.