Git Product home page Git Product logo

Comments (5)

MaxMax2016 avatar MaxMax2016 commented on July 23, 2024 1

you need do:

apt update && sudo apt install ffmpeg

pip install ffmpeg-python==0.2.0

from whisper-vits-svc.

MaxMax2016 avatar MaxMax2016 commented on July 23, 2024

is there more detial log info?

from whisper-vits-svc.

Parisa-Bagherzadeh avatar Parisa-Bagherzadeh commented on July 23, 2024

is there more detial log info?

it's all the error after running step 4 of data preprocessing
data_svc/waves-16k/
data_svc/whisper
Traceback (most recent call last):
File "prepare/preprocess_ppg.py", line 56, in
whisper = load_model(os.path.join("whisper_pretrain", "medium.pt"))
File "prepare/preprocess_ppg.py", line 25, in load_model
dims = ModelDimensions(**checkpoint["dims"])
TypeError: 'ModuleSpec' object is not callable

from whisper-vits-svc.

MaxMax2016 avatar MaxMax2016 commented on July 23, 2024

your code is different from this project, line 25 is " audln = audio.shape[0]"

from whisper-vits-svc.

Parisa-Bagherzadeh avatar Parisa-Bagherzadeh commented on July 23, 2024

your code is different from this project, line 25 is " audln = audio.shape[0]"

oh yes you're right it's different , but i cloned the repo yesterday
i don't know why it's different !

So i copied the code from the file preprocess_ppg.py but i got this error this time :/

data_svc/waves-16k/
data_svc/whisper

speaker0<<<<<<<<<<
Traceback (most recent call last):
File "/home/parisa/so-vits-svc-5.0_/whisper/audio.py", line 44, in load_audio
ffmpeg.input(file, threads=0)
AttributeError: module 'ffmpeg' has no attribute 'input'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "prepare/preprocess_ppg.py", line 58, in
pred_ppg(whisper, f"{wavPath}/{spks}/{file}.wav", f"{ppgPath}/{spks}/{file}.ppg")
File "prepare/preprocess_ppg.py", line 24, in pred_ppg
audio = load_audio(wavPath)
File "/home/parisa/so-vits-svc-5.0_/whisper/audio.py", line 48, in load_audio
except ffmpeg.Error as e:
AttributeError: module 'ffmpeg' has no attribute 'Error'

from whisper-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.