SHARE
TWEET

Untitled

a guest Dec 9th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top