Now let's get to the coding part for the data preprocessing. From now on, we will show you what we have changed from the original repository of the tensorflow/models. Basically, we take the code to the process flowers dataset as the starting point and modify them to suit our needs.
In the download_and_convert_data.py file, we have added a new line at the beginning of the file:
from datasets import download_and_convert_diabetic and a new else-if clause to process the dataset_name "diabetic" at line 69: elif FLAGS.dataset_name == 'diabetic': download_and_convert_diabetic.run(FLAGS.dataset_dir)
With this code, we can call the run method in the download_and_convert_diabetic.py in the datasets folder. This is a ...