Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def dataLoadBatch(self, num_samples):
- X=[]
- Y=[]
- for h in range(0, num_samples):
- I = io.imread("data/images/salMap_{:05d}.jpg".format(h))
- X.append(I)
- labels = io.imread("data/salMap/salMap_{:05d}.jpg".format(h))[:,:,0]
- from google.colab import files
- uploaded = files.upload()
Add Comment
Please, Sign In to add comment