Coder Social home page Coder Social logo

Comments (9)

zhengkw18 avatar zhengkw18 commented on July 22, 2024

Which did you use, motion transfer or reconstruction? I guess there is problem with your source image.

from face-vid2vid.

applech666 avatar applech666 commented on July 22, 2024

test
source image. motion transfer

run command is :python evaluate.py --ckp=100 --source=005.jpg --driving=datasets/vox/test/id10343#TFIZ9vWg6EE#003826#003939.mp4

from face-vid2vid.

zhengkw18 avatar zhengkw18 commented on July 22, 2024

This is strange. You can try other source/driving to see which causes the problem. Several reasons are possible:

  1. driving has bad illumination
  2. source/driving face should be resized
  3. source jpg format image is not correctly read
  4. Asian people are out of the training dataset distribution so not properly modeled

from face-vid2vid.

applech666 avatar applech666 commented on July 22, 2024

According to your suggestion, I changed the driving video and the original image, but the result is still terrible.
generated:
output
drive video:
0000000
source image:
test (2)
run command:
python evaluate.py --ckp=100 --source=test.png --driving=datasets/vox/test/id10070#FWHkEnS8v-M#001286#001433.mp4

from face-vid2vid.

applech666 avatar applech666 commented on July 22, 2024

How do I understand it here?

1637216932(1)

from face-vid2vid.

zhengkw18 avatar zhengkw18 commented on July 22, 2024

Now I think this is due to environment problems such as Pytorch version...For some reasons the pretrained model or the image is not correctly loaded. The headpose estimator is used during training so it's irrelevant.

from face-vid2vid.

applech666 avatar applech666 commented on July 22, 2024

I'm using torch==1.6. What about you?

from face-vid2vid.

zhengkw18 avatar zhengkw18 commented on July 22, 2024

You can update all your packages to latest version. Besides you can re-clone the repo to confirm there is no code change.

from face-vid2vid.

applech666 avatar applech666 commented on July 22, 2024

output
thanks @zhengkw18
I made a mistake in solving the problem:
RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.

from face-vid2vid.

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.