Closed cooperlab closed 1 year ago
Using kwargs with callable losses via functools.partial prevents saving of models (tensorflow error). For now, raise an error when kwargs are provided with losses. Upgrade losses to classes to enable kwargs.
Branch issue-35-Prevent_callables_from_using_kwargs created!
Addressed by PR #36
Using kwargs with callable losses via functools.partial prevents saving of models (tensorflow error). For now, raise an error when kwargs are provided with losses. Upgrade losses to classes to enable kwargs.