Another metrix with the same name already exists

Dear Community, I am using Rasa to build a chatbot for my bachelor’s Final Year Project. However, it has been couple of days I am suffering with this error when I am trying to run rasa or even train rasa… I have totally zero idea from where this appeared all of a sudden. I really really really need help. :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob: :sob:

I am using rasa latest version 2.8.12`

self._metric = self._metric_methods[self._label_length].create(*args)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists.

Hi @maralbahari and welcome to the community!

Can you please share the rasa --version while activating conda environment.

2 Likes

Welcome to the community! :slight_smile:

Rasa has upgraded Tensorflow as of 2.8.9, so this is the culprit. Try giving your feedback in this thread.

Meanwhile, you can use a lower version:

pip install rasa==2.8.8 rasa-sdk==2.8.2
1 Like