title: FATAL Flags parsing error: flag --output_directory=None: Flag --output_directory must have a value other than None
body: <p>I am following these instructions: <a href="https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html" rel="nofollow noreferrer">https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html</a> under the paragraph: <strong>Exporting a Trained Model</strong>. I give this command:</p>
  <pre><code>sudo python3 \exporter_main_v2.py --input_type image_tensor --pipeline_config_path \models\my_ssd_resnet50_v1_fpn\pipeline.config --trained_checkpoint_dir \models\my_ssd_resnet50_v1_fpn\ --output_directory \exported-models\my_model
  </code></pre>
  <p>and I get this response:</p>
  <pre><code>2022-07-30 12:59:43.826846: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
  2022-07-30 12:59:43.826949: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
  FATAL Flags parsing error: flag --output_directory=None: Flag --output_directory must have a value other than None.
  Pass --helpshort or --helpfull to see help on flags.
  </code></pre>
  <p>I am in the path:</p>
  <pre><code>~/Desktop/TensorFlow/workspace/training_demo
  </code></pre>
  <p>I have read this possible solution: <a href="https://stackoverflow.com/questions/48003394/running-export-inference-graph-py-throws-an-attribute-error">Running export_inference_graph.py throws an attribute error</a> but I haven't resulted in something that works... Has anyone any idea what should I do? (I am trying to extract the newly trained inference graph, in order to perform the object detection).</p>