We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
fname
str
pathlib.PosixPath
Support, please, both types of arguments or fix typing.
The text was updated successfully, but these errors were encountered:
fix: typing and fname usage in TorchModel.save/load, resolves #1420
f1efeec
No branches or pull requests
fname
argument of TorchModel.save() is expected to bestr
, but is actually used aspathlib.PosixPath
https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/core/models/torch_model.py#L172
Support, please, both types of arguments or fix typing.
The text was updated successfully, but these errors were encountered: