aboutsummaryrefslogtreecommitdiff
path: root/swr2_asr/train.py
diff options
context:
space:
mode:
authorPherkel2023-08-18 12:10:45 +0200
committerPherkel2023-08-18 12:10:45 +0200
commite2d8dc2a404062532f7d82cbf00fc9d12421027a (patch)
treeb242ff2f71403ce5a7e3e449be14d1c337f5b9ba /swr2_asr/train.py
parent58f07302989f945b109c0c69d9e96444514ef1a6 (diff)
fuck poetry with torch
Diffstat (limited to 'swr2_asr/train.py')
-rw-r--r--swr2_asr/train.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/swr2_asr/train.py b/swr2_asr/train.py
index e69de29..cfdef6b 100644
--- a/swr2_asr/train.py
+++ b/swr2_asr/train.py
@@ -0,0 +1,16 @@
+# import dataset
+# define model
+# define loss
+# define optimizer
+# train
+from AudioLoader.speech.mls import MultilingualLibriSpeech
+
+
+def main():
+ dataset = MultilingualLibriSpeech("./data", "mls_german_opus", "dev", download=True)
+
+ print(dataset[1])
+
+
+if __name__ == "__main__":
+ main()