EscVM / EscVM/OIDv4_ToolKit

Error downloading images

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
837
Forks
634
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.