Giter Site home page Giter Site logo

Comments (2)

rainingDesert avatar rainingDesert commented on July 28, 2024

I have noticed that there is an "n_shot" parameter in the base_options.py. When testing the pose datasets, I have 5 reference images to be pose transfered, so I set "n_shot" to 5. Howevery, I got only one reference image in the result directory. I wonder if this means that only one reference image is used for testing?Is there any advice for me?

I think so. I print the shape of data["ref_image"], and saw only one image are input to the model. I think "n_shot" is only used for training, while inference should modify "ref_img_id". Related code can be saw in function "get_video_params" of file "./data/base_dataset.py".

Moreover, you need to modify the first two lines of function "concat_frame" in file "./data/base_dataset.py". I don't know the reason why these are added. I tried multiple reference images for face transferred, and the result looks fine.

from few-shot-vid2vid.

tcwang0509 avatar tcwang0509 commented on July 28, 2024

Yes, you will need to specify both n_shot and the frame indices you want to use in the command.

from few-shot-vid2vid.

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.