GithubHelp home page GithubHelp logo

python project_images.py datasets/aligned_images/ results/generated_images_tiled/ --video True --video-mode 2 about stylegan2-projecting-images HOT 3 CLOSED

woctezuma avatar woctezuma commented on August 30, 2024
python project_images.py datasets/aligned_images/ results/generated_images_tiled/ --video True --video-mode 2

from stylegan2-projecting-images.

Comments (3)

issue-label-bot avatar issue-label-bot commented on August 30, 2024

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from stylegan2-projecting-images.

woctezuma avatar woctezuma commented on August 30, 2024

To summarize, you run:

!python project_images.py aligned_images/ generated_images_tiled/ \
 --video True --video-mode 2

with my fork, and you encounter this error:

TypeError: init() got an unexpected keyword argument 'vgg16_pkl'

at this line:

https://github.com/woctezuma/stylegan2/blob/99b855b5e2e9c58eb1bcf8d0383e08001610facd/project_images.py#L104-L111

from stylegan2-projecting-images.

woctezuma avatar woctezuma commented on August 30, 2024

Sorry, I cannot replicate your issue in my minimal working example. Open In Colab

Here is the video of the projection on Youtube. The projected image is shown below:

One of the two results

If you have any inquiry about the Python code, I would suggest asking at rolux/stylegan2encoder, which I mention in the references of the README. I have studied the code there in order to write my fork and my notebooks, so it is a good place.

Today, I have been quick to answer but that is sheer luck. Rolux's repository is more well-known, so, on a usual day, you are more likely to find other people with similar issues regarding project_images.py and its usage.

from stylegan2-projecting-images.

Related Issues (12)

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.