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

Error downloading images #79

Open
Muzammil-Elahi opened this issue May 22, 2020 · 0 comments
Open

Error downloading images #79

Muzammil-Elahi opened this issue May 22, 2020 · 0 comments

Comments

@Muzammil-Elahi
Copy link

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.

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

1 participant