Guest User

Untitled

a guest
Jul 11th, 2021
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-07-11 20:51:43.649245: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
  2. 2021-07-11 20:51:45.730812: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
  3. 2021-07-11 20:51:45.731633: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
  4. 2021-07-11 20:51:45.753842: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
  5. pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 3070 computeCapability: 8.6
  6. coreClock: 1.815GHz coreCount: 46 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 417.29GiB/s
  7. 2021-07-11 20:51:45.754131: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
  8. 2021-07-11 20:51:45.758254: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
  9. 2021-07-11 20:51:45.758375: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
  10. 2021-07-11 20:51:45.760347: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
  11. 2021-07-11 20:51:45.761361: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
  12. 2021-07-11 20:51:45.762192: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
  13. 2021-07-11 20:51:45.763893: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
  14. 2021-07-11 20:51:45.764706: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudnn64_8.dll'; dlerror:
  15. cudnn64_8.dll not found
  16. 2021-07-11 20:51:45.764869: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
  17. Skipping registering GPU devices...
  18. 2021-07-11 20:51:45.765328: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network
  19. Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2
  20. To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
  21. 2021-07-11 20:51:45.766299: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
  22. 2021-07-11 20:51:45.766431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]
  23. 2021-07-11 20:51:45.766534: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
  24. WARNING:tensorflow:No training configuration found in save file, so the model was *not* compiled. Compile it manually.
  25. 2021-07-11 20:51:46.088826: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
  26. WARNING:tensorflow:Model was constructed with shape (None, 28, 28, 1) for input KerasTensor(type_spec=TensorSpec(shape=(None, 28, 28, 1), dtype=tf.float32, name='Image_paths'), name='Image_paths', description="created by layer 'Image_paths'"), but it was called on an input with incompatible shape
  27. (None, 28).
  28. Traceback (most recent call last):
  29. File "b:/Toernblom/Python/Tests/main.py", line 13, in <module>
  30. model.predict(img)
  31. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1629, in predict
  32. tmp_batch_outputs = self.predict_function(iterator)
  33. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py", line 828, in __call__
  34. result = self._call(*args, **kwds)
  35. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py", line 871, in _call
  36. self._initialize(args, kwds, add_initializers_to=initializers)
  37. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py", line 726, in _initialize
  38. *args, **kwds))
  39. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py", line 2969, in _get_concrete_function_internal_garbage_collected
  40. graph_function, _ = self._maybe_define_function(args, kwargs)
  41. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py", line 3361, in _maybe_define_function
  42. graph_function = self._create_graph_function(args, kwargs)
  43. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py", line 3206, in _create_graph_function
  44. capture_by_value=self._capture_by_value),
  45. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\func_graph.py", line 990, in func_graph_from_py_func
  46. func_outputs = python_func(*func_args, **func_kwargs)
  47. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py", line 634, in wrapped_fn
  48. out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  49. File "C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\func_graph.py", line 977, in wrapper
  50. raise e.ag_error_metadata.to_exception(e)
  51. ValueError: in user code:
  52.  
  53. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\training.py:1478 predict_function *
  54. return step_function(self, iterator)
  55. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\training.py:1468 step_function **
  56. outputs = model.distribute_strategy.run(run_step, args=(data,))
  57. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:1259 run
  58. return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
  59. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:2730 call_for_each_replica return self._call_for_each_replica(fn, args, kwargs)
  60. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:3417 _call_for_each_replica
  61. return fn(*args, **kwargs)
  62. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\training.py:1461 run_step **
  63. outputs = model.predict_step(data)
  64. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\training.py:1434 predict_step
  65. return self(x, training=False)
  66. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py:1012 __call__
  67. outputs = call_fn(inputs, *args, **kwargs)
  68. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\functional.py:425 call
  69. inputs, training=training, mask=mask)
  70. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\functional.py:560 _run_internal_graph
  71. outputs = node.layer(*args, **kwargs)
  72. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py:1012 __call__
  73. outputs = call_fn(inputs, *args, **kwargs)
  74. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\saving\saved_model\utils.py:73 return_outputs_and_add_losses
  75. outputs, losses = fn(inputs, *args, **kwargs)
  76. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\saving\saved_model\utils.py:171 wrap_with_training_arg
  77. lambda: replace_training_and_call(False))
  78. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\utils\control_flow_util.py:115 smart_cond
  79. pred, true_fn=true_fn, false_fn=false_fn, name=name)
  80. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\smart_cond.py:56 smart_cond
  81. return false_fn()
  82. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\saving\saved_model\utils.py:171 <lambda>
  83. lambda: replace_training_and_call(False))
  84. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\saving\saved_model\utils.py:167 replace_training_and_call
  85. return wrapped_call(*args, **kwargs)
  86. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py:828 __call__
  87. result = self._call(*args, **kwds)
  88. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py:862 _call
  89. results = self._stateful_fn(*args, **kwds)
  90. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py:2941 __call__
  91. filtered_flat_args) = self._maybe_define_function(args, kwargs)
  92. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py:3361 _maybe_define_function
  93. graph_function = self._create_graph_function(args, kwargs)
  94. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\function.py:3206 _create_graph_function
  95. capture_by_value=self._capture_by_value),
  96. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\framework\func_graph.py:990 func_graph_from_py_func
  97. func_outputs = python_func(*func_args, **func_kwargs)
  98. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\eager\def_function.py:634 wrapped_fn
  99. out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  100. C:\Users\Anton\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\saved_model\function_deserialization.py:273 restored_function_body
  101. "\n\n".join(signature_descriptions)))
  102.  
  103. ValueError: Could not find matching function to call loaded from the SavedModel. Got:
  104. Positional arguments (2 total):
  105. * {'Image_paths': <tf.Tensor 'inputs:0' shape=(None, 28) dtype=float32>}
  106. * False
  107. Keyword arguments: {}
  108.  
  109. Expected these arguments to match one of the following 4 option(s):
  110.  
  111. Option 1:
  112. Positional arguments (2 total):
  113. * {'Image_paths': TensorSpec(shape=(None, 28, 28, 1), dtype=tf.float32, name='inputs/Image_paths')}
  114. * False
  115. Keyword arguments: {}
  116.  
  117. Option 2:
  118. Positional arguments (2 total):
  119. * {'Image_paths': TensorSpec(shape=(None, 28, 28, 1), dtype=tf.float32, name='inputs/Image_paths')}
  120. * True
  121. Keyword arguments: {}
  122.  
  123. Option 3:
  124. Positional arguments (2 total):
  125. * {'Image_paths': TensorSpec(shape=(None, 28, 28, 1), dtype=tf.float32, name='Image_paths')}
  126. * False
  127. Keyword arguments: {}
  128.  
  129. Option 4:
  130. Positional arguments (2 total):
  131. * {'Image_paths': TensorSpec(shape=(None, 28, 28, 1), dtype=tf.float32, name='Image_paths')}
  132. * True
  133. Keyword arguments: {}
RAW Paste Data