Q1. None of the MLIR Optimization Passes are enabled(registered 2)
A: 这是一个良性的输出
Q2. When I am trying to run a Python code for deep learning utilizing the TensorFlow library, I am getting the following error:
2021-10-24 10:07:13.619481: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘cudart64_110.dll’; dlerror: cudart64_110.dll not found 2021-10-24 10:07:13.619752: 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. 2021-10-24 10:07:18.797570: E tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/api/keras/optimizers
Traceback (most recent call last):
… …
self._metric = self._metric_methods[self._label_length].create(*args) tensorflow.python.framework.errors_impl. AlreadyExistsError: Another metric with the same name already exists.
A:keras版本与tf版本不对应,tf=2.6 将keras从2.7降低到2.6