tensorflow / tensorflow/models

ValueError: Parent directory of model.ckpt doesn't exist, can't save.

Open
#8,424 2 comments 0 reactions 1 assignee View on GitHub

@pkulzc is already working on this.

Since Apr 26, 2020.

models:research type:bug
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

I made the following error while trying to save the generated model.ckpt file as a. Pb file.
Help me ,please.
The error is as follows:
D:\work\TensorFlow\envs\tensorflow\lib\site-packages\absl\flags_validators.py:359: UserWarning: Flag --trained_checkpoint_prefix has a non-None default value; therefore, mark_flag_as_required will pass even if flag is not specified in the command line!
'command line!' % flag_name)
D:\work\TensorFlow\envs\tensorflow\lib\site-packages\absl\flags_validators.py:359: UserWarning: Flag --output_directory has a non-None default value; therefore, mark_flag_as_required will pass even if flag is not specified in the command line!
'command line!' % flag_name)
WARNING:tensorflow:From D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py:356: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.get_or_create_global_step
2020-04-23 01:13:03.807883: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-04-23 01:13:04.844937: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 0 with properties:
name: GeForce GTX 950M major: 5 minor: 0 memoryClockRate(GHz): 1.124
pciBusID: 0000:01:00.0
totalMemory: 4.00GiB freeMemory: 3.34GiB
2020-04-23 01:13:04.866714: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0
2020-04-23 01:13:12.043030: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-04-23 01:13:12.050815: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958] 0
2020-04-23 01:13:12.054602: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0: N
2020-04-23 01:13:12.076548: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3070 MB memory) -> physical GPU (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)
2020-04-23 01:13:14.915827: W T:\src\github\tensorflow\tensorflow\core\framework\op_kernel.cc:1318] OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a directory: ; No such file or directory
Traceback (most recent call last):
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1322, in _do_call
return fn(*args)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ; No such file or directory
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, BoxPredictor_0/BoxEncodingPredictor/biases/_495, BoxPredictor_0/BoxEncodingPredictor/weights, BoxPredictor_0/ClassPredictor/biases/_497, BoxPredictor_0/ClassPredictor/weights, BoxPredictor_1/BoxEncodingPredictor/biases/_499, BoxPredictor_1/BoxEncodingPredictor/weights, BoxPredictor_1/ClassPredictor/biases/_501, BoxPredictor_1/ClassPredictor/weights, BoxPredictor_2/BoxEncodingPredictor/biases/_503, BoxPredictor_2/BoxEncodingPredictor/weights, BoxPredictor_2/ClassPredictor/biases/_505, BoxPredictor_2/ClassPredictor/weights, BoxPredictor_3/BoxEncodingPredictor/biases/_507, BoxPredictor_3/BoxEncodingPredictor/weights, BoxPredictor_3/ClassPredictor/biases/_509, BoxPredictor_3/ClassPredictor/weights, BoxPredictor_4/BoxEncodingPredictor/biases/_511, BoxPredictor_4/BoxEncodingPredictor/weights, BoxPredictor_4/ClassPredictor/biases/_513, BoxPredictor_4/ClassPredictor/weights, BoxPredictor_5/BoxEncodingPredictor/biases/_515, BoxPredictor_5/BoxEncodingPredictor/weights, BoxPredictor_5/ClassPredictor/biases/_517, BoxPredictor_5/ClassPredictor/weights, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/_519, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/_521, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_mean/_523, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_variance/_525, FeatureExtractor/MobilenetV1/Conv2d_0/weights, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/_527, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/_529, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_mean/_531, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_variance/_533, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/_535, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/_537, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_mean/_539, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_variance/_541, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/beta/_543, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/gamma/_545, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_mean/_547, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_variance/_549, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/beta/_551, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/gamma/_553, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_mean/_555, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_variance/_557, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/beta/_559, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/gamma/_561, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_mean/_563, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_variance/_565, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/beta/_567, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/gamma/_569, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_mean/_571, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_variance/_573, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/beta/_575, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/gamma/_577, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_mean/_579, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_variance/_581, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/beta/_583, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/gamma/_585, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_mean/_587, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_variance/_589, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/beta/_591, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/gamma/_593, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_mean/_595, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_variance/_597, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/beta/_599, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/gamma/_601, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_mean/_603, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_variance/_605, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/beta/_607, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/gamma/_609, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_mean/_611, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_variance/_613, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/beta/_615, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/gamma/_617, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_mean/_619, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_variance/_621, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/beta/_623, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/gamma/_625, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_mean/_627, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_variance/_629, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/beta/_631, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/gamma/_633, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_mean/_635, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_variance/_637, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/beta/_639, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/gamma/_641, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_mean/_643, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_variance/_645, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/beta/_647, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma/_649, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean/_651, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance/_653, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/weights, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/beta/_655, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/gamma/_657, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_mean/_659, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_variance/_661, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/beta/_663, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/gamma/_665, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_mean/_667, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_variance/_669, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/beta/_671, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/gamma/_673, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_mean/_675, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_variance/_677, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/beta/_679, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/gamma/_681, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_mean/_683, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_variance/_685, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/beta/_687, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/gamma/_689, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_mean/_691, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_variance/_693, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/beta/_695, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/gamma/_697, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_mean/_699, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_variance/_701, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/beta/_703, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/gamma/_705, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_mean/_707, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_variance/_709, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/beta/_711, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/gamma/_713, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_mean/_715, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_variance/_717, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/beta/_719, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/gamma/_721, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_mean/_723, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_variance/_725, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/beta/_727, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/gamma/_729, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_mean/_731, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_variance/_733, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/beta/_735, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/gamma/_737, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_mean/_739, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_variance/_741, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/beta/_743, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/gamma/_745, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_mean/_747, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_variance/_749, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/beta/_751, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/gamma/_753, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_mean/_755, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_variance/_757, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/beta/_759, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/gamma/_761, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_mean/_763, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_variance/_765, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/beta/_767, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/gamma/_769, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_mean/_771, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_variance/_773, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/beta/_775, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/gamma/_777, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_mean/_779, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_variance/_781, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/beta/_783, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/gamma/_785, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_mean/_787, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_variance/_789, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/beta/_791, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/gamma/_793, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_mean/_795, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_variance/_797, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/weights, global_step/_799)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1652, in save
{self.saver_def.filename_tensor_name: checkpoint_file})
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 900, in run
run_metadata_ptr)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1316, in _do_run
run_metadata)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ; No such file or directory
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, BoxPredictor_0/BoxEncodingPredictor/biases/_495, BoxPredictor_0/BoxEncodingPredictor/weights, BoxPredictor_0/ClassPredictor/biases/_497, BoxPredictor_0/ClassPredictor/weights, BoxPredictor_1/BoxEncodingPredictor/biases/_499, BoxPredictor_1/BoxEncodingPredictor/weights, BoxPredictor_1/ClassPredictor/biases/_501, BoxPredictor_1/ClassPredictor/weights, BoxPredictor_2/BoxEncodingPredictor/biases/_503, BoxPredictor_2/BoxEncodingPredictor/weights, BoxPredictor_2/ClassPredictor/biases/_505, BoxPredictor_2/ClassPredictor/weights, BoxPredictor_3/BoxEncodingPredictor/biases/_507, BoxPredictor_3/BoxEncodingPredictor/weights, BoxPredictor_3/ClassPredictor/biases/_509, BoxPredictor_3/ClassPredictor/weights, BoxPredictor_4/BoxEncodingPredictor/biases/_511, BoxPredictor_4/BoxEncodingPredictor/weights, BoxPredictor_4/ClassPredictor/biases/_513, BoxPredictor_4/ClassPredictor/weights, BoxPredictor_5/BoxEncodingPredictor/biases/_515, BoxPredictor_5/BoxEncodingPredictor/weights, BoxPredictor_5/ClassPredictor/biases/_517, BoxPredictor_5/ClassPredictor/weights, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/_519, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/_521, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_mean/_523, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_variance/_525, FeatureExtractor/MobilenetV1/Conv2d_0/weights, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/_527, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/_529, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_mean/_531, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_variance/_533, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/_535, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/_537, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_mean/_539, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_variance/_541, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/beta/_543, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/gamma/_545, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_mean/_547, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_variance/_549, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/beta/_551, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/gamma/_553, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_mean/_555, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_variance/_557, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/beta/_559, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/gamma/_561, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_mean/_563, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_variance/_565, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/beta/_567, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/gamma/_569, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_mean/_571, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_variance/_573, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/beta/_575, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/gamma/_577, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_mean/_579, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_variance/_581, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/beta/_583, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/gamma/_585, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_mean/_587, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_variance/_589, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/beta/_591, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/gamma/_593, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_mean/_595, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_variance/_597, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/beta/_599, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/gamma/_601, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_mean/_603, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_variance/_605, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/beta/_607, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/gamma/_609, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_mean/_611, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_variance/_613, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/beta/_615, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/gamma/_617, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_mean/_619, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_variance/_621, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/beta/_623, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/gamma/_625, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_mean/_627, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_variance/_629, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/beta/_631, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/gamma/_633, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_mean/_635, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_variance/_637, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/beta/_639, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/gamma/_641, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_mean/_643, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_variance/_645, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/beta/_647, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma/_649, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean/_651, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance/_653, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/weights, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/beta/_655, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/gamma/_657, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_mean/_659, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_variance/_661, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/beta/_663, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/gamma/_665, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_mean/_667, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_variance/_669, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/beta/_671, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/gamma/_673, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_mean/_675, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_variance/_677, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/beta/_679, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/gamma/_681, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_mean/_683, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_variance/_685, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/beta/_687, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/gamma/_689, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_mean/_691, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_variance/_693, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/beta/_695, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/gamma/_697, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_mean/_699, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_variance/_701, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/beta/_703, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/gamma/_705, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_mean/_707, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_variance/_709, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/beta/_711, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/gamma/_713, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_mean/_715, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_variance/_717, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/beta/_719, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/gamma/_721, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_mean/_723, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_variance/_725, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/beta/_727, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/gamma/_729, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_mean/_731, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_variance/_733, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/beta/_735, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/gamma/_737, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_mean/_739, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_variance/_741, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/beta/_743, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/gamma/_745, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_mean/_747, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_variance/_749, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/beta/_751, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/gamma/_753, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_mean/_755, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_variance/_757, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/beta/_759, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/gamma/_761, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_mean/_763, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_variance/_765, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/beta/_767, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/gamma/_769, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_mean/_771, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_variance/_773, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/beta/_775, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/gamma/_777, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_mean/_779, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_variance/_781, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/beta/_783, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/gamma/_785, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_mean/_787, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_variance/_789, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/beta/_791, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/gamma/_793, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_mean/_795, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_variance/_797, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/weights, global_step/_799)]]

