hmorimitsu/ptlflow

permanent error in installing ptlflow in google colab

hoseinCode opened this issue · 9 comments

hi i have an error from some days ago until Now, when i want install ptlflow package in google colab, colab shows following error:
OSError: /usr/local/lib/python3.10/dist-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE

i did all solutions (in google and in stackoverflow) for fixing this error , but error fix for a very short time just, and error appears again. please guide me for fixing error permanently

yes. by pip

in during installing ptlflow, torchtext installed itself.

when i write !pip install ptlflow command, it install correctly and colab shows successful message and import ptlflow is ok, but when i add some scripts to my code and i run code in colab again, the error appears and red lines appear under import ptlflow command in colab cell.

i did all solutions from stackoverflow but did not fix.

yes after adding scripts. error happening in one of ptlflow modules

hi Mr please introduce me definitive solution for fixing this bug, because i am in trouble some days and My project is delayed. or please say me a similar package that contain three models:PWC-Net,FlowNetC and FlowNetS for ensemble learning in estimating optical flow using python in colab