help='Path to instrumental model. Constants are extracted from the file name (to disable, set --customParameters to True)')
# -Settings-
arguments={
'gpuConversion':{
'flags':['-gpu','--gpuConversion'],
'help':'Use GPU acceleration (CUDA).',
'type':bool,
},
'postProcess':{
'flags':['-post','--postProcess'],
'help':'[Only v4] This option can potentially identify leftover instrumental artifacts within the vocal outputs. This option may improve the separation on some songs.',
'type':bool,
},
'tta':{
'flags':['-tta','--tta'],
'help':'This option performs Test-Time-Augmentation to improve the separation quality.',
'type':bool,
},
'outputImage':{
'flags':['-image','--outputImage'],
'help':'Selecting this option will include the spectrograms in .jpg format for the instrumental & vocal audio outputs.',
'type':bool,
},
'resType':{
'flags':['-res','--resolutionType'],
'help':"(Choose from 'kaiser_fast', 'kaiser_best', 'scipy') Type of spectogram used by the program.",
'type':str,
'choices':['kaiser_fast','kaiser_best','scipy']
},
'modelFolder':{
'flags':['-modelFolder','--modelTestMode'],
'help':'This option structures the model testing process by creating a folder in the export path named after the model/s used in the seperation and saving the audio files there.',
'type':bool,
},
'stackModel':{
'flags':['-stack','--stackModel'],
'help':'Path to stack model used in the stack passes. Constants are extracted from the file name (to disable, set --customParameters to True)',
'type':str,
},
'stackPasses':{
'flags':['-stackPasses','--stackPasses'],
'help':'Set the number of times a track runs through a stacked model.',
'type':int,
},
'stackOnly':{
'flags':['-stackOnly','--stackOnly'],
'help':'Selecting this option allows the user to bypass the main model and run a track through a stacked model only.',
'type':bool,
},
'saveAllStacked':{
'flags':['-stackSave','--saveAllStacked'],
'help':'Having this option selected will auto-generate a new folder named after the track being processed to your export path. The new folder will contain all of the outputs that were generated after each stack pass.',
'type':bool,
},
'customParameters':{
'flags':['-custom','--customParameters'],
'help':'Allows you to set custom parameters (SR, HOP LENGNTH, & N_FFT) instead of using the ones appended to the model filenames',
f'Extracted Keys do not equal keys set by default converter!\nExtracted Keys: {sorted(list(seperation_data.keys()))}\nShould be Keys: {sorted(list(default_data.keys()))}')