From cd924f9eec371e7bb1ade8e7b41fc9dfdf24f557 Mon Sep 17 00:00:00 2001 From: Ftps Date: Sun, 20 Aug 2023 13:43:39 +0900 Subject: [PATCH] fix uvr5 path --- infer/modules/uvr5/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/modules/uvr5/preprocess.py b/infer/modules/uvr5/preprocess.py index 86c3ab0..dae2739 100644 --- a/infer/modules/uvr5/preprocess.py +++ b/infer/modules/uvr5/preprocess.py @@ -26,7 +26,7 @@ class AudioPre: "agg": agg, "high_end_process": "mirroring", } - mp = ModelParameters("lib/uvr5_pack/lib_v5/modelparams/4band_v2.json") + mp = ModelParameters("infer/lib/uvr5_pack/lib_v5/modelparams/4band_v2.json") model = Nets.CascadedASPPNet(mp.param["bins"] * 2) cpk = torch.load(model_path, map_location="cpu") model.load_state_dict(cpk)