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

Doesn't open in Linux #113

Open
Artisto1 opened this issue Oct 25, 2023 · 8 comments
Open

Doesn't open in Linux #113

Artisto1 opened this issue Oct 25, 2023 · 8 comments

Comments

@Artisto1
Copy link

Hello- In trying to get help getting this to work in Linux, someone else stated that they too receive an error message trying to open this. Can we PLEASE get some clear help to get this to work in LINUX PLEASE! LETS MOVE ON FROM WINDOWS!!!!

@bmossm
Copy link

bmossm commented Nov 8, 2023

This won't help you at all but I have it running on Linux. It is possible! Windows in the rearview!

@Artisto1
Copy link
Author

Artisto1 commented Nov 8, 2023 via email

@bmossm
Copy link

bmossm commented Nov 8, 2023

Same command as is in the "Get Started" section
https://github.com/gaomingqi/Track-Anything#computer-get-started

python app.py --device cuda:0

This assumes you've navigated in the terminal to the directory that contains the app.py app.

@Artisto1
Copy link
Author

Artisto1 commented Nov 15, 2023

Thanks! But I am lost reading the supposed direction and again, I opened terminal trying to guess which command may get the program running if all the dependencies were installed as I'm sure I did. It seemed simple and quick BUT I don't know which command would actually get the program to run. Its probably just that. I was hoping you would respond with this but being redirected doesn't help at all because it's either too technical or not obvious enough to know. But if it CAN help me- I am trying to run this on Linux Mint. Very frustrating to feel like there is yet another small step in compositing that can be had in linux but YET NOT QUITE! Please all! We need this for Linux so we can finally throw rocks at WINDOWS!
UPDATE: Just tried reinstalling and my laptop (Asus ROG G14 Zephyrus, Ryzen 9 16 GB Ram) will not comply (11/25/23)

@bmossm
Copy link

bmossm commented Dec 6, 2023

In linux, open a terminal. If you navigate in the terminal to the folder "cd \myaweseomefolder\track_anything\" now the terminal is in that folder

Then you're typing python app.py this is opening the app.py file in that folder you downloaded and running it.

once it's running it should say the ip address, eventually, in the terminal and you can copy that to a web browser to open the demo that is now running on your computer.

@BluPhoenix
Copy link

BluPhoenix commented Dec 17, 2023

Can we PLEASE get some clear help to get this to work

Can we first get a precise description of your issue? "Does not open" is a very much unhelpful description.
So you type "python app.py" into the terminal and then what? Do you get an error message in the terminal? If so, post that for a start.

@Artisto1
Copy link
Author

Artisto1 commented Dec 19, 2023 via email

@BluPhoenix
Copy link

That looks like you have issues using the linux terminal. I'm assuming you migrated from Windows to Linux Mint recently.
If you have the directory myawesomefolder in your home directory and inside is the directory track_anything, you have to do type the following into your terminal:

cd myawesomefolder/track_anything
python app.py

The first command "cd" is short for change directory and just moves the terminal into the direcotry with the file app.py. The second command "python" runs the python file app.py.

Note the "/" instead of the "" and also the missing "" or "/" in the beginning of the path.

Should hopefully look something like this for you:

***@***.***:~$ cd myaweseomefolder/track_anything
***@***.***:~/myaweseomefolder/track_anything $ python app.py

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