Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab Step 3 throws error #85

Open
agilebean opened this issue May 12, 2023 · 4 comments
Open

Colab Step 3 throws error #85

agilebean opened this issue May 12, 2023 · 4 comments

Comments

@agilebean
Copy link

After executing step 3 in the colab notebook, a numpy import error is thrown.
The full error message is:

<>:4: SyntaxWarning: "is not" with a literal. Did you mean "!="?
<>:4: SyntaxWarning: "is not" with a literal. Did you mean "!="?
<ipython-input-16-50fe2f4fa52c>:4: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  ains = [item for item in ains if item is not 'tmp.wav']
Loaded the voice encoder model on cuda in 0.01 seconds.
Processing audio file M6_04_16k.wav
0 out of 0 are in this portion
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
__init__.pxd in numpy.import_array()

RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem .

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
[<ipython-input-16-50fe2f4fa52c>](https://localhost:8080/#) in <cell line: 6>()
     16     c = AutoVC_mel_Convertor('examples')
     17 
---> 18     au_data_i = c.convert_single_wav_to_autovc_input(audio_filename=os.path.join('examples', ain),
     19            autovc_model_path=opt_parser.load_AUTOVC_name)
     20     au_data += au_data_i

3 frames
[/usr/local/lib/python3.10/dist-packages/pyworld/__init__.py](https://localhost:8080/#) in <module>
      5 __version__ = pkg_resources.get_distribution('pyworld').version
      6 
----> 7 from .pyworld import *

pyworld/pyworld.pyx in init pyworld.pyworld()

__init__.pxd in numpy.import_array()

ImportError: numpy.core.multiarray failed to import
@anaghasavit
Copy link

Heya, if you figured out how to solve this please let me know.

@iboyles
Copy link

iboyles commented Jul 26, 2023

Hey I have a repo posted with need instructions and changes to make it work in present day.

@manu-polsani
Copy link

Did you change only Three_D part or any other changes?

@iboyles
Copy link

iboyles commented Aug 2, 2023

There's was a few changes for package versions I believe, there's also a TWO_D change as well. they are in caps when replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants