Currently, after the images are downloaded, the 03-update_data_statistics.py needs to update the data_statistics.csv file with the information about how many images there are for each species. However, the script presumes the .csv file already exists.
I made a small change where the script first checks if the file exsits: if it does - it is loaded. If it doesn't - an empty data frame is created and then populated with the updated info.
Currently, after the images are downloaded, the
03-update_data_statistics.py
needs to update the data_statistics.csv file with the information about how many images there are for each species. However, the script presumes the .csv file already exists.I made a small change where the script first checks if the file exsits: if it does - it is loaded. If it doesn't - an empty data frame is created and then populated with the updated info.