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

Add inference_mode back to image_segmentation #14210

Closed
4 tasks
Narsil opened this issue Oct 29, 2021 · 2 comments
Closed
4 tasks

Add inference_mode back to image_segmentation #14210

Narsil opened this issue Oct 29, 2021 · 2 comments
Assignees

Comments

@Narsil
Copy link
Contributor

Narsil commented Oct 29, 2021

Environment info

This hotfix: #14204 could be superseeded with superior fix that would keep inference_mode by hiding the tensor inplace modifications behind if self.training.

Who can help

Information

Model I am using (Bert, XLNet ...):

The problem arises when using:

  • the official example scripts: (give details below)
  • my own modified scripts: (give details below)

The tasks I am working on is:

  • an official GLUE/SQUaD task: (give the name)
  • my own task or dataset: (give details below)

To reproduce

Steps to reproduce the behavior:

Expected behavior

@Narsil Narsil self-assigned this Oct 29, 2021
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@Narsil
Copy link
Contributor Author

Narsil commented Nov 29, 2021

Was fixed by #14260

@Narsil Narsil closed this as completed Nov 29, 2021
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

No branches or pull requests

1 participant