hayeong0 / Diff-HierVC

Official Pytorch Implementation of "Diff-HierVC: Diffusion-based Hierarchical Voice Conversion with Robust Pitch Generation and Masked Prior for Zero-shot Speaker Adaptation"
https://diff-hiervc.github.io/
167 stars 17 forks source link

Fix inference.py for CPU devices #3

Open NicolasBFR opened 6 months ago

NicolasBFR commented 6 months ago

Tensors and models now loaded on CPU if CUDA not available. (cuda() instructions replaced with to(device))