Hello everyone,
I have a question about my program, I make two nets, one is netaudio and the other is netvideo, the prediction is related with these two nets. I’m not sure what should I do when I calculate the prediction.
Should I do:
audioweight=Variable(netaudio(audio),requires_grad=True)
videoweight=Variable(netvideo(video),requires_grad=True)
prediction=(audioweight.mul(audio)+videoweight.mul(video)).cuda()
or should I just use:
prediction=(netaudio(audio).mul(audio)+netvideo(video).mul(video)).cuda()
Thank you very much,
Best regards
Wentao