Giter Club home page Giter Club logo

Comments (8)

ylzz1997 avatar ylzz1997 commented on May 29, 2024

输入的文件似乎不是特征检索的文件,检查一下读取的是否是特征索引文件

from so-vits-svc.

putongdisco avatar putongdisco commented on May 29, 2024

输入的文件似乎不是特征检索的文件,检查一下读取的是否是特征索引文件

检查过了,读取的文件的确是feature_and_index.pkl。而且我在使用inference_main.py进行推理时,同样会报错

Traceback (most recent call last):
  File "E:\so-vits-svc\inference_main.py", line 155, in <module>
    main()
  File "E:\so-vits-svc\inference_main.py", line 140, in main
    audio = svc_model.slice_inference(**kwarg)
  File "E:\so-vits-svc\inference\infer_tool.py", line 461, in slice_inference
    out_audio, out_sr, out_frame = self.infer(spk, tran, raw_path,
  File "E:\so-vits-svc\inference\infer_tool.py", line 279, in infer
    c, f0, uv = self.get_unit_f0(wav, tran, cluster_infer_ratio, speaker, f0_filter,f0_predictor,cr_threshold=cr_threshold)
  File "E:\so-vits-svc\inference\infer_tool.py", line 234, in get_unit_f0
    self.big_npy = feature_index.reconstruct_n(0, feature_index.ntotal)
TypeError: in method 'Index_ntotal_get', argument 1 of type 'faiss::Index *'

from so-vits-svc.

ylzz1997 avatar ylzz1997 commented on May 29, 2024

可否发一份feature_and_index.pkl,我确定一下原因

from so-vits-svc.

ylzz1997 avatar ylzz1997 commented on May 29, 2024

另外可否发一下faiss的版本号?

from so-vits-svc.

putongdisco avatar putongdisco commented on May 29, 2024

可否发一份feature_and_index.pkl,我确定一下原因

https://drive.google.com/file/d/107Ugr9Ie3haj7Fk9yPYOOoG0537ComNA/view?usp=sharing
faiss-cpu 1.7.4

from so-vits-svc.

yzmyyff avatar yzmyyff commented on May 29, 2024

I got the same error, Any progress?

from so-vits-svc.

ylzz1997 avatar ylzz1997 commented on May 29, 2024

可否发一份feature_and_index.pkl,我确定一下原因

https://drive.google.com/file/d/107Ugr9Ie3haj7Fk9yPYOOoG0537ComNA/view?usp=sharing faiss-cpu 1.7.4

我这边推理正常,猜测可能那边环境安装过两份faiss,尝试uninstall faiss后重装试试

from so-vits-svc.

putongdisco avatar putongdisco commented on May 29, 2024

可否发一份feature_and_index.pkl,我确定一下原因

https://drive.google.com/file/d/107Ugr9Ie3haj7Fk9yPYOOoG0537ComNA/view?usp=sharing faiss-cpu 1.7.4

我这边推理正常,猜测可能那边环境安装过两份faiss,尝试uninstall faiss后重装试试

在提交issue之前已经试过卸载并重新安装,但还是一样报错

from so-vits-svc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.