Policy could not be loaded - Rasa Open Source - Rasa Community Forum

👋 Introducing the Rasa Playground

Policy could not be loaded

post by MagicMoGua on Apr 1, 2020

Hi, I update the rasa version from 1.7.1 to 1.9.3. When running “rasa train”, policy could not be loaded. But 1.7.1 is OK. Any help,thanks.

rasa 1.9.3 ubuntu 16.04 tensorflow 2.1.0 or tensorflow1.14.0 both tried

post by svshubham01 on Apr 1, 2020

Which policy?

post by MagicMoGua on Apr 1, 2020

Keras policy. Because the first policy in my domain file is keras policy. the every policy could not be loaded,

post by svshubham01 on Apr 1, 2020

Keras Policy is depreciated, use TEDPolicy instead of Keras.

post by MagicMoGua on Apr 1, 2020

I tried. It’s the same error “‘TEDPolicy’ could not be loaded”

post by svshubham01 on Apr 1, 2020

can you share your config.yml and the error log?

post by MagicMoGua on Apr 1, 2020

policies:

post by MagicMoGua on Apr 1, 2020

OK, it works. Thank you

post by svshubham01 on Apr 1, 2020

Hi, Glad that helped you can you mark that post as the Solution.

post by svshubham01 on Apr 1, 2020

I had the same error with the MemoizationPolicy, what i did was i uninstall the tensorflow and install it again try using tensorflow 1.15.0, you can do that with pip install tensorflow==1.15.0.