-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
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
Added pathlib
support and resolved conflicts.
#1731
Conversation
Let's wait for a response on pytorch/vision#8120 before we do too much. We might be able to get them to support pathlib in the next release. |
@adamjstewart may you please check your LinkedIn. |
Based on the current state of pytorch/vision#8120, I think the easiest thing to do for now would be to define functions in |
@adamjstewart It seems like they have added support for pathlib in |
Fantastic, let's wait until that makes it into a stable release and then rebase this PR. |
I believe torchvision 0.18 includes full pathlib support. If you're still interested, now would be a good time to try to revive this. It's probably easiest to create a new PR since most files have changed since last year. As a first pass, can you change the type hints (without changing the code or type casting) just to see how much of pathlib we already support? Torchvision only supports |
@adamjstewart That's great, but do i have to create a new PR? |
You don't have to, although it's easier to create a new PR than to resolve all of the merge conflicts. |
f3a77fc
to
7d9f54b
Compare
@adamjstewart There are no stubs available for some modules, so mypy is not able to perform type checking resulting in |
Can you push your changes to GitHub so I can see what you mean? I don't fully understand. |
@adamjstewart I haven't made any changes , on cloning the repo and running |
In order for mypy to find the settings in |
added
pathlib
support , removedchecked_instance_type
function