Caused by op 'save/SaveV2', defined at:
File "export_inference_graph.py", line 150, in
tf.app.run()
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "export_inference_graph.py", line 146, in main
FLAGS.write_inference_graph)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 474, in export_inference_graph
write_inference_graph=write_inference_graph)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 409, in _export_inference_graph
trained_checkpoint_prefix=checkpoint_to_use)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 317, in write_graph_and_checkpoint
tf.import_graph_def(inference_graph_def, name='')
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\util\deprecation.py", line 432, in new_func
return func(*args, **kwargs)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\importer.py", line 442, in import_graph_def
_ProcessNewOps(graph)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\importer.py", line 234, in _ProcessNewOps
for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 3563, in _add_new_tf_operations
for c_op in c_api_util.new_tf_operations(self)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 3563, in
for c_op in c_api_util.new_tf_operations(self)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 3450, in _create_op_from_tf_operation
ret = Operation(c_op, self)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\framework\ops.py", line 1740, in init
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access

NotFoundError (see above for traceback): Failed to create a directory: ; No such file or directory
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, BoxPredictor_0/BoxEncodingPredictor/biases/_495, BoxPredictor_0/BoxEncodingPredictor/weights, BoxPredictor_0/ClassPredictor/biases/_497, BoxPredictor_0/ClassPredictor/weights, BoxPredictor_1/BoxEncodingPredictor/biases/_499, BoxPredictor_1/BoxEncodingPredictor/weights, BoxPredictor_1/ClassPredictor/biases/_501, BoxPredictor_1/ClassPredictor/weights, BoxPredictor_2/BoxEncodingPredictor/biases/_503, BoxPredictor_2/BoxEncodingPredictor/weights, BoxPredictor_2/ClassPredictor/biases/_505, BoxPredictor_2/ClassPredictor/weights, BoxPredictor_3/BoxEncodingPredictor/biases/_507, BoxPredictor_3/BoxEncodingPredictor/weights, BoxPredictor_3/ClassPredictor/biases/_509, BoxPredictor_3/ClassPredictor/weights, BoxPredictor_4/BoxEncodingPredictor/biases/_511, BoxPredictor_4/BoxEncodingPredictor/weights, BoxPredictor_4/ClassPredictor/biases/_513, BoxPredictor_4/ClassPredictor/weights, BoxPredictor_5/BoxEncodingPredictor/biases/_515, BoxPredictor_5/BoxEncodingPredictor/weights, BoxPredictor_5/ClassPredictor/biases/_517, BoxPredictor_5/ClassPredictor/weights, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/beta/_519, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/gamma/_521, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_mean/_523, FeatureExtractor/MobilenetV1/Conv2d_0/BatchNorm/moving_variance/_525, FeatureExtractor/MobilenetV1/Conv2d_0/weights, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/beta/_527, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/gamma/_529, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_mean/_531, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/BatchNorm/moving_variance/_533, FeatureExtractor/MobilenetV1/Conv2d_10_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/beta/_535, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/gamma/_537, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_mean/_539, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/BatchNorm/moving_variance/_541, FeatureExtractor/MobilenetV1/Conv2d_10_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/beta/_543, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/gamma/_545, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_mean/_547, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/BatchNorm/moving_variance/_549, FeatureExtractor/MobilenetV1/Conv2d_11_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/beta/_551, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/gamma/_553, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_mean/_555, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/BatchNorm/moving_variance/_557, FeatureExtractor/MobilenetV1/Conv2d_11_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/beta/_559, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/gamma/_561, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_mean/_563, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/BatchNorm/moving_variance/_565, FeatureExtractor/MobilenetV1/Conv2d_12_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/beta/_567, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/gamma/_569, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_mean/_571, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/BatchNorm/moving_variance/_573, FeatureExtractor/MobilenetV1/Conv2d_12_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/beta/_575, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/gamma/_577, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_mean/_579, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/BatchNorm/moving_variance/_581, FeatureExtractor/MobilenetV1/Conv2d_13_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/beta/_583, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/gamma/_585, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_mean/_587, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/BatchNorm/moving_variance/_589, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/beta/_591, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/gamma/_593, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_mean/_595, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/BatchNorm/moving_variance/_597, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_2_1x1_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/beta/_599, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/gamma/_601, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_mean/_603, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/BatchNorm/moving_variance/_605, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_3_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/beta/_607, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/gamma/_609, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_mean/_611, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/BatchNorm/moving_variance/_613, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_4_1x1_128/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/beta/_615, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/gamma/_617, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_mean/_619, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/BatchNorm/moving_variance/_621, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_1_Conv2d_5_1x1_64/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/beta/_623, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/gamma/_625, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_mean/_627, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/BatchNorm/moving_variance/_629, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_2_3x3_s2_512/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/beta/_631, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/gamma/_633, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_mean/_635, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/BatchNorm/moving_variance/_637, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_3_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/beta/_639, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/gamma/_641, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_mean/_643, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/BatchNorm/moving_variance/_645, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_4_3x3_s2_256/weights, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/beta/_647, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/gamma/_649, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_mean/_651, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/BatchNorm/moving_variance/_653, FeatureExtractor/MobilenetV1/Conv2d_13_pointwise_2_Conv2d_5_3x3_s2_128/weights, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/beta/_655, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/gamma/_657, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_mean/_659, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/BatchNorm/moving_variance/_661, FeatureExtractor/MobilenetV1/Conv2d_1_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/beta/_663, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/gamma/_665, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_mean/_667, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/BatchNorm/moving_variance/_669, FeatureExtractor/MobilenetV1/Conv2d_1_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/beta/_671, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/gamma/_673, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_mean/_675, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/BatchNorm/moving_variance/_677, FeatureExtractor/MobilenetV1/Conv2d_2_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/beta/_679, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/gamma/_681, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_mean/_683, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/BatchNorm/moving_variance/_685, FeatureExtractor/MobilenetV1/Conv2d_2_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/beta/_687, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/gamma/_689, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_mean/_691, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/BatchNorm/moving_variance/_693, FeatureExtractor/MobilenetV1/Conv2d_3_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/beta/_695, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/gamma/_697, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_mean/_699, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/BatchNorm/moving_variance/_701, FeatureExtractor/MobilenetV1/Conv2d_3_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/beta/_703, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/gamma/_705, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_mean/_707, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/BatchNorm/moving_variance/_709, FeatureExtractor/MobilenetV1/Conv2d_4_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/beta/_711, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/gamma/_713, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_mean/_715, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/BatchNorm/moving_variance/_717, FeatureExtractor/MobilenetV1/Conv2d_4_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/beta/_719, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/gamma/_721, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_mean/_723, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/BatchNorm/moving_variance/_725, FeatureExtractor/MobilenetV1/Conv2d_5_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/beta/_727, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/gamma/_729, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_mean/_731, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/BatchNorm/moving_variance/_733, FeatureExtractor/MobilenetV1/Conv2d_5_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/beta/_735, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/gamma/_737, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_mean/_739, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/BatchNorm/moving_variance/_741, FeatureExtractor/MobilenetV1/Conv2d_6_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/beta/_743, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/gamma/_745, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_mean/_747, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/BatchNorm/moving_variance/_749, FeatureExtractor/MobilenetV1/Conv2d_6_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/beta/_751, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/gamma/_753, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_mean/_755, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/BatchNorm/moving_variance/_757, FeatureExtractor/MobilenetV1/Conv2d_7_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/beta/_759, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/gamma/_761, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_mean/_763, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/BatchNorm/moving_variance/_765, FeatureExtractor/MobilenetV1/Conv2d_7_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/beta/_767, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/gamma/_769, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_mean/_771, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/BatchNorm/moving_variance/_773, FeatureExtractor/MobilenetV1/Conv2d_8_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/beta/_775, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/gamma/_777, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_mean/_779, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/BatchNorm/moving_variance/_781, FeatureExtractor/MobilenetV1/Conv2d_8_pointwise/weights, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/beta/_783, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/gamma/_785, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_mean/_787, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/BatchNorm/moving_variance/_789, FeatureExtractor/MobilenetV1/Conv2d_9_depthwise/depthwise_weights, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/beta/_791, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/gamma/_793, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_mean/_795, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/BatchNorm/moving_variance/_797, FeatureExtractor/MobilenetV1/Conv2d_9_pointwise/weights, global_step/_799)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "export_inference_graph.py", line 150, in
tf.app.run()
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "export_inference_graph.py", line 146, in main
FLAGS.write_inference_graph)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 474, in export_inference_graph
write_inference_graph=write_inference_graph)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 409, in _export_inference_graph
trained_checkpoint_prefix=checkpoint_to_use)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\object_detection-0.1-py3.6.egg\object_detection\exporter.py", line 322, in write_graph_and_checkpoint
saver.save(sess, model_path)
File "D:\work\TensorFlow\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1669, in save
raise exc
ValueError: Parent directory of model.ckpt doesn't exist, can't save.

The models I use are ssd_mobilenet_v1_coco_2018_01_28 and ssd_mobilenet_v1_coco.config.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.