maxardito commited on
Commit
45f7e75
1 Parent(s): 278c343

Replaced dataset paths

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitignore +3 -0
  2. beatbox.py +1 -4
  3. dataset/audio_test.tar.gz +2 -2
  4. dataset/audio_train.tar.gz +2 -2
  5. dataset/metadata_test.csv.gz +2 -2
  6. dataset/metadata_train.csv.gz +2 -2
  7. dataset/test/clap-020-a-1.wav +3 -0
  8. dataset/test/clap-020-a-2.wav +3 -0
  9. dataset/test/clap-020-a-3.wav +3 -0
  10. dataset/test/clap-020-a-4.wav +3 -0
  11. dataset/test/clap-020-a-5.wav +3 -0
  12. dataset/test/clap-020-a-6.wav +3 -0
  13. dataset/test/clap-020-a-7.wav +3 -0
  14. dataset/test/clap-020-a-8.wav +3 -0
  15. dataset/test/clap-020-a-9.wav +3 -0
  16. dataset/test/clap-020-n-1.wav +3 -0
  17. dataset/test/clap-020-n-2.wav +3 -0
  18. dataset/test/clap-020-n-3.wav +3 -0
  19. dataset/test/clap-020-n-4.wav +3 -0
  20. dataset/test/clap-020-n-5.wav +3 -0
  21. dataset/test/clap-020-n-6.wav +3 -0
  22. dataset/test/clap-020-n-7.wav +3 -0
  23. dataset/test/clap-020-n-8.wav +3 -0
  24. dataset/test/clap-020-n-9.wav +3 -0
  25. dataset/test/clap-020-o.wav +3 -0
  26. dataset/test/clap-020-p-1.wav +3 -0
  27. dataset/test/clap-020-p-2.wav +3 -0
  28. dataset/test/clap-020-p-3.wav +3 -0
  29. dataset/test/clap-020-p-4.wav +3 -0
  30. dataset/test/clap-020-p-5.wav +3 -0
  31. dataset/test/clap-020-p-6.wav +3 -0
  32. dataset/test/clap-020-p-7.wav +3 -0
  33. dataset/test/clap-020-p-8.wav +3 -0
  34. dataset/test/clap-020-p-9.wav +3 -0
  35. dataset/test/clap-020-t-1.wav +3 -0
  36. dataset/test/clap-020-t-2.wav +3 -0
  37. dataset/test/clap-020-t-3.wav +3 -0
  38. dataset/test/clap-020-t-4.wav +3 -0
  39. dataset/test/clap-020-t-5.wav +3 -0
  40. dataset/test/clap-020-t-6.wav +3 -0
  41. dataset/test/clap-020-t-7.wav +3 -0
  42. dataset/test/clap-020-t-8.wav +3 -0
  43. dataset/test/clap-020.wav +3 -0
  44. dataset/test/clap-021-a-1.wav +3 -0
  45. dataset/test/clap-021-a-2.wav +3 -0
  46. dataset/test/clap-021-a-3.wav +3 -0
  47. dataset/test/clap-021-a-4.wav +3 -0
  48. dataset/test/clap-021-a-5.wav +3 -0
  49. dataset/test/clap-021-a-6.wav +3 -0
  50. dataset/test/clap-021-a-7.wav +3 -0
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ dataset/metadata_test.csv
2
+ dataset/metadata_train.csv
3
+ dataset/beatbox/*
beatbox.py CHANGED
@@ -70,7 +70,7 @@ class BeatboxDataset(datasets.GeneratorBasedBuilder):
70
  audio_path[split]) if not dl_manager.is_streaming else None
71
  metadata_path[split] = dl_manager.download_and_extract(
72
  f"{_DATA_URL}/metadata_{split}.csv.gz")
73
- path_to_clips = "beatbox"
74
 
75
  return [
76
  datasets.SplitGenerator(
@@ -100,14 +100,11 @@ class BeatboxDataset(datasets.GeneratorBasedBuilder):
100
  metadata = {}
101
  with open(metadata_path, "r", encoding="utf-8") as f:
102
  reader = csv.DictReader(f)
103
- print("Metadata Path: ", metadata_path)
104
  for row in reader:
105
  if self.config.name == "_all_":
106
- print("Row[path]: ", row["path"])
107
  row["path"] = os.path.join(path_to_clips, row["path"])
108
  # if data is incomplete, fill with empty values
109
  for field in data_fields:
110
- print("Field: ", field)
111
  if field not in row:
112
  row[field] = ""
113
  metadata[row["path"]] = row
 
70
  audio_path[split]) if not dl_manager.is_streaming else None
71
  metadata_path[split] = dl_manager.download_and_extract(
72
  f"{_DATA_URL}/metadata_{split}.csv.gz")
73
+ path_to_clips = "."
74
 
75
  return [
76
  datasets.SplitGenerator(
 
100
  metadata = {}
101
  with open(metadata_path, "r", encoding="utf-8") as f:
102
  reader = csv.DictReader(f)
 
103
  for row in reader:
104
  if self.config.name == "_all_":
 
105
  row["path"] = os.path.join(path_to_clips, row["path"])
106
  # if data is incomplete, fill with empty values
107
  for field in data_fields:
 
108
  if field not in row:
109
  row[field] = ""
110
  metadata[row["path"]] = row
dataset/audio_test.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9c2ce2381df0b4619cf00fc6cd8af016eb0629de252d05dec1f34d5b83fe68a
3
- size 39984640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4b02eaba34458e9c0633a56186a0694e219abaa24778bdcb762ab7ac01b3e88
3
+ size 17192446
dataset/audio_train.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6259434a5aec83e11db689c15ef81eb82035e889ce390afa68fe169688ae874c
3
- size 146604544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30d0ca1e62cb613dcbc3031ad64791cbe7dc6382f6014e1e7cfd2c13b2582866
3
+ size 123856697
dataset/metadata_test.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:028da4ab47100c3887f536d9db9c385838684f55a1ad1157fb69228aae4716c9
3
- size 1456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea2369a94d3bebc6968ae3148221c2582e2223da9f5a4bfae6076ee1919c6739
3
+ size 72
dataset/metadata_train.csv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ea5c6e8cdd36fc6866c47e2bd689902fdf7e4f702f355addfd4cefc496da3ed
3
- size 13013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc75d06236abc5d403edc8125b460c82b93e57eeb41e6c329696dfbc226c379d
3
+ size 13067
dataset/test/clap-020-a-1.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ecf5b00a108c902e6b0da9ca6867d29bf8e5283eb6e18662a4eb32737f37f2f
3
+ size 82690
dataset/test/clap-020-a-2.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58bd927affb14f24c11c2559a33a29bf7aeadc24f5847cbc3d19371f7e529ceb
3
+ size 82690
dataset/test/clap-020-a-3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c26c25b5f20f1e3a789b30835d0e6859d56f7dda9776f93a08972101cd924c03
3
+ size 82690
dataset/test/clap-020-a-4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c84a933ca2a9456a126340073f8b79fb104541ee15b25aedf68b2931c8110253
3
+ size 82690
dataset/test/clap-020-a-5.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bc1eabca5e60bdb63b0bc1334ed05758055102c5bbd789562100d4dcf1f2c8b
3
+ size 82690
dataset/test/clap-020-a-6.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:611254c68d7ad92add55c4491bfefd35e954e1c82147cc174854afd2fa6a67fa
3
+ size 82690
dataset/test/clap-020-a-7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:197801c71175dd59f8208001c2651fc2039579ce2251b7b36d6911d1dd3c6772
3
+ size 82690
dataset/test/clap-020-a-8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:210547b450053a9fb9367a498b0d35c82a6264ab4b630de860ea1f7f35db1b04
3
+ size 82690
dataset/test/clap-020-a-9.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:297f4bf56000cc7cdd2a8f9df2ca7ceca900bb68a4f309e8964cc52b4b595638
3
+ size 82690
dataset/test/clap-020-n-1.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b44c2a983a3aa439455f79aadc3640bc1e2fd12e2e5d6cf24e99e8d139a1220
3
+ size 82690
dataset/test/clap-020-n-2.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b56eff5028c17c312f5fceddf5cb8aca3613ec8d369ffaa3b24852ff36fbf2e
3
+ size 82690
dataset/test/clap-020-n-3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77290f7aacd985e28a5936af0f3eb916ba51979cd26c2d2110e8e08ba01fdb84
3
+ size 82690
dataset/test/clap-020-n-4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea2fa4bc1714f9ba1d8a56d1071facb6f7416e431f4f2eca048c0d3f50fbd574
3
+ size 82690
dataset/test/clap-020-n-5.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad340447773201b223f7ff69b09fefc1c2eccc2a5a8d980344f744b6fd37fa8
3
+ size 82690
dataset/test/clap-020-n-6.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6662d481c31ffc2290f3eb7293855aa2bdd85e5b32c39a8bfc97bd13550eea5a
3
+ size 82690
dataset/test/clap-020-n-7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62d96f98ec30259b706b7a8369967635562a50453ebf6ae48b6f2d776c992b4c
3
+ size 82690
dataset/test/clap-020-n-8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0e80a24bdfaa72453e08bd981974e64e127782c432fdd557078712a9fcc45f0
3
+ size 82690
dataset/test/clap-020-n-9.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15a0cbcd58d7c9ff5e981e3f91b0b588a420207a1d4b48f41d7ca062304cb45d
3
+ size 82690
dataset/test/clap-020-o.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd8e105a653511fa4af470833cadd5932caf7b91bec8a492b47fc988b1c946b9
3
+ size 82690
dataset/test/clap-020-p-1.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:689f81c09b930fc03a6a160ada638d53545bca7d4a10647fd0a8d737a63891fe
3
+ size 82690
dataset/test/clap-020-p-2.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264a6ee03cb963a9d7d14161a25e6172c88eba00867c0d4340860da3346c259c
3
+ size 82690
dataset/test/clap-020-p-3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3909989e6890f33c337a688fe6a7b37657623540295703e480699ff9254817a
3
+ size 82690
dataset/test/clap-020-p-4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3909989e6890f33c337a688fe6a7b37657623540295703e480699ff9254817a
3
+ size 82690
dataset/test/clap-020-p-5.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24e3cefbb76ef72fd6fdf788420f759524a11474b8a83f5b978743ce473e3fd9
3
+ size 82690
dataset/test/clap-020-p-6.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24e3cefbb76ef72fd6fdf788420f759524a11474b8a83f5b978743ce473e3fd9
3
+ size 82690
dataset/test/clap-020-p-7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4633702f3bf3629ff8cf0b4df748a40e0c2760a8b7579e0665442d03e97fa01d
3
+ size 82690
dataset/test/clap-020-p-8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60bc054e022af39ebe9058f368caa80a633457269e60783b7b07a4f49980934
3
+ size 82690
dataset/test/clap-020-p-9.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ec4e8a3cdaaf5fbface3adc5504fe9b67ed6beb21771ff699b1444050b77e9c
3
+ size 82690
dataset/test/clap-020-t-1.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:605550ee9ec9f9af5f771fb7fc9ab027d60649a4f5624394da61e48c42e2a100
3
+ size 95182
dataset/test/clap-020-t-2.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b8aa382ba0069ce1cc74784236b763ada4ab69479272e5cb942ab6be53e492e
3
+ size 93750
dataset/test/clap-020-t-3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77102964ad5b1c4e959ab39957aaa5a029a8795fe5559c51ea40b23deb1eb3e7
3
+ size 86490
dataset/test/clap-020-t-4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f47fffbe80e7cc915d2abe3d65d8d4127ac87476147f5dc468627c621b79bc08
3
+ size 81634
dataset/test/clap-020-t-5.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ea1b1a9b7e7940d2942e80ffba42fb66c5d6fdb81dc163c98bd498a46faf931
3
+ size 86606
dataset/test/clap-020-t-6.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:870e15868c22d93a598b84733c28beedc5694f7bce4dfe9425bddd2ab0bfa197
3
+ size 88926
dataset/test/clap-020-t-7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9f43c2ceb7fcbc8f3a689f7b58b22a94d9fe820029c640f03d9550645bf6770
3
+ size 93586
dataset/test/clap-020-t-8.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de8a31ff59032eca701fbae4f53020efd4f44427882b6fa7ec7a21ce9d3a00c
3
+ size 89374
dataset/test/clap-020.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4c6a1734ac319c4c62e3675b890fdaf01b024de397b83ba8f95671f161eb69b
3
+ size 165308
dataset/test/clap-021-a-1.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca9fd89806e8ac7354d3e2cc70ab3eed415a9cc64f8ceade4e7b8f23d4ab56a1
3
+ size 64330
dataset/test/clap-021-a-2.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35ae61708f2fd7ceaf8450306cb8759848f17bd094af6548c4a79466b8990c40
3
+ size 64330
dataset/test/clap-021-a-3.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cea67b0bfbf813a46b1b4b3570871d76ea9e3f031d1a59548f19e6ee6f866cd7
3
+ size 64330
dataset/test/clap-021-a-4.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3bcfa000dda94bec733f770f8e463eadbccee73f57e6ee2465621c9f9fa8270
3
+ size 64330
dataset/test/clap-021-a-5.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95fa3e26652b7171978b2a49a598e7b0e41f40a3c00bdb8da93ef5bf1315a6c
3
+ size 64330
dataset/test/clap-021-a-6.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cae449dfdea1662fb520e9cfd67b3b8d75191257b9371885ea478ce52e03c2d
3
+ size 64330
dataset/test/clap-021-a-7.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adc99a5a72ed0f4dcf14a8168621c228886b189de881c0b69331c12e2a9733bb
3
+ size 64330