1
0
mirror of synced 2024-11-12 01:40:51 +01:00

fix uvr5 path

This commit is contained in:
Ftps 2023-08-20 13:43:39 +09:00
parent b3a29d0e49
commit cd924f9eec

View File

@ -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)