vkashko commited on
Commit
94668dc
1 Parent(s): 58653e4

bug: replace bad images

Browse files
Files changed (2) hide show
  1. data/data.tar.gz +2 -2
  2. selfie_and_video.py +1 -1
data/data.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0fd47ad7ecde8521aefe9839ea77553f5534c89f68f50de037267217a51c1e3d
3
- size 829579119
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ac032d524f4d5e3888b2554870f64fce77929d1c62f1fca1cf2b896d3929a81
3
+ size 830022642
selfie_and_video.py CHANGED
@@ -77,6 +77,7 @@ class SelfieAndVideo(datasets.GeneratorBasedBuilder):
77
  images_data,
78
  on=['Link'],
79
  how='left')
 
80
  for idx, worker_id in enumerate(pd.unique(annotations_df['WorkerId'])):
81
  annotation = annotations_df.loc[annotations_df['WorkerId'] ==
82
  worker_id]
@@ -89,7 +90,6 @@ class SelfieAndVideo(datasets.GeneratorBasedBuilder):
89
  } if row[7].lower().endswith('.jpg') else row[7])
90
  for row in annotation.itertuples()
91
  }
92
- print(annotation.head(8))
93
 
94
  age = annotation.loc[annotation['Link'].str.lower().str.endswith(
95
  '1.jpg')]['Age'].values[0]
 
77
  images_data,
78
  on=['Link'],
79
  how='left')
80
+
81
  for idx, worker_id in enumerate(pd.unique(annotations_df['WorkerId'])):
82
  annotation = annotations_df.loc[annotations_df['WorkerId'] ==
83
  worker_id]
 
90
  } if row[7].lower().endswith('.jpg') else row[7])
91
  for row in annotation.itertuples()
92
  }
 
93
 
94
  age = annotation.loc[annotation['Link'].str.lower().str.endswith(
95
  '1.jpg')]['Age'].values[0]