-
Notifications
You must be signed in to change notification settings - Fork 180
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 #20
Comments
If you are using google colab, then it is the problem, because the inside file contains showing some windows and video capturing, which are services not allowed in google colab, try to edit the file to make it run with any named windows or webcam captures. |
You need to comment/remove all the cv2.windows commands as colab doesn't allow these optional window graphics. These following lines of code were changed for running yoloface on images: def _main():
|
@Vivek-23-Titan thanks, that's work on command line vps. |
@Classsic , I am no expert but I think, I found something useful on this. https://stackoverflow.com/questions/21697645/how-to-extract-metadata-from-a-image-using-python Here, the meta data of an image is converted in a dictionary format. |
I got this error:
----- info -----
[i] The config file: ./cfg/yolov3-face.cfg
[i] The weights of model file: ./model-weights/yolov3-wider_16000.weights
[i] Path to image file: samples/outside_000001.jpg
[i] Path to video file:
###########################################################
==> Skipping create the outputs/ directory...
: cannot connect to X server
The text was updated successfully, but these errors were encountered: