Git Product home page Git Product logo

obama-lip-sync's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obama-lip-sync's Issues

Bad shape input

trying to run the example (after downloading all the relevant data) and getting this error:

ValueError: Error when checking input: expected lstm_1_input to have shape (50, 39) but got array with shape (10L, 39L)

Those where the log on output before the exception:

data/sampleAudio.wav
16000
('Shapes:', (5201L, 10L, 39L))
('Shapes:', (52010L, 39L))

.wav files for audio feature extraction

Hi acvictor. As far as I understand, 25 .wav files are used in the audioFeatures.py file for feature extraction. I could not find these files anywhere. I thought that they were converted from mp4 files, in the rawData folder, to wav files but there are only 11 mp4 files in there. Is it possible for you to share these wav files? I would be very appreciated if you could help.

Thanks for this helpful repository.

the pix2pix.py showing attribute error

Traceback (most recent call last):
File "pix2pix.py", line 805, in
main()
File "pix2pix.py", line 627, in main
examples = load_examples()
File "pix2pix.py", line 261, in load_examples
reader = tf.WholeFileReader()
AttributeError: module 'tensorflow' has no attribute 'WholeFileReader'

h5 file

When I run the run.py I'm getting this error
The syntax of the command is incorrect.
Traceback (most recent call last):
File "run.py", line 41, in
model = load_model(modelFile)
File "C:\Users\hp-user\Anaconda3\envs\tensorflow_env\lib\site-packages\keras\engine\saving.py", line 417, in load_model
f = h5dict(filepath, 'r')
File "C:\Users\hp-user\Anaconda3\envs\tensorflow_env\lib\site-packages\keras\utils\io_utils.py", line 186, in init
self.data = h5py.File(path, mode=mode)
File "C:\Users\hp-user\Anaconda3\envs\tensorflow_env\lib\site-packages\h5py_hl\files.py", line 394, in init
swmr=swmr)
File "C:\Users\hp-user\Anaconda3\envs\tensorflow_env\lib\site-packages\h5py_hl\files.py", line 170, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'path/obama.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

h5 file

can you please provide the pretrained obama.h5 file, it was not in the pix2pix model dir

Mapping dlib mouth points to image for pix2pix model

Without the premade pix2pix model originally used in this repo, I have to make my own model.
How can I put the points given in the map "rawData" to the images of Obama with the mouth cut out?
similar to the frames of "results/input500ms.mp4"

Alternatively, could you upload your own pix2pix model?

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.