Commit 152b2f43 authored by Gihan Jayatilaka's avatar Gihan Jayatilaka

Upload New File

parent e626933c
import numpy as np
import sys
print("python fileName dataFileName noOfFrames XsaveName YsaveName")
file=np.load(sys.argv[1])
X=file["arr_0"]
Y=file["arr_1"]
np.save(sys.argv[3],X[0:int(sys.argv[2]),:,:,:])
np.save(sys.argv[4],Y[0:int(sys.argv[2]),:])
print('Done')
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