Coder Social home page Coder Social logo

faceswap-deepfake-pytorch's Issues

I think there might be some problem in your padding_same_conv.py

Your padding_same_conv.py is a brilliant implementation for pytorch users needing padding=same. It really helps me and I cannot express anything but gratitude for your wonderful work.

However, I think there might be some mistakes in your implementation, especially in your conv2d_same_padding function.
You only calculate the number of elements padded for the col of the input, and just copy it to the row, which might be wrong when stride[0] != stride [1] and dilation[0] != dilation[1].
And the type of your initial value of stride and dilation might be list according to your following code but not the int you set.

How to predict it?

I try to predict but the result are far way from reasonable... Might me did something wrong with preprocess?

How to test it with two face pic ?

Hello author, I want to know how to test/pred it with two face pic ? I mean , writer a test.py file to run.
I writer this file to load model to test, but it doesn't work.(Don't Change the Face).

作者你好,我想问下,你这个测试文件该怎么写啊?就是写一个test.py文件,加载模型,输入两张人脸图像进行换脸。我自己写了一个,但是没有换脸成功,就好像模型没有加载成功似的。请问你能不能写一个这个文件呢?

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.