Add files using upload-large-folder tool
Browse filesFiles changed (11)
- .gitattributesAdded+29
- assets/__pycache__/model_tools.cpython-313.pycAdded
- assets/calculate-model-hashes.py+2-86
- assets/download_models.py+3-70
- assets/json_link_processor.py+3-13
- assets/list_duplicate_remove.pyAdded+9
- assets/luvr5-ui-models.txtAdded+248
- assets/model_data/mdx_model_data.jsonAdded+384
- assets/model_tools.pyAdded+291
- assets/model_url_sorter.py+2-41
- assets/upload_models.py+3-43
1234567891011121314151617181920212223242526272829MGM_LOWEND_A_v4.pth filter=lfs diff=lfs merge=lfs -textUVR-BVE-4B_SN-44100-2.pth filter=lfs diff=lfs merge=lfs -textMGM_HIGHEND_v4.pth filter=lfs diff=lfs merge=lfs -textMelBandRoformerSYHFTV2.5.ckpt filter=lfs diff=lfs merge=lfs -textMelBandRoformerSYHFTV2.ckpt filter=lfs diff=lfs merge=lfs -textMGM_MAIN_v4.pth filter=lfs diff=lfs merge=lfs -textMGM_LOWEND_B_v4.pth filter=lfs diff=lfs merge=lfs -text9_HP2-UVR.pth filter=lfs diff=lfs merge=lfs -textmel_band_roformer_instrumental_fullness_v1_gabox.ckpt filter=lfs diff=lfs merge=lfs -text4_HP-Vocal-UVR.pth filter=lfs diff=lfs merge=lfs -text5_HP-Karaoke-UVR.pth filter=lfs diff=lfs merge=lfs -text6_HP-Karaoke-UVR.pth filter=lfs diff=lfs merge=lfs -text3_HP-Vocal-UVR.pth filter=lfs diff=lfs merge=lfs -text2_HP-UVR.pth filter=lfs diff=lfs merge=lfs -text1_HP-UVR.pth filter=lfs diff=lfs merge=lfs -text7_HP2-UVR.pth filter=lfs diff=lfs merge=lfs -textMelBandRoformerSYHFT.ckpt filter=lfs diff=lfs merge=lfs -textmel_band_roformer_instrumental_bleedless_v2_gabox.ckpt filter=lfs diff=lfs merge=lfs -text8_HP2-UVR.pth filter=lfs diff=lfs merge=lfs -textmel_band_roformer_instrumental_fullness_noise_v4_gabox.ckpt filter=lfs diff=lfs merge=lfs -textUVR-DeNoise-Lite.pth filter=lfs diff=lfs merge=lfs -textUVR-DeEcho-DeReverb.pth filter=lfs diff=lfs merge=lfs -textmel_band_roformer_instrumental_bleedless_v3_gabox.ckpt filter=lfs diff=lfs merge=lfs -textMelBandRoformerBigSYHFTV1.ckpt filter=lfs diff=lfs merge=lfs -textUVR-De-Reverb-aufr33-jarredou.pth filter=lfs diff=lfs merge=lfs -textMelBandRoformerSYHFTV3Epsilon.ckpt filter=lfs diff=lfs merge=lfs -textUVR-De-Echo-Normal.pth filter=lfs diff=lfs merge=lfs -textUVR-De-Echo-Aggressive.pth filter=lfs diff=lfs merge=lfs -textUVR-BVE-4B_SN-44100-1.pth filter=lfs diff=lfs merge=lfs -text4 unmodified lines56789105 unmodified lines1617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041054 unmodified linesimport jsonimport hashlibimport requestsMODEL_CACHE_PATH = "/tmp/audio-separator-models"VR_MODEL_DATA_LOCAL_PATH = f"{MODEL_CACHE_PATH}/vr_model_data.json"5 unmodified linesOUTPUT_PATH = f"{MODEL_CACHE_PATH}/model_hashes.json"def get_model_hash(model_path):"""Get the hash of a model file"""# print(f"Getting hash for model at {model_path}")try:with open(model_path, "rb") as f:f.seek(-10000 * 1024, 2) # Move the file pointer 10MB before the end of the filehash_result = hashlib.md5(f.read()).hexdigest()# print(f"Hash for {model_path}: {hash_result}")return hash_resultexcept IOError:with open(model_path, "rb") as f:hash_result = hashlib.md5(f.read()).hexdigest()# print(f"IOError encountered, hash for {model_path}: {hash_result}")return hash_resultdef download_file_if_missing(url, local_path):"""Download a file from a URL if it doesn't exist locally"""print(f"Checking if {local_path} needs to be downloaded from {url}")if not os.path.exists(local_path):print(f"Downloading {url} to {local_path}")with requests.get(url, stream=True, timeout=10) as r:r.raise_for_status()with open(local_path, "wb") as f:for chunk in r.iter_content(chunk_size=8192):f.write(chunk)print(f"Downloaded {url} to {local_path}")else:print(f"{local_path} already exists. Skipping download.")def load_json_data(file_path):"""Load JSON data from a file"""print(f"Loading JSON data from {file_path}")try:with open(file_path, "r", encoding="utf-8") as file:data = json.load(file)print(f"Loaded JSON data successfully from {file_path}")return dataexcept FileNotFoundError:print(f"{file_path} not found.")sys.exit(1)def iterate_and_hash(directory):"""Iterate through a directory and hash all model files"""print(f"Iterating through directory {directory} to hash model files")model_files = [(file, os.path.join(root, file)) for root, _, files in os.walk(directory) for file in files if file.endswith((".pth", ".onnx"))]download_file_if_missing(VR_MODEL_DATA_URL, VR_MODEL_DATA_LOCAL_PATH)download_file_if_missing(MDX_MODEL_DATA_URL, MDX_MODEL_DATA_LOCAL_PATH)vr_model_data = load_json_data(VR_MODEL_DATA_LOCAL_PATH)mdx_model_data = load_json_data(MDX_MODEL_DATA_LOCAL_PATH)combined_model_params = {**vr_model_data,**mdx_model_data,}model_info_list = []for file, file_path in sorted(model_files):file_hash = get_model_hash(file_path)model_info = {"file": file,"hash": file_hash,"params": combined_model_params.get(file_hash, "Parameters not found"),}model_info_list.append(model_info)print(f"Writing model info list to {OUTPUT_PATH}")with open(OUTPUT_PATH, "w", encoding="utf-8") as json_file:json.dump(model_info_list, json_file, indent=4)print(f"Successfully wrote model info list to {OUTPUT_PATH}")if __name__ == "__main__":iterate_and_hash(MODEL_CACHE_PATH)4 unmodified lines5678910115 unmodified lines17181920214 unmodified linesimport jsonimport hashlibimport requestsimport assets.model_tools as mtMODEL_CACHE_PATH = "/tmp/audio-separator-models"VR_MODEL_DATA_LOCAL_PATH = f"{MODEL_CACHE_PATH}/vr_model_data.json"5 unmodified linesOUTPUT_PATH = f"{MODEL_CACHE_PATH}/model_hashes.json"if __name__ == "__main__":mt.iterate_and_hash(MODEL_CACHE_PATH)
1 unmodified line234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818 unmodified lines9091929394951 unmodified lineimport osimport argparsefrom huggingface_hub import snapshot_downloadREPO_OWNER = "lainlives"REPO_NAME = "audio-separator-models"repo_type = "model"def download_files_from_txt(filename, local_dir):"""Reads a text file containing a list of URLs and downloads each,skipping any that already exist in the local directory."""if not os.path.exists(filename):print(f"Error: {filename} not found.")return# Create the directory if it doesn't existif local_dir and not os.path.exists(local_dir):os.makedirs(local_dir)with open(filename, "r") as f:urls = [line.strip() for line in f if line.strip()]print(f"Found {len(urls)} links to process.")for url in urls:# Determine local filenamebase_name = url.split("/")[-1] or "downloaded_file"local_filename = os.path.join(local_dir, base_name) if local_dir else base_name# SKIP if file already existsif os.path.isfile(local_filename):print(f"⏭️ Skipping (already exists): {local_filename}")continuetry:print(f"Downloading: {local_filename} from {url}")response = requests.get(url, allow_redirects=True, stream=True)response.raise_for_status()with open(local_filename, "wb") as file:for chunk in response.iter_content(chunk_size=8192):file.write(chunk)print(f"✅ Successfully downloaded: {local_filename}")except requests.exceptions.RequestException as e:print(f"❌ Failed to download {url}: {e}")except Exception as e:print(f"An unexpected error occurred while processing {url}: {e}")def download_hf_repo(repo_id, local_dir, repo_type, token):if not token:token = os.getenv("HF_TOKEN")"""Downloads an entire Hugging Face repository to a specified local directory."""print(f"Downloading {repo_id} to {local_dir}...")# Ensure the target directory existsos.makedirs(local_dir, exist_ok=True)# Download the snapshotdownloaded_path = snapshot_download(repo_id=repo_id,local_dir=local_dir,token=token,local_dir_use_symlinks=False, # Set to False to ensure actual files are moved to local_dirrepo_type=repo_type,)print(f"Download complete! Files are located in: {downloaded_path}")return downloaded_pathif __name__ == "__main__":token = os.getenv("HF_TOKEN")repo_id = f"{REPO_OWNER}/{REPO_NAME}"8 unmodified lines)args = parser.parse_args()if args.fromtxt:download_files_from_txt("assets/links.txt", local_dir)else:download_hf_repo(repo_id, local_dir, token)1 unmodified line2345678910111213148 unmodified lines2324252627281 unmodified lineimport osimport argparsefrom huggingface_hub import snapshot_downloadimport assets.model_tools as mtREPO_OWNER = "lainlives"REPO_NAME = "audio-separator-models"repo_type = "model"if __name__ == "__main__":token = os.getenv("HF_TOKEN")repo_id = f"{REPO_OWNER}/{REPO_NAME}"8 unmodified lines)args = parser.parse_args()if args.fromtxt:mt.download_files_from_txt("assets/links.txt", local_dir)else:mt.download_hf_repo(repo_id, local_dir, token)
1234567891011121314151617import jsonimport urllib.requestimport os# 1. Load the JSON data# Ensure 'models.json' is in your current directorytry:with open("models.json", "r") as file:data = json.load(file)except FileNotFoundError:print("Error: 'models.json' not found.")data = {}# 2. Process and Downloadfor model_name, links in data.items():if not isinstance(links, list) or len(links) == 0:continue1234567import jsonimport urllib.requestimport osimport assets.model_tools as mtif __name__ == "__main__":mt.get_links_from_json("models.json")
123456789import assets.model_tools as mt
# --- Example Usage ---# Make sure you have a file named 'input_data.txt' in the same directoryinput_filename = "file.txt"output_filename = "processed_links.txt"
if __name__ == "__main__": mt.remove_duplicate_lines(input_filename, output_filename)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248https://huggingface.co/lainlives/audio-separator-models/resolve/main/config_aspiration_mel_band_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_aspiration_mel_band_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_instrumental_resurrection_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_vocals_resurrection_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_vocals_revive_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_vocals_revive_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_bs_roformer_vocals_revive_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_chorus_male_female_bs_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_chorus_male_female_bs_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb-echo_mel_band_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb-echo_mel_band_roformer_sdr_13.4843_v2.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb_echo_mel_band_roformer_v2.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb_echo_mel_band_roformer_v2.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb_echo_mel_band_roformer_v2.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_dereverb_mdx23c.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_drumsep_mdx23c.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_bleed_suppressor_v1.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_becruily.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_instrumental_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_karaoke_becruily.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_karaoke_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_karaoke_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_kim_ft_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_kim_ft_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_kim_ft_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_kim_ft_unwa.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocal_fullness_aname.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_becruily.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_mel_band_roformer_vocals_gabox.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melband_roformer_big_beta5e.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_big_beta4.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_big_beta6.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_big_beta6x.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_inst.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_inst.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_inst.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_inst.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_inst_v2.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_instvoc_duality.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_melbandroformer_instvoc_duality.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_vocals_mel_band_roformer_big_v1_ft.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_vocals_mel_band_roformer_ft.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_vocals_mel_band_roformer_ft.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_vocals_mel_band_roformer_ft.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/config_vocals_mel_band_roformer_ft.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/denoise_mel_band_roformer_aufr33_aggr_sdr_27.9768_config.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/denoise_mel_band_roformer_aufr33_sdr_27.9959_config.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_anvuew.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_anvuew.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_anvuew.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/deverb_bs_roformer_8_384dim_10depth_config.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_crowd_aufr33_viperx_sdr_8.7144_config.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_karaoke_aufr33_viperx_sdr_10.1956_config.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_2_stem_061321.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_2_stem_full_band_8k.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_2_stem_full_band_8k.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_317_sdr_12.9755.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_368_sdr_12.9628.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_937_sdr_10.5309.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_mel_band_roformer_ep_3005_sdr_11.4360.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/vocals_mel_band_roformer.yamlhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/10_SP-UVR-2B-32000-1.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/11_SP-UVR-2B-32000-2.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/12_SP-UVR-3B-44100.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/13_SP-UVR-4B-44100-1.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/14_SP-UVR-4B-44100-2.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/15_SP-UVR-MID-44100-1.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/16_SP-UVR-MID-44100-2.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/17_HP-Wind_Inst-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/1_HP-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/2_HP-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/3_HP-Vocal-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/4_HP-Vocal-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/5_HP-Karaoke-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/6_HP-Karaoke-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/7_HP2-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/8_HP2-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/9_HP2-UVR.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MGM_HIGHEND_v4.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MGM_LOWEND_A_v4.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MGM_LOWEND_B_v4.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MGM_MAIN_v4.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-BVE-4B_SN-44100-1.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-BVE-4B_SN-44100-2.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-De-Echo-Aggressive.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-De-Echo-Normal.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-De-Reverb-aufr33-jarredou.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-DeEcho-DeReverb.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-DeNoise-Lite.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-DeNoise.pthhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MDX23C-8KFFT-InstVoc_HQ.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MDX23C-8KFFT-InstVoc_HQ_2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MDX23C-De-Reverb-aufr33-jarredou.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MDX23C-DrumSep-aufr33-jarredou.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MDX23C_D1581.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MelBandRoformerBigSYHFTV1.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MelBandRoformerSYHFT.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MelBandRoformerSYHFTV2.5.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MelBandRoformerSYHFTV2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/MelBandRoformerSYHFTV3Epsilon.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/aspiration_mel_band_roformer_less_aggr_sdr_18.1201.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/aspiration_mel_band_roformer_sdr_18.9845.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_instrumental_resurrection_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_male_female_by_aufr33_sdr_7.2889.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_vocals_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_vocals_resurrection_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_vocals_revive_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_vocals_revive_v2_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/bs_roformer_vocals_revive_v3e_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/denoise_mel_band_roformer_aufr33_aggr_sdr_27.9768.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/denoise_mel_band_roformer_aufr33_sdr_27.9959.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb-echo_mel_band_roformer_sdr_10.0169.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb-echo_mel_band_roformer_sdr_13.4843_v2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_big_mbr_ep_362.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_echo_mbr_fused.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_anvuew_sdr_19.1729.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_less_aggressive_anvuew_sdr_18.8050.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_mel_band_roformer_mono_anvuew.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/dereverb_super_big_mbr_ep_346.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/deverb_bs_roformer_8_384dim_10depth.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_bleed_suppressor_v1.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_crowd_aufr33_viperx_sdr_8.7144.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_denoise_debleed_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_2_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_3_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_becruily.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_bleedless_v1_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_bleedless_v2_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_bleedless_v3_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fullness_noise_v4_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fullness_v1_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fullness_v2_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fullness_v3_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fv7z_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fv8_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_fvx_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv5_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv5n_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv6_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv6n_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv7_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv7n_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv8_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_instrumental_instv8n_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_karaoke_aufr33_viperx_sdr_10.1956.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_karaoke_becruily.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_karaoke_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_karaoke_gabox_v2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_kim_ft2_bleedless_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_kim_ft2_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_kim_ft3_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_kim_ft_unwa.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocal_fullness_aname.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_becruily.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv1_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv2_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv3_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv4_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv5_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_fv6_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/mel_band_roformer_vocals_v2_gabox.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_big_beta4.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_big_beta5e.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_big_beta6.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_big_beta6x.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_inst_v1.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_inst_v1_plus.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_inst_v1e.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_inst_v1e_plus.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_inst_v2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_instvoc_duality_v1.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/melband_roformer_instvox_duality_v2.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_317_sdr_12.9755.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_368_sdr_12.9628.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_bs_roformer_ep_937_sdr_10.5309.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_chorus_bs_roformer_ep_267_sdr_24.1275.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/model_mel_band_roformer_ep_3005_sdr_11.4360.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/vocals_mel_band_roformer.ckpthttps://huggingface.co/lainlives/audio-separator-models/resolve/main/Kim_Inst.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/Kim_Vocal_1.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/Kim_Vocal_2.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/Reverb_HQ_By_FoxJoy.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_1.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_2.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_3.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_HQ_1.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_HQ_2.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_HQ_3.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_HQ_4.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_HQ_5.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_Main.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Inst_full_292.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET-Voc_FT.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Crowd_HQ_1.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Inst_187_beta.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Inst_82_beta.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Inst_90_beta.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Main_340.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Main_390.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Main_406.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Main_427.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR-MDX-NET_Main_438.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_1_9703.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_2_9682.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_3_9662.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_9482.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_KARA.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_KARA_2.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/UVR_MDXNET_Main.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_a_bass.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_a_drums.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_a_other.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_a_vocals.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_b_bass.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_b_drums.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_b_other.onnxhttps://huggingface.co/lainlives/audio-separator-models/resolve/main/kuielab_b_vocals.onnx123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384{
"0ddfc0eb5792638ad5dc27850236c246": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"26d308f91f3423a67dc69a6d12a8793d": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 9,
"mdx_n_fft_scale_set": 8192,
"primary_stem": "Other"
},
"2cdd429caac38f0194b133884160f2c6": {
"compensate": 1.045,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"2f5501189a2f6db6349916fabe8c90de": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals",
"is_karaoke": true
},
"398580b6d5d973af3120df54cee6759d": {
"compensate": 1.75,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"488b3e6f8bd3717d9d7c428476be2d75": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"4910e7827f335048bdac11fa967772f9": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 7,
"mdx_n_fft_scale_set": 4096,
"primary_stem": "Drums"
},
"53c4baf4d12c3e6c3831bb8f5b532b93": {
"compensate": 1.043,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"5d343409ef0df48c7d78cce9f0106781": {
"compensate": 1.075,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"5f6483271e1efb9bfb59e4a3e6d4d098": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 9,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"65ab5919372a128e4167f5e01a8fda85": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 8192,
"primary_stem": "Other"
},
"6703e39f36f18aa7855ee1047765621d": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 9,
"mdx_n_fft_scale_set": 16384,
"primary_stem": "Bass"
},
"6b31de20e84392859a3d09d43f089515": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"867595e9de46f6ab699008295df62798": {
"compensate": 1.03,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"a3cd63058945e777505c01d2507daf37": {
"compensate": 1.03,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"b33d9b3950b6cbf5fe90a32608924700": {
"compensate": 1.03,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"c3b29bdce8c4fa17ec609e16220330ab": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 16384,
"primary_stem": "Bass"
},
"ceed671467c1f64ebdfac8a2490d0d52": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"d2a1376f310e4f7fa37fb9b5774eb701": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"d7bff498db9324db933d913388cba6be": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"d94058f8c7f1fae4164868ae8ae66b20": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Vocals"
},
"dc41ede5961d50f277eb846db17f5319": {
"compensate": 1.035,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 9,
"mdx_n_fft_scale_set": 4096,
"primary_stem": "Drums"
},
"e5572e58abf111f80d8241d2e44e7fa4": {
"compensate": 1.028,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"e7324c873b1f615c35c1967f912db92a": {
"compensate": 1.03,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"1c56ec0224f1d559c42fd6fd2a67b154": {
"compensate": 1.025,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 5120,
"primary_stem": "Instrumental"
},
"f2df6d6863d8f435436d8b561594ff49": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"b06327a00d5e5fbc7d96e1781bbdb596": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"94ff780b977d3ca07c7a343dab2e25dd": {
"compensate": 1.039,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"73492b58195c3b52d34590d5474452f6": {
"compensate": 1.043,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"970b3f9492014d18fefeedfe4773cb42": {
"compensate": 1.009,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"1d64a6d2c30f709b8c9b4ce1366d96ee": {
"compensate": 1.065,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 5120,
"primary_stem": "Instrumental",
"is_karaoke": true
},
"203f2a3955221b64df85a41af87cf8f0": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"291c2049608edb52648b96e27eb80e95": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"ead8d05dab12ec571d67549b3aab03fc": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"cc63408db3d80b4d85b0287d1d7c9632": {
"compensate": 1.033,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"cd5b2989ad863f116c855db1dfe24e39": {
"compensate": 1.035,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 9,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Reverb"
},
"55657dd70583b0fedfba5f67df11d711": {
"compensate": 1.022,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 6144,
"primary_stem": "Instrumental"
},
"b6bccda408a436db8500083ef3491e8b": {
"compensate": 1.02,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"8a88db95c7fb5dbe6a095ff2ffb428b1": {
"compensate": 1.026,
"mdx_dim_f_set": 2048,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 5120,
"primary_stem": "Instrumental"
},
"b78da4afc6512f98e4756f5977f5c6b9": {
"compensate": 1.021,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Instrumental"
},
"77d07b2667ddf05b9e3175941b4454a0": {
"compensate": 1.021,
"mdx_dim_f_set": 3072,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 7680,
"primary_stem": "Vocals"
},
"0f2a6bc5b49d87d64728ee40e23bceb1": {
"compensate": 1.019,
"mdx_dim_f_set": 2560,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 5120,
"primary_stem": "Instrumental"
},
"b02be2d198d4968a121030cf8950b492": {
"compensate": 1.020,
"mdx_dim_f_set": 2560,
"mdx_dim_t_set": 8,
"mdx_n_fft_scale_set": 5120,
"primary_stem": "No Crowd"
},
"2154254ee89b2945b97a7efed6e88820": {
"config_yaml": "model_2_stem_061321.yaml"
},
"063aadd735d58150722926dcbf5852a9": {
"config_yaml": "model_2_stem_061321.yaml"
},
"c09f714d978b41d718facfe3427e6001": {
"config_yaml": "model_2_stem_061321.yaml"
},
"fe96801369f6a148df2720f5ced88c19": {
"config_yaml": "model3.yaml"
},
"02e8b226f85fb566e5db894b9931c640": {
"config_yaml": "model2.yaml"
},
"e3de6d861635ab9c1d766149edd680d6": {
"config_yaml": "model1.yaml"
},
"3f2936c554ab73ce2e396d54636bd373": {
"config_yaml": "modelB.yaml"
},
"890d0f6f82d7574bca741a9e8bcb8168": {
"config_yaml": "modelB.yaml"
},
"63a3cb8c37c474681049be4ad1ba8815": {
"config_yaml": "modelB.yaml"
},
"a7fc5d719743c7fd6b61bd2b4d48b9f0": {
"config_yaml": "modelA.yaml"
},
"3567f3dee6e77bf366fcb1c7b8bc3745": {
"config_yaml": "modelA.yaml"
},
"a28f4d717bd0d34cd2ff7a3b0a3d065e": {
"config_yaml": "modelA.yaml"
},
"c9971a18da20911822593dc81caa8be9": {
"config_yaml": "sndfx.yaml"
},
"57d94d5ed705460d21c75a5ac829a605": {
"config_yaml": "sndfx.yaml"
},
"e7a25f8764f25a52c1b96c4946e66ba2": {
"config_yaml": "sndfx.yaml"
},
"104081d24e37217086ce5fde09147ee1": {
"config_yaml": "model_2_stem_061321.yaml"
},
"1e6165b601539f38d0a9330f3facffeb": {
"config_yaml": "model_2_stem_061321.yaml"
},
"fe0108464ce0d8271be5ab810891bd7c": {
"config_yaml": "model_2_stem_full_band.yaml"
},
"e9b82ec90ee56c507a3a982f1555714c": {
"config_yaml": "model_2_stem_full_band_2.yaml"
},
"99b6ceaae542265a3b6d657bf9fde79f": {
"config_yaml": "model_2_stem_full_band_8k.yaml"
},
"116f6f9dabb907b53d847ed9f7a9475f": {
"config_yaml": "model_2_stem_full_band_8k.yaml"
},
"53f707017bfcbb56f5e1bfac420d6732": {
"config_yaml": "model_bs_roformer_ep_317_sdr_12.9755.yaml",
"is_roformer": true
},
"63e41acc264bf681a73aa9f7e5f606cc": {
"config_yaml": "model_mel_band_roformer_ep_3005_sdr_11.4360.yaml",
"is_roformer": true
},
"e733736763234047587931fc35322fd9": {
"config_yaml": "model_bs_roformer_ep_937_sdr_10.5309.yaml",
"is_roformer": true
},
"d789065adfd747d6f585b27b495bcdae": {
"config_yaml": "model_bs_roformer_ep_368_sdr_12.9628.yaml",
"is_roformer": true
}
}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291import argparseimport hashlibimport jsonimport osimport sysimport urllib.requestimport requestsfrom huggingface_hub import HfApi, snapshot_download
def download_files_from_txt(filename, local_dir): """ Reads a text file containing a list of URLs and downloads each, skipping any that already exist in the local directory. """ if not os.path.exists(filename): print(f"Error: {filename} not found.") return
# Create the directory if it doesn't exist if local_dir and not os.path.exists(local_dir): os.makedirs(local_dir)
with open(filename, "r") as f: urls = [line.strip() for line in f if line.strip()]
print(f"Found {len(urls)} links to process.")
for url in urls: # Determine local filename base_name = url.split("/")[-1] or "downloaded_file" local_filename = os.path.join(local_dir, base_name) if local_dir else base_name
# SKIP if file already exists if os.path.isfile(local_filename): print(f"⏭️ Skipping (already exists): {local_filename}") continue
try: print(f"Downloading: {local_filename} from {url}") response = requests.get(url, allow_redirects=True, stream=True) response.raise_for_status()
with open(local_filename, "wb") as file: for chunk in response.iter_content(chunk_size=8192): file.write(chunk) print(f"✅ Successfully downloaded: {local_filename}")
except requests.exceptions.RequestException as e: print(f"❌ Failed to download {url}: {e}") except Exception as e: print(f"An unexpected error occurred while processing {url}: {e}")
def download_hf_repo(repo_id, local_dir, repo_type, token): if not token: token = os.getenv("HF_TOKEN") """ Downloads an entire Hugging Face repository to a specified local directory. """ print(f"Downloading {repo_id} to {local_dir}...")
# Ensure the target directory exists os.makedirs(local_dir, exist_ok=True)
# Download the snapshot downloaded_path = snapshot_download( repo_id=repo_id, local_dir=local_dir, token=token, local_dir_use_symlinks=False, # Set to False to ensure actual files are moved to local_dir repo_type=repo_type, )
print(f"Download complete! Files are located in: {downloaded_path}") return downloaded_path
def remove_duplicate_lines(input_file_path, output_file_path): """ Reads lines from input_file_path, removes duplicates, and writes unique lines to output_file_path while preserving order. """ try: # Use an ordered set to maintain the original file's line order. # An easy way to do this in Python 3.7+ is using a dictionary's keys. unique_lines_dict = {} with open(input_file_path, "r") as input_file: for line in input_file: # Store line as a dictionary key; duplicates will be ignored unique_lines_dict[line] = None
unique_lines = unique_lines_dict.keys()
with open(output_file_path, "w") as output_file: # Write all unique lines to the new file output_file.writelines(unique_lines)
print(f"Duplicates removed. Unique lines saved to '{output_file_path}'")
except FileNotFoundError: print(f"Error: The file '{input_file_path}' was not found.") except Exception as e: print(f"An error occurred: {e}")
def push_to_hf(repo_id, repo_type): api = HfApi()
print(f"Uploading current directory to: {repo_id}")
# Upload everything in the current directory ('.') to the repo root api.upload_folder( folder_path=".", repo_id=repo_id, repo_type=repo_type, commit_message="Initial model upload", ) print("Upload complete!")
def push_large_folder_to_hf(repo_id, repo_type): api = HfApi() print(f"Starting large folder upload to: {repo_id}")
# 3. Use upload_large_folder for resilience and speed # This automatically handles multi-threading and local caching for resuming api.upload_large_folder( folder_path=".", repo_id=repo_id, repo_type=repo_type, # Optional: ignore large junk files to save time ignore_patterns=[ ".git/", "__pycache__/", "*.tmp", ".DS_Store", "*.cache", "*.trash", ], )
print( "\nUpload complete! Progress was cached locally; if it failed, just run again to resume." )
def get_model_hash(model_path): """ Get the hash of a model file """ # print(f"Getting hash for model at {model_path}") try: with open(model_path, "rb") as f: f.seek( -10000 * 1024, 2 ) # Move the file pointer 10MB before the end of the file hash_result = hashlib.md5(f.read()).hexdigest() # print(f"Hash for {model_path}: {hash_result}") return hash_result except IOError: with open(model_path, "rb") as f: hash_result = hashlib.md5(f.read()).hexdigest() # print(f"IOError encountered, hash for {model_path}: {hash_result}") return hash_result
def download_file_if_missing(url, local_path): """ Download a file from a URL if it doesn't exist locally """ print(f"Checking if {local_path} needs to be downloaded from {url}") if not os.path.exists(local_path): print(f"Downloading {url} to {local_path}") with requests.get(url, stream=True, timeout=10) as r: r.raise_for_status() with open(local_path, "wb") as f: for chunk in r.iter_content(chunk_size=8192): f.write(chunk) print(f"Downloaded {url} to {local_path}") else: print(f"{local_path} already exists. Skipping download.")
def load_json_data(file_path): """ Load JSON data from a file """ print(f"Loading JSON data from {file_path}") try: with open(file_path, "r", encoding="utf-8") as file: data = json.load(file) print(f"Loaded JSON data successfully from {file_path}") return data except FileNotFoundError: print(f"{file_path} not found.") sys.exit(1)
def iterate_and_hash(directory): """ Iterate through a directory and hash all model files """ print(f"Iterating through directory {directory} to hash model files") model_files = [ (file, os.path.join(root, file)) for root, _, files in os.walk(directory) for file in files if file.endswith((".pth", ".onnx")) ]
download_file_if_missing(VR_MODEL_DATA_URL, VR_MODEL_DATA_LOCAL_PATH) download_file_if_missing(MDX_MODEL_DATA_URL, MDX_MODEL_DATA_LOCAL_PATH)
vr_model_data = load_json_data(VR_MODEL_DATA_LOCAL_PATH) mdx_model_data = load_json_data(MDX_MODEL_DATA_LOCAL_PATH)
combined_model_params = { **vr_model_data, **mdx_model_data, }
model_info_list = [] for file, file_path in sorted(model_files): file_hash = get_model_hash(file_path) model_info = { "file": file, "hash": file_hash, "params": combined_model_params.get(file_hash, "Parameters not found"), } model_info_list.append(model_info)
print(f"Writing model info list to {OUTPUT_PATH}") with open(OUTPUT_PATH, "w", encoding="utf-8") as json_file: json.dump(model_info_list, json_file, indent=4) print(f"Successfully wrote model info list to {OUTPUT_PATH}")
def sort_links_by_extension(input_file, output_file): # Define the custom priority order priority = { ".json": 0, ".yaml": 1, ".th": 2, ".pth": 3, ".ckpt": 4, ".onnx": 5, # Added .onnx (common typo for .onnx or .onx) }
# Handle the specific user request for .onnx # Example: Map .onnx to priority 5 # priority['.onnx'] = 5
try: with open(input_file, "r") as f: # Read lines and strip whitespace/newlines links = [line.strip() for line in f if line.strip()]
def sort_key(link): # Extract extension (case-insensitive) _, ext = os.path.splitext(link.lower()) # Return priority index; if not in list, place at the end (index 100) return priority.get(ext, 100), link
# Sort the links sorted_links = sorted(links, key=sort_key)
with open(output_file, "w") as f: for link in sorted_links: f.write(link + "\n")
print(f"Successfully sorted links into: {output_file}")
except FileNotFoundError: print(f"Error: The file '{input_file}' was not found.")
# 1. Load the JSON data# Ensure 'models.json' is in your current directorydef get_links_from_json(file_input): try: with open(file_input, "r") as file: data = json.load(file) except FileNotFoundError: print("Error: 'models.json' not found.") data = {}
# 2. Process and Download for model_name, links in data.items(): if not isinstance(links, list) or len(links) == 0: continue123456789101112131415161718192021222324252627282930313233343536373839404142434445import osdef sort_links_by_extension(input_file, output_file):# Define the custom priority orderpriority = {".json": 0,".yaml": 1,".th": 2,".pth": 3,".ckpt": 4,".onnx": 5, # Added .onnx (common typo for .onnx or .onx)}# Handle the specific user request for .onnx# Example: Map .onnx to priority 5# priority['.onnx'] = 5try:with open(input_file, "r") as f:# Read lines and strip whitespace/newlineslinks = [line.strip() for line in f if line.strip()]def sort_key(link):# Extract extension (case-insensitive)_, ext = os.path.splitext(link.lower())# Return priority index; if not in list, place at the end (index 100)return priority.get(ext, 100), link# Sort the linkssorted_links = sorted(links, key=sort_key)with open(output_file, "w") as f:for link in sorted_links:f.write(link + "\n")print(f"Successfully sorted links into: {output_file}")except FileNotFoundError:print(f"Error: The file '{input_file}' was not found.")if __name__ == "__main__":# Ensure you have a file named 'links.txt' in the same directorysort_links_by_extension("links.txt", "sorted_links.txt")123456import osimport assets.model_tools as mtif __name__ == "__main__":# Ensure you have a file named 'links.txt' in the same directorymt.sort_links_by_extension("links.txt", "sorted_links.txt")
1 unmodified line2345671 unmodified line91011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545512 unmodified lines6869707172731 unmodified lineimport osimport argparsefrom huggingface_hub import HfApiREPO_OWNER = "lainlives"REPO_NAME = "audio-separator-models"1 unmodified lineHF_TOKEN = os.getenv("HF_TOKEN")def push_to_hf(repo_id, repo_type):api = HfApi()print(f"Uploading current directory to: {repo_id}")# Upload everything in the current directory ('.') to the repo rootapi.upload_folder(folder_path=".",repo_id=repo_id,repo_type=repo_type,commit_message="Initial model upload",)print("Upload complete!")def push_large_folder_to_hf(repo_id, repo_type):api = HfApi()print(f"Starting large folder upload to: {repo_id}")# 3. Use upload_large_folder for resilience and speed# This automatically handles multi-threading and local caching for resumingapi.upload_large_folder(folder_path=".",repo_id=repo_id,repo_type=repo_type,# Optional: ignore large junk files to save timeignore_patterns=[".git/","__pycache__/","*.tmp",".DS_Store","*.cache","*.trash",],)print("\nUpload complete! Progress was cached locally; if it failed, just run again to resume.")if __name__ == "__main__":repo_id = f"{REPO_OWNER}/{REPO_NAME}"12 unmodified lines)args = parser.parse_args()if args.large:push_large_folder_to_hf(repo_id, repo_type)else:push_to_hf(repo_id, repo_type)1 unmodified line23456781 unmodified line10111213141512 unmodified lines2829303132331 unmodified lineimport osimport argparsefrom huggingface_hub import HfApiimport model_tools as mtREPO_OWNER = "lainlives"REPO_NAME = "audio-separator-models"1 unmodified lineHF_TOKEN = os.getenv("HF_TOKEN")if __name__ == "__main__":repo_id = f"{REPO_OWNER}/{REPO_NAME}"12 unmodified lines)args = parser.parse_args()if args.large:mt.push_large_folder_to_hf(repo_id, repo_type)else:mt.push_to_hf(repo_id, repo_type)
.gitattributesAdded+29
assets/__pycache__/model_tools.cpython-313.pycAdded
assets/calculate-model-hashes.py+2-86
assets/download_models.py+3-70
assets/json_link_processor.py+3-13
assets/list_duplicate_remove.pyAdded+9
assets/luvr5-ui-models.txtAdded+248
assets/model_data/mdx_model_data.jsonAdded+384
assets/model_tools.pyAdded+291
assets/model_url_sorter.py+2-41
assets/upload_models.py+3-43