Giter VIP home page Giter VIP logo

Comments (5)

mingheyuemankong avatar mingheyuemankong commented on July 26, 2024

11

from stylegan-nada.

mingheyuemankong avatar mingheyuemankong commented on July 26, 2024

I have tried a number of operations that only allow me to make style changes to these four images.
In addition, I did not find a path to these four images, nor was I able to specify an image local to my device for the transformation

from stylegan-nada.

rinongal avatar rinongal commented on July 26, 2024

These 4 images are GAN generated. This isn't really a style-transfer method, so there's no real notion of content and style images. It's a zero-shot finetuning method for GANs. If you want to use it for Style Transfer, what you can do is use an inversion encoder to map your image into the GAN's latent space, then re-generate it using the fine-tuned GAN. One of our Colab notebooks should have example code for doing this, and we had a HuggingFace space that lets you do the same operation.

from stylegan-nada.

mingheyuemankong avatar mingheyuemankong commented on July 26, 2024

Sorry, I tried to run the colab you provided, but I found the following error when executing "Step 3: Train the model".
image

In addition, when I executed "step 4: convert the image to the new domain" in "step 4: generate samples with the new model", the following error occurred.
image

from stylegan-nada.

rinongal avatar rinongal commented on July 26, 2024

On the first error:
I see that torchvision was updated to use "value_range" instead of "range", you'll have to either downgrade to an older version of torchvision from before this change, or update the save_images function (

) to use the new API.

On the second error:
You need to run the 3rd cell before you can run the 4th. The net object is created in the 3rd cell.

from stylegan-nada.

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.