Skip to content
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

Changed Function objects to be compatible with PyTorch 1.7 #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pyushkevich
Copy link

Hi @durandtibo,

I've been enjoying using WildCat for my work on histology image segmentation (https://ieeexplore.ieee.org/abstract/document/9098462).

Lately I updated PyTorch to 1.7.1 and got a bunch of errors related to forward() needing to be a static function now. This pull request makes it work again.

Thanks for a great algorithm and code!
Paul

Copy link

@Minhtuannn Minhtuannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already have changed like this commit. It worked with version newest Pytorch in 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants