For those who are getting this error "load() takes 1 positional argument but 2 were given" Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
good solve bro thank you i have much confused why not worked, step 1. try to uninstal librosa by command : pip uninstall librosa, n then try to install pip install librosa==0.9.2
This is such an excellent tutorial. As someone who is fascinated with this but doesn't have the technical knowledge to use it, your detailed instructions really made a big difference.
I remember seeing that the pre-trained model link was down. We definitely need a tutorial for making our own models, & using more voice clips to make it better. Having an option that doesn't require an insane video card would also be great.
I know little about Python and I spent 5 days to figure out how to install different voice cloning programmes from different people but failed miserably. But you are a great teacher. This is the only video that helped me to complete the task without getting even a single error. I must thank you for the way you explained with great clarity and I never skipped the ads on your video as that is the only way I can show my gratitude to you for this excellent video. Thank you again. Deva (Kerala, India)
Great tutorial! Thanks a ton for putting this together. One thing: I noticed when copying the code from your site that the line, "conda create -name voice-clone python=3.9" has a typo in it which prevents the command from executing properly. Just adding the extra hyphen before name solved the problem if you'd like to update that on your site.
Can someone please make a video detailing how to build a pre trained model from scratch to use with this tool. I know it involves downloading audio, chopping it up, transcribing it but what I don't know is how to format and organize it all to use with this tool. Does anyone teach that part clearly? Alot of these videos say "download the pretrained model, or use your own" I want to build my own. But I can find a clear video that doesn't create more questions than answers. Advice please.
Hi Daniel, pretty late but here is a guide on how you can build pre-trained models to clone your voice using Real-Time Voice Cloning: ua-cam.com/video/qxLF-RegLWs/v-deo.html
@@dracus3402 if you can add the minute where you got an error or got confused I can have an idea or someone else can help you, so get in the time you got stuck and we can figure it out. Or maybe your console message.
Thank you for your video I really needed a how-to-install guide, otherwise it would have been too complicated and exhausting for me to try out this exciting project. 😄
I did everything including loading the dataset, but just when I want to use the voice, when I press Load, I get this error: TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given I'm stuck, do I have to reinstall everything again?
Hi. I have been working on this for 2 days now. Did you find any solution for it. If you could kindly share it I would very very... very much appreciate it.
A few things to change from the C drive type the driver letter then colon F: (Cd will only change the directory you are in aka folder it does not do any thing to the drive) don't save stuff to the desktop its more work then it saves up arrow will automatically retype the last line, and Tab will do an auto complete most of the times
Hi, I got an error when I run the demo: "TypeError: melspectrogram() takes 0 positional arguments but gave 2 positional arguments (and 2 keyword-only arguments)" How can I fix it? thanks
well i got "ImportError: DLL load failed while importing _imaging: The specified module could not be found." and dont kno wha is the issue, i even install matploit and numpy but still update - been trying to do this from past 5 days no solution or progress been stuck, time to abandon it!
install the windows 10 sdk mentioned in the video and windows 11 SDK plus uninstall pillow and reinstall it again but with specifying the version ,it depend on your python version , if your python 3.11 ,you can just install pillow >=9.3 if your python version 3.9 ,you can install pillow >=8.3.2 but you can not install pillow 8.3.1 , you need to uninstall it first or move it to another directory that are the step that worked for me
Thanks. I get to the very end though, it says all requirements are met and then when I run the demo... nothing happens? it doesn't open the toolbox. Any suggestions?
@@rachitmehta2634 Actually I got it to work. I hadn't deleted the files that were already in there upon install. There were random jpegs and stuff with labels like "frame_003" etc that I deleted. once the folder was empty it worked fine.
what do i do wrong if my voice does not sound like me? do i need longer training samples of my voice? or do i need more training samples form my voice?
why is this called Real-Time Voice cloning but the synthesize and vocode process i pretty slow ? and i want to ask "how do you think AtheneWins make his AI Streamers ?
Could you help me with this error? TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given
@@HeyLetsLearnSomething I tried reinstalling and it worked! You are such an amazing instructor. This was my first attempt working with Python and you gave me the confidence through your solid and detailed explanations to successfully install this. I can't thank you enough!
I have this error: TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given does anybody know how to resolve it?
i alwas get the error... can someone please help me ? i am very new to this stuff, so i dont really know how solve it. TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given
just found the solution. im gonna post it here, just in case someone else has this problem to. the new librosa version is the problem. downgrade to 0.9.1 pip install "librosa==0.9.1"
Thank you Sir for the mega tutorial. It took me a whole afternoon. However, the audio is really bad although the source of the clone audio is perfect. would you suggest something?
how to fix this? pls help me "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given "
I have a really weird problem I think. At the very end when trying to import voice examples into the program the command doesn't work. I think this is because the user name for my pc consists of 2 words with a space. Is there another solution to this than changing the name?
hello, could you please tell me if there is an option to integrate translator from english to chinese (ive already got it) to the table of speech playback or it has not ability to read hieroglyphs and need to be applied for g2p? thank you
9:15 I believe you could have just copied the Voice folder path after cd and it would skip all the steps straight to the point, there is no need to mess with two dots, or to go to the desired folder step-by-step
Thanks, that's true. We realized the shortcut later, but we have actually replied with the same information in the comments. Simply typing "cd C:/..." will take you to the folder. Anyway, thanks for pointing it out!
Sad to hear that. To uninstall it you'd need to remove the env you created..this code will remove the env (conda remove --name voice-clone --all) & Uninstall anaconda from cPanel...Thanks.
Need help here please, I didn't pass the vocoder synth test and got this error "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
It probably is because of the Librosa. Please try using the librosa vesrion 0.9.2! - Check the Librosa version: conda list librosa - Uninstall Librosa: conda uninstall librosa Or pip uninstall librosa - Install librosa 0.9.2: conda install -c conda-forge librosa=0.9.2 or pip install librosa==0.9.2
Hello I have this problem .. Please can you help me? "melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
Please help me whole 2 days later i have open toolbox but when i click Load button it shows "Exception: load() takes 1 positional argument but 2 were given" help me
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.. I am facing this issue in sv2tts please someone help me as soon as possible.
Need help here please, I didn't pass the vocoder synth test and got this error "AttributeError: module 'numpy' has no attribute 'float'. `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here."
Can you please check the numpy version installed: conda list numpy (If the version is different to 1.20.3 then try installing 1.20.3 version): pip install numpy==1.20.3 (If this doesn't install directly, try uninstalling numpy and run the installation code): pip uninstall numpy
@@HeyLetsLearnSomething It shows this after I install numpy 1.20.3, not sure how to solve: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. matplotlib 3.8.0 requires numpy=1.21, but you have numpy 1.20.3 which is incompatible. numba 0.58.1 requires numpy=1.22, but you have numpy 1.20.3 which is incompatible. scipy 1.11.3 requires numpy=1.21.6, but you have numpy 1.20.3 which is incompatible.
Can you please let us know the Python version you have installed? Please make sure you are using version 3.9 and install numpy (1.20.3) pip install numpy==1.20.3 Thanks.
yesterday test did not passed but today passed with librosa0.9.2 but today I waste whole day each and every things installed despite having toolbox is not opening.....my luck never support me.....help me... whenever I am giving command for toolbox opening it do not giving any message except the flie directory path
i go the GPU route and got this error "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
I am facing a problem just ahead of passing the test otherwise it ready to use Message says- Load() 1 positional argument but 2 were given Error: melspectrogram How to resolve....thank you for the whole tutorial I am watching more n more with full ads to support you
The wav_to_mel_spectrogram function seems to be using the librosa.feature.melspectrogram function incorrectly, leading to the TypeError you mentioned earlier. According to the error message, the melspectrogram function doesn't expect any positional arguments, but it's receiving two. The correct usage of librosa.feature.melspectrogram is to provide the audio waveform as the first argument and the sampling rate as the sr parameter. However, it seems that you are passing the waveform as the first argument and the sampling rate as a positional argument. Here's how you can modify the wav_to_mel_spectrogram function to fix the issue: @@sanZeeet
def wav_to_mel_spectrogram(wav): """ Derives a mel spectrogram ready to be used by the encoder from a preprocessed audio waveform. Note: this is not a log-mel spectrogram. """ frames = librosa.feature.melspectrogram( y=wav, sr=sampling_rate, n_fft=int(sampling_rate * mel_window_length / 1000), hop_length=int(sampling_rate * mel_window_step / 1000), n_mels=mel_n_channels ) return frames.astype(np.float32).T
Build pretrained models to clone your voice using Real-Time Voice Cloning: ua-cam.com/video/qxLF-RegLWs/v-deo.html
For those who are getting this error "load() takes 1 positional argument but 2 were given" Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
I have get this problem....but your suggestion is work...now done
good solve bro thank you i have much confused why not worked, step 1. try to uninstal librosa by command : pip uninstall librosa, n then try to install pip install librosa==0.9.2
thank you you save me
This is such an excellent tutorial. As someone who is fascinated with this but doesn't have the technical knowledge to use it, your detailed instructions really made a big difference.
this comment made me watch your only video and it was a great decision I made in life
@@kustomize93 this comment made me watch @TheOneWhoIsTheTwo's only video and it was a great decision I made in life
I remember seeing that the pre-trained model link was down. We definitely need a tutorial for making our own models, & using more voice clips to make it better. Having an option that doesn't require an insane video card would also be great.
HI. Have you checked this?
Build pretrained models to clone your voice using Real-Time Voice Cloning: ua-cam.com/video/qxLF-RegLWs/v-deo.html
Hi, How to fix this? AttributeError: module 'numpy' has no attribute 'float'. Did you mean: 'cfloat'? I tried installing numpy 1.20 too
did you get the solution of 'numpy has no attribute float'?
It worked just fine. Your explanation is on point. Thankssssss a ton!
I know little about Python and I spent 5 days to figure out how to install different voice cloning programmes from different people but failed miserably. But you are a great teacher. This is the only video that helped me to complete the task without getting even a single error. I must thank you for the way you explained with great clarity and I never skipped the ads on your video as that is the only way I can show my gratitude to you for this excellent video. Thank you again. Deva (Kerala, India)
Hey I want to connect with you I have a project and a proposal
Great tutorial! Thanks a ton for putting this together.
One thing: I noticed when copying the code from your site that the line, "conda create -name voice-clone python=3.9" has a typo in it which prevents the command from executing properly. Just adding the extra hyphen before name solved the problem if you'd like to update that on your site.
Thanks, Bob. We will check that and make the necessary updates :)
@@HeyLetsLearnSomething 7 months later and you still haven't fixed the mistake. At least it's a simple fix if you just read the error output :P
Can someone please make a video detailing how to build a pre trained model from scratch to use with this tool. I know it involves downloading audio, chopping it up, transcribing it but what I don't know is how to format and organize it all to use with this tool. Does anyone teach that part clearly? Alot of these videos say "download the pretrained model, or use your own" I want to build my own. But I can find a clear video that doesn't create more questions than answers. Advice please.
Hi did you find anything?
Hi did you find anything?
Any one got any answers or suggestions to drop?
Hello. Does building a pretrained model mean that you could make this work with other languages?
Hi Daniel, pretty late but here is a guide on how you can build pre-trained models to clone your voice using Real-Time Voice Cloning: ua-cam.com/video/qxLF-RegLWs/v-deo.html
wow man, it worked smoooothly, thank you so much, you should make tutorials about things, you explain very detail. Thanks Again
I couldn't do.Can you help me?
@@dracus3402 if you can add the minute where you got an error or got confused I can have an idea or someone else can help you, so get in the time you got stuck and we can figure it out. Or maybe your console message.
Thanks for the video, Pal! It would be great to see more videos related to deep fake and voice cloning on your channel .
Thank you for your video I really needed a how-to-install guide, otherwise it would have been too complicated and exhausting for me to try out this exciting project. 😄
Please am constantly getting an error saying “Attribute error: module ‘numpy’ has no attribute ‘float’
Dude!!! I always wanted thus tool but never could get it right until this video. THANKS!!!
Thanks for the tutorial, very easy to follow even if not using the dataset library! I recommend this video for any problems with the setup!!
Thank you so much! I had to modify some steps slightly, but was able to get it to work using my RTX 3080 GPU.
Thanks for the lesson! It worked perfectly
how to fix 'numpy has no atrribute float'?
set the speed to 1.25x so that its not painfully slow
I did everything including loading the dataset, but just when I want to use the voice, when I press Load, I get this error:
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
I'm stuck, do I have to reinstall everything again?
Hi. I have been working on this for 2 days now. Did you find any solution for it. If you could kindly share it I would very very... very much appreciate it.
@@ankidokolo i asked to bing ai, i just remember i had to manually search in some text files and change some specific deprecated parts of the code
@@ankidokolo downgread your librosa version. pip install "librosa==0.9.1"
A few things
to change from the C drive type the driver letter then colon F: (Cd will only change the directory you are in aka folder it does not do any thing to the drive)
don't save stuff to the desktop its more work then it saves
up arrow will automatically retype the last line, and Tab will do an auto complete most of the times
Hi, I got an error when I run the demo: "TypeError: melspectrogram() takes 0 positional arguments but gave 2 positional arguments (and 2 keyword-only arguments)"
How can I fix it? thanks
THANK YOU FOR THE EASY TUTORIAL :)
Thanks for the tutorials. I have a few questions : what method or algorithm do you use bro????
well i got "ImportError: DLL load failed while importing _imaging: The specified module could not be found." and dont kno wha is the issue, i even install matploit and numpy but still
update -
been trying to do this from past 5 days no solution or progress been stuck, time to abandon it!
install the windows 10 sdk mentioned in the video and windows 11 SDK plus uninstall pillow and reinstall it again but with specifying the version ,it depend on your python version , if your python 3.11 ,you can just install pillow >=9.3 if your python version 3.9 ,you can install pillow >=8.3.2 but you can not install pillow 8.3.1 , you need to uninstall it first or move it to another directory
that are the step that worked for me
Thanks. I get to the very end though, it says all requirements are met and then when I run the demo... nothing happens? it doesn't open the toolbox. Any suggestions?
Even I got to the very end and when i ran the demo nothing happened, I think i read if you have windows 11 you may face this error
@@rachitmehta2634 Actually I got it to work. I hadn't deleted the files that were already in there upon install. There were random jpegs and stuff with labels like "frame_003" etc that I deleted. once the folder was empty it worked fine.
I have the same issue. Any updates ?
exactly, sure i use windows 11 n doesnt open, any solutions ?
i have the same issue
You are a savior, thank you for your video
ModuleNotFoundError: No module named 'numpy"
tried pip install still not working, please help
Same. Did you fix it?
melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given. ERROR. ¡¡HELP ME PLEASE!
Can you please try installing this version of librosa. Thanks.
pip install librosa==0.9.2
@@HeyLetsLearnSomething worked! Thanks a lot!!
what do i do wrong if my voice does not sound like me?
do i need longer training samples of my voice? or do i need more training samples form my voice?
I have the error exception: load() takes 1 positional argument but 2 were given how do I fix it?
I have such a problem too. did you manage to fix the error?
Install and Create Deepfakes (first order model - python) on Windows: ua-cam.com/video/foGYFroCPn0/v-deo.html
why is this called Real-Time Voice cloning but the synthesize and vocode process i pretty slow ? and i want to ask "how do you think AtheneWins make his AI Streamers ?
C:\Windows\Desktop ? thats windows 98
@@itagakixxx with a gpu deadass 💀💀💀💀
Excellent video, but it works only for the English language, is there a way for other languages. Greetings
Hello bro
Behat behat Dhanvād brātar thyöv sirf matrar shaqs sin tat ber main taqneek e haqyie dvedanat
Love from India
Could you help me with this error?
TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given
Can you please try installing this version of librosa. Thanks.
pip install librosa==0.9.2
@@HeyLetsLearnSomething will do. Thanks!
@@HeyLetsLearnSomething thanks it worked :)
@@HeyLetsLearnSomething I tried reinstalling and it worked! You are such an amazing instructor. This was my first attempt working with Python and you gave me the confidence through your solid and detailed explanations to successfully install this. I can't thank you enough!
@@HeyLetsLearnSomething please help im having this error during launching
Error in sys.excepthook:
Original exception was:
I have this error: TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given does anybody know how to resolve it?
I also have this. No idea how to solve it.
Found an answer! Type this: pip install librosa==0.9.2
After that it worked for me!
@@ickaruus4909 thx!! worked for me!
@@ickaruus4909yes , it's work 😊 , thanks 🙏👍🏻
What would you suggest for Androids users? Own voice TTS creation rltd?
hello does it work only for english or for other languages too?
Thank you very much, but how do i download SYNTHESIZER manually?
Works with others languages?
i alwas get the error... can someone please help me ? i am very new to this stuff, so i dont really know how solve it.
TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given
just found the solution. im gonna post it here, just in case someone else has this problem to. the new librosa version is the problem. downgrade to 0.9.1
pip install "librosa==0.9.1"
@@walfischrobbe thanks man
@@walfischrobbe thank u so much
@@walfischrobbe do you have any solution for 'numpy' has no attribute 'float'? i don't know how to solve this?
thank you very much! But but how to do it with French voices ?
just use the entire folder URL such as cd C:\Users\user\Desktop\Voice-Master . No need to chase the entire URL piece by piece.
Thanks. Yes, the easiest way is to copy the URL and type cd like cd C:\.... and enter. For other videos, we have shown it that way. Thanks.
Sir I need urgent pls tell me that sv2tts windows it's not coming is there any solution?
Thank you Sir for the mega tutorial. It took me a whole afternoon. However, the audio is really bad although the source of the clone audio is perfect. would you suggest something?
I was trying to do this and mistakenly canceled. Now I'm being told it already exist. What do I do?
Can we do a 1 hour audio ?
how to fix this? pls help me "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given "
same problem
@@echoleader5733 Can you please try installing this version of librosa. Thanks.
pip install librosa==0.9.2
can i do it with my own native language,sir?
The voice-clone is not on the Anaconda repo. How do I get it now?
I want this to give answers faster. Does anyone know a way around this. Thanks for the video
The toolbox is not launching in my pc, what to do?
Does this work on Mac?
thank u SOOO much, i will try to recriate GLaDOS voice
i have done everything correctly but the demo_toolbox is not opening what can be the issue?
Do you know if this works with foreign languages?thank you 🤠
Thanks for sharing!
I have a really weird problem I think. At the very end when trying to import voice examples into the program the command doesn't work. I think this is because the user name for my pc consists of 2 words with a space. Is there another solution to this than changing the name?
the current version of python is 3.10 or i need 3.9?
The path traversing using cd was painful to watch, but nice tutorial overall :D
Sir, thank you very much. I got it all
Thanks.. I need this for my project and I was getting stuck for a second as I'm currently new to conda.
can i use pip instead of conda?
i have this error . cannot load library 'libsndfile.dll': error 0xc1 ?
hello thanks man , i still have a question !! what is the optimal duration of the audio that we use if we don't use the dataset
the original paper said 5 sec
melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given
demo_toolbox_py doesnt open, why ? anyone know this solutions ?
same
same problem
same problem
Sv2tts toolbox can not be launched
No error is shown
same problem, please let me know if you solved it
im stuck :(
hello, could you please tell me if there is an option to integrate translator from english to chinese (ive already got it) to the table of speech playback or it has not ability to read hieroglyphs and need to be applied for g2p?
thank you
Thanks it worked for me
If my voice is spanish voice it work?
How do you train the voice?
9:15 I believe you could have just copied the Voice folder path after cd and it would skip all the steps straight to the point, there is no need to mess with two dots, or to go to the desired folder step-by-step
Thanks, that's true. We realized the shortcut later, but we have actually replied with the same information in the comments. Simply typing "cd C:/..." will take you to the folder. Anyway, thanks for pointing it out!
Didn't work for me :(
Now how do i uninstall everything i just installed?
Sad to hear that. To uninstall it you'd need to remove the env you created..this code will remove the env (conda remove --name voice-clone --all) & Uninstall anaconda from cPanel...Thanks.
thx i got it working i need to download trained files
Does it work with other languages such as Arabic
I get this error, what should I do? -- "exception: load takes 1 positional argument but 2 were given"
Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
Will this work on windows 8.1?
Can the voice be sound in difference languages
Need help here please, I didn't pass the vocoder synth test and got this error "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
It probably is because of the Librosa. Please try using the librosa vesrion 0.9.2!
- Check the Librosa version: conda list librosa
- Uninstall Librosa: conda uninstall librosa
Or
pip uninstall librosa
- Install librosa 0.9.2: conda install -c conda-forge librosa=0.9.2
or
pip install librosa==0.9.2
@@HeyLetsLearnSomething I uninstalled the prior librosa version and installed 0.9.2. but can't test the vocoder synth still, but thanks anyway.
Hello I have this problem .. Please can you help me? "melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
@@omarchelly169 no bro.. :(
Please help me whole 2 days later i have open toolbox but when i click Load button it shows "Exception: load() takes 1 positional argument but 2 were given" help me
Please try installing 0.9.2 version of librosa. Hope this helps. Thanks.
pip install librosa==0.9.2
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.. I am facing this issue in sv2tts please someone help me as soon as possible.
after selecting speaker if i click on load button then it shows load() takes 1 positional argument but 2 were given
Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
Receiving error when running demo state error in sys.excepthook: please can someone help me to resolve this error
please add italian pre trained model
there is no LibriSpeech folder
Dose Support Arabic Voices
Awesome video
Please can we get a free voice changing microphone for pc
Please can we get a free voice changing microphone for pc
Hello, I want the trained model of custom voice, I want to make api of it
How can i extract the libri speech
Need help here please, I didn't pass the vocoder synth test and got this error "AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here."
Can you please check the numpy version installed:
conda list numpy
(If the version is different to 1.20.3 then try installing 1.20.3 version):
pip install numpy==1.20.3
(If this doesn't install directly, try uninstalling numpy and run the installation code):
pip uninstall numpy
@@HeyLetsLearnSomething Thanks a lot, I want to know how to export out the cloned voice?
@@HeyLetsLearnSomething
It shows this after I install numpy 1.20.3, not sure how to solve:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
matplotlib 3.8.0 requires numpy=1.21, but you have numpy 1.20.3 which is incompatible.
numba 0.58.1 requires numpy=1.22, but you have numpy 1.20.3 which is incompatible.
scipy 1.11.3 requires numpy=1.21.6, but you have numpy 1.20.3 which is incompatible.
Help please what is? TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'
Can you please let us know the Python version you have installed? Please make sure you are using version 3.9 and install numpy (1.20.3) pip install numpy==1.20.3
Thanks.
do a Stable Diffusion installation guide PLS
yesterday test did not passed but today passed with librosa0.9.2 but today I waste whole day each and every things installed despite having toolbox is not opening.....my luck never support me.....help me... whenever I am giving command for toolbox opening it do not giving any message except the flie directory path
What is the error message I can help you
TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given,
what about that error ?
Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
@@HeyLetsLearnSomething it helps thank u so much! :D
@@HeyLetsLearnSomething One more Ques how can i froce GPU use?
i go the GPU route and got this error "TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given"
Please try installing librosa "pip install librosa==0.9.2" if not 0.8.1 version!
@@HeyLetsLearnSomething error during pytorch install
only engglish accent sir?
I am facing a problem just ahead of passing the test otherwise it ready to use Message says- Load() 1 positional argument but 2 were given
Error: melspectrogram
How to resolve....thank you for the whole tutorial I am watching more n more with full ads to support you
Thanks, Sanajit. Please try installing this version of librosa: pip install librosa==0.9.2
This time error in Sys.excepthook...
datasets_root:none,models_dir:saved_models,cpu:False,seed:none
The wav_to_mel_spectrogram function seems to be using the librosa.feature.melspectrogram function incorrectly, leading to the TypeError you mentioned earlier. According to the error message, the melspectrogram function doesn't expect any positional arguments, but it's receiving two.
The correct usage of librosa.feature.melspectrogram is to provide the audio waveform as the first argument and the sampling rate as the sr parameter. However, it seems that you are passing the waveform as the first argument and the sampling rate as a positional argument.
Here's how you can modify the wav_to_mel_spectrogram function to fix the issue:
@@sanZeeet
def wav_to_mel_spectrogram(wav):
"""
Derives a mel spectrogram ready to be used by the encoder from a preprocessed audio waveform.
Note: this is not a log-mel spectrogram.
"""
frames = librosa.feature.melspectrogram(
y=wav,
sr=sampling_rate,
n_fft=int(sampling_rate * mel_window_length / 1000),
hop_length=int(sampling_rate * mel_window_step / 1000),
n_mels=mel_n_channels
)
return frames.astype(np.float32).T
So turkish or other language ?