DarthReca commited on
Commit
4d42378
1 Parent(s): 4652df6

:lipstick: Added id to samples

Browse files
Files changed (1) hide show
  1. quakeset.py +1 -0
quakeset.py CHANGED
@@ -171,6 +171,7 @@ class QuakeSet(datasets.GeneratorBasedBuilder):
171
  )
172
 
173
  yield f"{sample_id}/{post_key}", {
 
174
  "pre_post_image": sample,
175
  "affected": label,
176
  "magnitude": np.float32(attributes["magnitude"]),
 
171
  )
172
 
173
  yield f"{sample_id}/{post_key}", {
174
+ "sample_id": f"{sample_id}/{post_key}",
175
  "pre_post_image": sample,
176
  "affected": label,
177
  "magnitude": np.float32(attributes["magnitude"]),