Skip to content

Instantly share code, notes, and snippets.

@loboere
loboere / interpolate_rvc_models.py
Created January 6, 2024 17:31
interpolate rvc models
from collections import OrderedDict
import torch
def extract(ckpt):
a = ckpt["model"]
opt = OrderedDict()
opt["weight"] = {}
for key in a.keys():
if "enc_q" in key:
continue