Commit 57d3da38 authored by Gihan Jayatilaka's avatar Gihan Jayatilaka

Upload New File

parent 152b2f43
import numpy as np
import sys
import cv2
data=np.load("data_256_5_mix.npz")
X=data['arr_0']
Y=data['arr_0']
#idx=int(sys.argv[1])
for i in range(0,1000):
cv2.imwrite('./pics/frame{}.jpg'.format(i),X[i,:,:,:])
#print(Y[idx,:])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment