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

permanent error in installing ptlflow in google colab #51

Closed
hoseinCode opened this issue Sep 7, 2023 · 9 comments
Closed

permanent error in installing ptlflow in google colab #51

hoseinCode opened this issue Sep 7, 2023 · 9 comments

Comments

@hoseinCode
Copy link

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

@hmorimitsu
Copy link
Owner

hmorimitsu commented Sep 8, 2023 via email

@hoseinCode
Copy link
Author

yes. by pip

@hoseinCode
Copy link
Author

in during installing ptlflow, torchtext installed itself.

@hoseinCode
Copy link
Author

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.

@hoseinCode
Copy link
Author

i did all solutions from stackoverflow but did not fix.

@hmorimitsu
Copy link
Owner

hmorimitsu commented Sep 9, 2023 via email

@hoseinCode
Copy link
Author

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

@hoseinCode
Copy link
Author

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

@hmorimitsu
Copy link
Owner

hmorimitsu commented Sep 10, 2023 via email

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

2 participants