As the snippet below illustrates, I am writing a bunch of Numpy arrays with shapes (3, 225, 400) into a binary file sequentially.
with open("frames"