fname argument of TorchModel.save() is expected to be str, but is actually used as pathlib.PosixPath
https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/core/models/torch_model.py#L172
Support, please, both types of arguments or fix typing.
fnameargument of TorchModel.save() is expected to bestr, but is actually used aspathlib.PosixPathhttps://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/core/models/torch_model.py#L172
Support, please, both types of arguments or fix typing.