Write whole frames for cnn finetuning.