Tensorflow - ( Retrain.py ) Oserror: [errno 2] No Such File Or Directory: ''
I'm running tensorflow in Ubuntu (in VirtualEnv). I want to create training model ...( using retrain.py to train the model ).. Github code link ==> https://github.com/tensorflow
Solution 1:
while running retrain.py, you do not have to specify all the parameters. Just specify
python /path_to_file/retrain.py --img_dir /dir_containing_subfolders_of_images
while running the code and it will use default paths for remaining arguments. eg. /tmp/some_dir_or_file for most cases.
If you want to specify custom locations create the desired directories and specify those paths. eg.
python /path_to_file/retrain.py
--img_dir /dir_containing_subfolders_of_images
--how_many_training_steps number_of_steps
--output_graph /dirPath_to_store_output_graph/file_name.pb
--output_labels /dirPath_to_store_output_labels/file_name.txt
Post a Comment for "Tensorflow - ( Retrain.py ) Oserror: [errno 2] No Such File Or Directory: ''"