yousaidthat
yousaidthat copied to clipboard
Get Wrong answer when experimenting your code
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
Could you please give me some advice? I havent change any codes in the demo . Thank you very much.