Guest User

Untitled

a guest
Jul 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. def dataLoadBatch(self, num_samples):
  2. X=[]
  3. Y=[]
  4. for h in range(0, num_samples):
  5. I = io.imread("data/images/salMap_{:05d}.jpg".format(h))
  6. X.append(I)
  7. labels = io.imread("data/salMap/salMap_{:05d}.jpg".format(h))[:,:,0]
  8.  
  9. from google.colab import files
  10. uploaded = files.upload()
Add Comment
Please, Sign In to add comment