yzhou359 / MakeItTalk

Other
968 stars 217 forks source link

Colab Step 3 throws error #85

Open agilebean opened 1 year ago

agilebean commented 1 year ago

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 commented 1 year ago

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

iboyles commented 1 year ago

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

manu-polsani commented 1 year ago

Did you change only Three_D part or any other changes?

iboyles commented 1 year ago

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.