Open Plus-Lee opened 5 years ago
tensorflow.python.framework.errors_impl.FailedPreconditionError: tfrecords; Is a directory [[{{node pascalvoc_2007_data_provider/parallel_read/ReaderReadV2_1}}]] This is my .sh: DATASET_DIR=./tfrecords/ TRAIN_DIR=./log/ python3 train_ssd_network.py \ --train_dir=${TRAIN_DIR} \ --dataset_dir=${DATASET_DIR} \ --dataset_name=pascalvoc_2007 \ --dataset_split_name=train \ --model_name=ssd_300_vgg \ --save_summaries_secs=60 \ --save_interval_secs=600 \ --weight_decay=0.0005 \ --optimizer=adam \ --learning_rate=0.001 \ --batch_size=32
first run the tf_convert_data.py to produce tfrecords,and then i use the same .sh as your's with the relative path changed to absolute path and it started to train
but cant get ssd_300_vgg file
tensorflow.python.framework.errors_impl.FailedPreconditionError: tfrecords; Is a directory [[{{node pascalvoc_2007_data_provider/parallel_read/ReaderReadV2_1}}]] This is my .sh: DATASET_DIR=./tfrecords/ TRAIN_DIR=./log/ python3 train_ssd_network.py \ --train_dir=${TRAIN_DIR} \ --dataset_dir=${DATASET_DIR} \ --dataset_name=pascalvoc_2007 \ --dataset_split_name=train \ --model_name=ssd_300_vgg \ --save_summaries_secs=60 \ --save_interval_secs=600 \ --weight_decay=0.0005 \ --optimizer=adam \ --learning_rate=0.001 \ --batch_size=32