ai4r / Gesture-Generation-from-Trimodal-Context

Speech Gesture Generation from the Trimodal Context of Text, Audio, and Speaker Identity (SIGGRAPH Asia 2020)
Other
245 stars 35 forks source link

issue with pyarrow version #33

Closed muyuelingxiao closed 2 years ago

muyuelingxiao commented 2 years ago

There is a bug when I run this file synthesize.py.

the code "video = pyarrow.deserialize(buf)" in line 362 is deprecated as of 2.0.0 and will be removed in a future version. Use pickle or the pyarrow IPC functionality instead.

The pyarrow 0.14.0 is not supported on my platform. But I cant install pickle and haven't searched the usage of IPC.

Sincerely need help! 2022-03-11 15-53-44屏幕截图

youngwoo-yoon commented 2 years ago

Yeah, you need a very specific version of pyarrow, because its serialization does not have backward compatibility. If you're not able to install 0.14.1, then I suggest installing other similar releases in between 0.14.0 and 0.17.1 (above 0.17.1 would not work). Hope it works and please share your results in this thread.

muyuelingxiao commented 2 years ago

Just now I try the method using the library "pickle", but got the error. 2022-03-11 16-44-37屏幕截图

when I install the specific version of pyarrow, I got this error. 2022-03-11 16-44-02屏幕截图

youngwoo-yoon commented 2 years ago

The above screenshot says Python 3.9.7, but you're installing the wheel for Python 3.7.

muyuelingxiao commented 2 years ago

I installed 2 versions. When I changed to 3.7, still the error. 555

muyuelingxiao commented 2 years ago

2022-03-11 17-02-54屏幕截图

youngwoo-yoon commented 2 years ago

I see. Could you try this one pyarrow-0.14.1-cp37-cp37m-manylinux1_x86_64.whl (link: https://pypi.org/project/pyarrow/0.14.1/#files)? Because manylinux2014 seems not to support 3.7.1.

muyuelingxiao commented 2 years ago

2022-03-11 18-07-45屏幕截图

still not work. But thks ur advice.

youngwoo-yoon commented 2 years ago

Could you give me the output of pip --version and which python to be sure that pip is from python 3.7.1?

muyuelingxiao commented 2 years ago

pip 22.0.3 from /home/athena/anaconda3/lib/python3.9/site-packages/pip (python 3.9)

Oyeh, this is the key. I am finding how to change it.