Problem with egohands_dataset_clean.py
when i play these script "egohands_dataset_clean.py" it should return for me 2 folders (train and test) contained the generated CSV, files, right? so, the file only is downloading the egohands_data.zip and extracting it, how can i fix this? ps.: i'm not a python programmer. ps2.: sorry for the bad english.
@y9luiz the csv files gets created at images/train/train_labels.csv and images/test/test_labels.csv
I am running this script and I am getting prompt Generating csv files and after that nothing is happening. No csv files or even folder extraction.
Please help. When I run the script "egohands_dataset_clean.py", I got an comment "Rename the file: cannot connect to X server"
@Kanchon-Kanti-Podder
Following up on your email.
- The code in this repo is tested on a mac. This should also work on ubuntu/linux machines and assumes you are working on a local machine with access to the GUI.
- There are sections in the code that uses openCV to view/verify the bounding boxes ... if you are running this on a remote machine, there will be no GUI availabe and that might be the reason for your
cannot connect to X servererror. See this discussion here https://stackoverflow.com/questions/39840184/python-code-crashes-with-cannot-connect-to-x-server-when-detaching-sshtmux-se. To solve it, you can uncomment parts of the code that use openCV to view images and try again ... e.g. references tocv2 - To crop, hand images out, you can also use OpenCV .. here is some code and guide https://www.pyimagesearch.com/2014/01/20/basic-image-manipulations-in-python-and-opencv-resizing-scaling-rotating-and-cropping/ .