RuntimeError: Given input size: (512x1x2). Calculated output size: (512x0x1). Output size is too small code example

Example: RuntimeError: Given input size: (512x1x7x7). Calculated output size: (512x0x4x4). Output size is too small

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.

Tags:

Misc Example