S
S
Susanin2021-08-18 00:18:04
Python
Susanin, 2021-08-18 00:18:04

How to solve "Cannot register 2 metrics with the same name" error in Tensorflow?

Hello. Can't figure out how to fix the error

2021-08-18 00:00:18.344623: E tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/api/keras/dropout/temp_rate_is_zero


tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists.


As I understand it, there are two certain metrics that have the same name, and tensorflow does not like this. How to change these names? Or is the problem somewhere else?

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jury, 2021-11-12
@jury

Bug in version 2.6.0. Try tensorflow==2.6.2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question