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

torch 1.7 in google colab #555

Open
bahramreza opened this issue Mar 31, 2024 · 2 comments
Open

torch 1.7 in google colab #555

bahramreza opened this issue Mar 31, 2024 · 2 comments

Comments

@bahramreza
Copy link

Hello . I wanted to run Fairmot code in google colab but I could not install torch1.7 in colab. And I see the following error. Is it possible to give advice?
/content/FairMOT/DCNv2/DCNv2/src/cpu/dcn_v2_cpu.cpp:7:10: fatal error: TH/TH.h: No such file or directory
7 | #include <TH/TH.h>
| ^~~~~~~~~
compilation terminated.
error: command '/usr/bin/g++' failed with exit code 1

@Hemilibeatriz
Copy link

Hi, did you get it to work? I'm having the same issue, and even when I roll back Python to version 3.7 as suggested, it still doesn't work.

@mohibovais79
Copy link

i have tried with both pip and conda but torch does not install it always says it cannot find such package.
i am using python 3.8 as mentioned in readme.

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

3 participants