哈喽,大家好,明天北京朝阳公园上午小明哥【就是寡人】粉丝见面会,欢迎到场,哈哈
接上一篇:https://blog.csdn.net/SPESEG/article/details/103732829
据我测试中发现,似乎是整个视频的帧都要进入模型,而最后的shape为一样的
torch.Size([1, 288, 224, 224])
这就不明觉厉了。难道所有不同帧的最后都是统一的??
但实际进入模型net的是
torch.Size([6, 16, 3, 224, 224])
So what's the meaning of the 6?
If I just set the frame num equal to 1,and the place will be 6 ?? the same shape ??
and torch.no_grad is similar to tf.Session ?
with torch.no_grad():
我已经将它的源码简化了,得到同样的结果,但是我想说torch的推断真的真的太慢了,我电脑CPU不行???