OIDv4_ToolKit icon indicating copy to clipboard operation
OIDv4_ToolKit copied to clipboard

Error downloading images

Open Muzammil-Elahi opened this issue 5 years ago • 0 comments

I run: python main.py downloader --classes Weapon Airplane Vehicle_registration_plate --type_csv train --limit 500 and get the following error: [INFO] | Downloading Weapon. Traceback (most recent call last): File "C:\Users\123\Repos\OIDv4_ToolKit\modules\downloader.py", line 25, in download columns, rows = os.get_terminal_size(0) OSError: [WinError 6] The handle is invalid

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "main.py", line 37, in bounding_boxes_images(args, DEFAULT_OID_DIR) File "C:\Users\123\Repos\OIDv4_ToolKit\modules\bounding_boxes.py", line 62, in bounding_boxes_images download(args, df_val, folder[0], dataset_dir, class_name, class_code) File "C:\Users\123\Repos\OIDv4_ToolKit\modules\downloader.py", line 27, in download columns, rows = os.get_terminal_size(1) OSError: [WinError 6] The handle is invalid Running this on windows 10 with python 3.5 but I also have 3.8 Sorry for the inconvenience and thank you for you time.

Muzammil-Elahi avatar May 22 '20 22:05 Muzammil-Elahi