SSD-Tensorflow icon indicating copy to clipboard operation
SSD-Tensorflow copied to clipboard

I try to train my model with train_ssd_network.py and provide true Datasets-DiR, but return an error

Open Plus-Lee opened this issue 7 years ago • 2 comments

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

Plus-Lee avatar Mar 17 '19 07:03 Plus-Lee

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

VolleyballBird avatar Nov 13 '19 02:11 VolleyballBird

but cant get ssd_300_vgg file

VolleyballBird avatar Nov 13 '19 09:11 VolleyballBird