'Convert video data from .npz to video

I'm using a video data set compressed in several sets of .npz files. When it is explored, you can see two files in each .npz: 'name1', 'name2'.

name1 - shape: (8, 8, 140, 210, 3) (I asume: batches, frames, height, width, channels) name2 - shape: (8, 2) (I asume this might be tags)

How can I read this info for using it in a machine learning model?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source