Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Wrong answer when experimenting your code #3

Open
chenzeyin9867 opened this issue Mar 15, 2020 · 0 comments
Open

Get Wrong answer when experimenting your code #3

chenzeyin9867 opened this issue Mar 15, 2020 · 0 comments

Comments

@chenzeyin9867
Copy link

First thank you for your nice idea for generating the talking face form a unknow audio.When I try to run your demo, I got wrong answer and i have no idea what's the problem.Here is the problem.

    mfcc = gpuArray(repmat(single(C (2:13,j:j+34)),1,1,1,numface));
    net.eval({'input_audio',mfcc,'input_face',faceY});
    im = gather(net.getVar('prediction').value);
    netR.eval({'input_lip',gpuArray(im)});
    imb         = gather(netR.vars(end).value);
    imR3        = imtile(imresize((im+imb),[109 109]),numcol,numrow);
    imO3        = imtile(imresize(im,[109 109]),numcol,numrow);

No matter what the mfcc and faceY is , I got the im all equal to 0.5, and got the imb all equal to 0.0, so in the end i got the imR3 all equal to 0.5. At last I got a image with full 0.5 value pixel which result in a gray pic.Here is the result

0920b253d7cff904aa5354130f30a55

eb78e4348302e1f0ab9c000b7c9c08c

Could you please give me some advice? I havent change any codes in the demo . Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant