MichiganCOG / ViP

Video Platform for Action Recognition and Object Detection in Pytorch
MIT License
220 stars 37 forks source link

JSON documentation does not match implementation (frame_size) #1

Closed lemmersj closed 5 years ago

lemmersj commented 5 years ago

The detection_template.json file indicates that each individual frame should populate the frame_size parameter. However, when the file is read "KeyError: 'frame_size'" is returned, unless the frame size is a parameter nested directly under video (on the same level as base_path).

My guess is that the behavior is correct (since videos can't dynamically change size), but the documentation is incorrect.

ehofesmann commented 5 years ago

You're correct, it is supposed to be at the same level as base_path. The templates are being updated. Thanks!