Respair commited on
Commit
afd0159
·
verified ·
1 Parent(s): 4fa304f

Update dune_extraction.py

Browse files
Files changed (1) hide show
  1. dune_extraction.py +2 -2
dune_extraction.py CHANGED
@@ -35,7 +35,7 @@ DATASET_CONFIG = None
35
  DATASET_SPLIT = "train"
36
 
37
 
38
- # must contain the same bridge key and the expensive audio column. if your metadata (aka DATASET_SOURCE) is not a subsection of this, you can just copy DATASET_SOURCE here.
39
  AUDIO_DATASET_SOURCE = ["/home/ubuntu/data"]
40
  AUDIO_DATASET_CONFIG = None
41
  AUDIO_DATASET_SPLIT = "train"
@@ -66,7 +66,7 @@ TARGET_SAMPLE_RATE = 22050
66
  INFERENCE_DTYPE = torch.bfloat16
67
 
68
 
69
- MAX_AUDIO_DURATION_SECONDS = 31.0 # tweak this for your own data
70
 
71
 
72
 
 
35
  DATASET_SPLIT = "train"
36
 
37
 
38
+ # if your metadata and audio dataset are the same, copy DATASET_SOURCE here, otherwise ensure you have a index column (like `key`) so these two can be joined
39
  AUDIO_DATASET_SOURCE = ["/home/ubuntu/data"]
40
  AUDIO_DATASET_CONFIG = None
41
  AUDIO_DATASET_SPLIT = "train"
 
66
  INFERENCE_DTYPE = torch.bfloat16
67
 
68
 
69
+ MAX_AUDIO_DURATION_SECONDS = 30.0 # if your clips are capped at another length, tweak it here.
70
 
71
 
72