TypeError: fit() got multiple values for keyword argument ‘batch_size’.
I have passed single argument only as you can see in the above snippet. I have read that it is generally caused due to the following reasons mentioned in blogpost ‘Got multiple values for argument’ error with keyword arguments in Python classes « Robin's Blog
Does my Dependency creating this issue or Something else. Sorry if the question is very basic, I am not expert at ML and deep learning. Just begin with rasa first time.
# filter out kwargs that cannot be passed to fit
params = self._get_valid_params(self.model.fit, **kwargs)
whereas the self._get_valid_params( … ) method is implemented for all policies and does not correctly filter out the params (or does it?). Well, at least we end up with the issue/error @this-is-r-gaurav mentioned.
This method actually works.
But I think in new version 0.12.0 on wards, we have to give keras policy in a configuration yml file.
You can try this out.
Thank you for your reply @rohitharitash. Though, for consistency, can you provide a programmatic example? I am not a hundred percent sure how to pass on the configuration file from python.