@@ -99,7 +99,6 @@ def parse_args(args_input=None):
9999 parser .add_argument ('--local-midi-dirs' , metavar = 'midi_dir' , type = str ,
100100 nargs = '*' , help = 'directories containing midi files to '
101101 'include in the dataset' , default = [])
102- # TODO: check this works!
103102 parser .add_argument ('--local-csv-dirs' , metavar = 'csv_dir' , type = str ,
104103 nargs = '*' , help = 'directories containing csv files to '
105104 'include in the dataset' , default = [])
@@ -114,12 +113,10 @@ def parse_args(args_input=None):
114113 '--download-cache-dir and --clear-download-cache. To '
115114 'download no data, provide an input of "None"' ,
116115 )
117- # TODO: check this works!
118116 parser .add_argument ('--download-cache-dir' , type = str ,
119117 default = downloaders .DEFAULT_CACHE_PATH , help = 'The '
120118 'directory to use for storing intermediate downloaded '
121119 'data e.g. zip files, and prior to preprocessing.' )
122- # TODO: check this works!
123120 parser .add_argument ('--clear-download-cache' , action = 'store_true' ,
124121 help = 'clear downloaded data cache' )
125122 parser .add_argument ('--degradations' , metavar = 'deg_name' , nargs = '*' ,
@@ -136,7 +133,6 @@ def parse_args(args_input=None):
136133 parser .add_argument ('--min-notes' , metavar = 'N' , type = int , default = 10 ,
137134 help = 'The minimum number of notes required for an '
138135 'excerpt to be valid.' )
139- # TODO: check this works!
140136 parser .add_argument ('--degradation-kwargs' , metavar = 'json_string' ,
141137 help = 'json with keyword arguments for the '
142138 'degradation functions. First provide the degradation '
@@ -145,7 +141,6 @@ def parse_args(args_input=None):
145141 'kwarg. e.g. {"pitch_shift__distribution": "poisson", '
146142 '"pitch_shift__min_pitch: 5"}' ,
147143 type = json .loads , default = None )
148- # TODO: check this works!
149144 parser .add_argument ('--degradation-kwarg-json' , metavar = 'json_file' ,
150145 help = 'A file containing parameters as described in '
151146 '--degradation-kwargs. If this file is given, '
@@ -242,7 +237,6 @@ def parse_args(args_input=None):
242237
243238
244239 # Instantiate downloaders =================================================
245- # TODO: make OVERWRITE this an arg for the script
246240 OVERWRITE = None
247241 ds_names = ARGS .datasets
248242 if len (ds_names ) == 1 and ds_names [0 ].lower () == 'none' :
@@ -568,5 +562,4 @@ def parse_args(args_input=None):
568562
569563 print ('\n To reproduce this dataset again, run the script with argument '
570564 f'--seed { seed } ' )
571- #TODO: print('see the examples directory for baseline models using this data')
572565 print (LOGO )
0 commit comments