-
-
Save jt0dd/2e9b037bc76d7efd6d382fb47238d5f6 to your computer and use it in GitHub Desktop.
trying to export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
py Tensorflow\models\research\object_detection\export_inference_graph.py --input_type image_tensor --pipeline_config_path Tensorflow\workspace\models\my_ssd_mobnet\pipeline.config --trained_checkpoint_prefix Tensorflow\workspace\pre-trained-models\ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8\checkpoint\ckt-5.data-00000-of-00001 --output_directory Tensorflow\workspace\models\my_ssd_mobnet\export | |
2021-07-16 12:06:25.701510: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll | |
2021-07-16 12:06:28.075448: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library nvcuda.dll | |
2021-07-16 12:06:28.093311: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties: | |
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 2080 SUPER computeCapability: 7.5 | |
coreClock: 1.845GHz coreCount: 48 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 462.00GiB/s | |
2021-07-16 12:06:28.093541: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll | |
2021-07-16 12:06:28.102586: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cublas64_11.dll | |
2021-07-16 12:06:28.103936: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cublasLt64_11.dll | |
2021-07-16 12:06:28.107081: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cufft64_10.dll | |
2021-07-16 12:06:28.107949: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library curand64_10.dll | |
2021-07-16 12:06:28.114765: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cusolver64_11.dll | |
2021-07-16 12:06:28.116987: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cusparse64_11.dll | |
2021-07-16 12:06:28.117465: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudnn64_8.dll | |
2021-07-16 12:06:28.118591: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0 | |
2021-07-16 12:06:28.119973: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 | |
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. | |
2021-07-16 12:06:28.120695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties: | |
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 2080 SUPER computeCapability: 7.5 | |
coreClock: 1.845GHz coreCount: 48 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 462.00GiB/s | |
2021-07-16 12:06:28.120916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0 | |
2021-07-16 12:06:28.504631: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix: | |
2021-07-16 12:06:28.504733: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264] 0 | |
2021-07-16 12:06:28.505446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0: N | |
2021-07-16 12:06:28.507421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1418] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5957 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 SUPER, pci bus id: 0000:01:00.0, compute capability: 7.5) | |
Traceback (most recent call last): | |
File "Tensorflow\models\research\object_detection\export_inference_graph.py", line 206, in <module> | |
tf.app.run() | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run | |
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\absl\app.py", line 303, in run | |
_run_main(main, args) | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\absl\app.py", line 251, in _run_main | |
sys.exit(main(argv)) | |
File "Tensorflow\models\research\object_detection\export_inference_graph.py", line 194, in main | |
exporter.export_inference_graph( | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\exporter.py", line 611, in export_inference_graph | |
_export_inference_graph( | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\exporter.py", line 503, in _export_inference_graph | |
outputs, placeholder_tensor_dict = build_detection_graph( | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\exporter.py", line 457, in build_detection_graph | |
placeholder_tensor, input_tensors = input_placeholder_fn_map[input_type]( | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\exporter.py", line 186, in _image_tensor_input_placeholder | |
input_tensor = tf.placeholder( | |
File "C:\Users\jonat\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\ops\array_ops.py", line 3268, in placeholder | |
raise RuntimeError("tf.placeholder() is not compatible with " | |
RuntimeError: tf.placeholder() is not compatible with eager execution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment