3
git lfs在目前的场景下,还是使用不方便,可以通过modelscope或者huggingface下载会更方便一点,我们之前代码也是踩过类似的坑
git lfs在目前的场景下,还是使用不方便,可以通过modelscope或者huggingface下载会更方便一点,我们之前代码也是踩过类似的坑
+1 最后git lfs clone下不来
https://github.com/xiaomaimainp/index-tts
git clone https://github.com/xiaomaimainp/index-tts && cd index-tts
GIT_LFS_SKIP_SMUDGE=1 git restore --source=HEAD :/
git restore --staged .
git checkout
git lfs ls-files | grep -v '\*' | sed 's/.* - \(.*\)/\1/g' | xargs -n1 sh -c 'echo $0; curl https://github.com/xiaomaimainp/index-tts/raw/refs/heads/main/$0 -L -o $0.lfs && cp -f $0.lfs $0'
你可以切换git地址就能加载上去了