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

cannot connect to X server #59

Closed
6Lackiu opened this issue Mar 24, 2021 · 5 comments
Closed

cannot connect to X server #59

6Lackiu opened this issue Mar 24, 2021 · 5 comments

Comments

@6Lackiu
Copy link

6Lackiu commented Mar 24, 2021

Hello, when I run "!python object_tracker.py --video ./data/video/cars.mp4 --output ./outputs/tracker.avi --model yolov4" on colab, it prompts "cannot connect to X server", what is the reason and how to solve it?
Looking forward to your reply, thank you!
image`

@jmudy
Copy link

jmudy commented Mar 24, 2021

Use the --dont_show flag:

!python object_tracker.py --video ./data/video/cars.mp4 --output ./outputs/tracker.avi --model yolov4 --dont_show

@6Lackiu
Copy link
Author

6Lackiu commented Mar 24, 2021

Use the --dont_show flag:

!python object_tracker.py --video ./data/video/cars.mp4 --output ./outputs/tracker.avi --model yolov4 --dont_show

Thank you for your answer, but if I operate as you did, my output video is not tested and is the same as the original video. I don't know why.

@6Lackiu
Copy link
Author

6Lackiu commented Mar 24, 2021

使用--dont_show标志:
!python object_tracker.py --video ./data/video/cars.mp4 --output ./outputs/tracker.avi --model yolov4 --dont_show

感谢您的回答,但是如果我按您的方式操作,我的输出视频将未经测试,并且与原始视频相同。我不知道为什么

The problem is solved, thank you!

@6Lackiu 6Lackiu closed this as completed Mar 24, 2021
@rebeccamart
Copy link

Hi @6Lackiu , I have the same problem. I use the --dont_show flag, and my output video is the same as original.
Have you been able to solve it? Thanks in advance.

@6Lackiu
Copy link
Author

6Lackiu commented Nov 11, 2022

Hi @6Lackiu , I have the same problem. I use the --dont_show flag, and my output video is the same as original. Have you been able to solve it? Thanks in advance.

@rebeccamart I'd love to help you out, but unfortunately it's been a long time since I worked on this project and I can't remember the details. Maybe you can ask someone else. Feel sorry!

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