OIDv4 download nothing only error
- Dominant language
- Python
- Stars
- 837
- Forks
- 634
- PR merge metrics
- No merged PRs in 30d
Description
I follow all the steps:
install all the 3rd library:pandas/numpy/awscli/urllib3/tqdm/opencv-python
but when I use: python main.py downloader --classes Apple --type_csv validation
Here is what I get
[INFO] | Downloading Apple.
Traceback (most recent call last):
File "E:\OpenImageV4\ss\OIDv4_ToolKit\modules\downloader.py", line 25, in download
columns, rows = os.get_terminal_size(0)
OSError: [WinError 6] ▒▒▒▒▒Ч▒▒
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 "E:\OpenImageV4\ss\OIDv4_ToolKit\modules\bounding_boxes.py", line 70, in bounding_boxes_images
download(args, df_val, folder[1], dataset_dir, class_name, class_code)
File "E:\OpenImageV4\ss\OIDv4_ToolKit\modules\downloader.py", line 27, in download
columns, rows = os.get_terminal_size(1)
OSError: [WinError 6] ▒▒▒▒▒Ч▒▒
It seems that the the error is caused by function of os.get_terminal_size. I try to solve it but fail.
Someone say Ubuntu system instead Windows may help. I try but still fail.
Hope some advice.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.