yousaidthat icon indicating copy to clipboard operation
yousaidthat copied to clipboard

Get Wrong answer when experimenting your code

Open chenzeyin9867 opened this issue 4 years ago • 0 comments

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.

chenzeyin9867 avatar Mar 15 '20 11:03 chenzeyin9867