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

downloader.py Confusion #6

Open
calnick1 opened this issue Sep 1, 2023 · 6 comments
Open

downloader.py Confusion #6

calnick1 opened this issue Sep 1, 2023 · 6 comments

Comments

@calnick1
Copy link

calnick1 commented Sep 1, 2023

Hi @computervisioneng ,

Thank you for your tutorial, While I was running step 5 (python downloader.py $IMAGE_LIST_FILE --download_folder=$DOWNLOAD_FOLDER), I got the below error:

usage: downloader.py [-h] [--num_processes NUM_PROCESSES] [--download_folder DOWNLOAD_FOLDER] image_list
downloader.py: error: the following arguments are required: image_list

Could you please help me with this, Thanks

@mihailmeleca
Copy link

Hi @computervisioneng ,

Thank you for your tutorial, While I was running step 5 (python downloader.py $IMAGE_LIST_FILE --download_folder=$DOWNLOAD_FOLDER), I got the below error:

usage: downloader.py [-h] [--num_processes NUM_PROCESSES] [--download_folder DOWNLOAD_FOLDER] image_list downloader.py: error: the following arguments are required: image_list

You have a file named 'image_list_file' in prepare_data directory, after executing previous steps.

@computervisioneng
Copy link
Owner

Hello, have you replaced $IMAGE_LIST_FILE by the location of your image list file and $DOWNLOAD_FOLDER by the location of your desired download folder?

@DannyDynasty
Copy link

Hello, have you replaced $IMAGE_LIST_FILE by the location of your image list file and $DOWNLOAD_FOLDER by the location of your desired download folder?

Yes, the error cleared but now i get a new error.
(pythonProject1) daniel@MacBook-Air-109 pythonProject1 % python downloader.py /Users/daniel/PycharmProjects/pythonProject1/image_list_file.py --download_folder=/Users/daniel/PycharmProjects/pythonProject1/data/images

ERROR in line 0 of the image list. The following image string is not recognized: "import os".
(pythonProject1) daniel@MacBook-Air-109 pythonProject1 %

@anticrusader
Copy link

im getting the following error
ERROR in line 0 of the image list. The following image string is not recognized: "import os".

@anticrusader
Copy link

Hello, have you replaced $IMAGE_LIST_FILE by the location of your image list file and $DOWNLOAD_FOLDER by the location of your desired download folder?

Yes, the error cleared but now i get a new error. (pythonProject1) daniel@MacBook-Air-109 pythonProject1 % python downloader.py /Users/daniel/PycharmProjects/pythonProject1/image_list_file.py --download_folder=/Users/daniel/PycharmProjects/pythonProject1/data/images

ERROR in line 0 of the image list. The following image string is not recognized: "import os". (pythonProject1) daniel@MacBook-Air-109 pythonProject1 %

you are doing it wrong. u need to download the "Train", "Validation", and "Test" files and place them in "Prepare_Data" folder and execute the "create_image_list_file.py" file. it'll generate a new file named "image_list_file".
this "image_list_file" is used in the "python downloader.py $IMAGE_LIST_FILE --download_folder=$DOWNLOAD_FOLDER" command
you need to replace $IMAGE_LIST_FILE with the path of "image_list_file"

@MokshaK
Copy link

MokshaK commented Mar 14, 2024

i appreciate the content you put together but how this step was put together makes me feel like you aren't too considerate to students who know little and can struggle from following these steps to just to get a hold of material needed to follow the course.

i put the img files to .zip file if someone needs simpler way to get them
https://drive.google.com/file/d/12UzbzPu3t1lntaQAeVRJcFPa0FFP0lAd/view?usp=drive_link

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

6 participants