Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. f = open('/content/drive/My Drive/Help/list_bbox_celeba.txt', 'r')
  2. dataset = [];
  3. s = 0
  4. for i, line in enumerate(f):
  5. if(i == 0 or i == 1):
  6. continue
  7. s = line.split()
  8. dataset.append([s[0], [int(s[1]), int(s[2]), int(s[3]), int(s[4])]])
  9. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement