📜  RuntimeError:给定输入大小:(512x1x7x7).计算的输出大小:(512x0x4x4).输出大小太小 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:59.004000             🧑  作者: Mango

代码示例1
For error: RuntimeError: Given input size: (512x1x7x7). Calculated output size: (512x0x4x4). Output size is too small

If you are using C3D, that architecture requires minimum clip length of 16 frames.

You can see our pre-processing options here: https://github.com/MichiganCOG/ViP/blob/master/datasets/abstract_datasets.py#L61
By default, we loop clips that are below the minimum requirement.