Environment Linux Ubuntu 16.04.5 LTS Python 3.5.2 rasa_nlu version - 0.15.0a1
I am receiving TypeError: descriptor ‘subclasses’ of ‘type’ object needs an argument
while importing KerasPolicy from rasa_core.policies.keras_policy import
Made the changes suggested in this thread as per below TyperError in Keras Policy
self.model.fit(shuffled_X, shuffled_y, epochs=self.epochs, batch_size=self.batch_size, **params)
to
self.model.fit(shuffled_X, shuffled_y, **{‘epochs’: self.epochs, ‘batch_size’: self.batch_size, **params}) # params take precedence
But issue still persist
Could anyone please guide how to import KerasPolicy successfully