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

__deepcopy__ for DualGraphModule #8708

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andreasfloros
Copy link
Contributor

@andreasfloros andreasfloros commented Nov 2, 2024

DualGraphModule inherits deepcopy behavior from GraphModule, which ignores the train_graph and eval_graph.

This PR implements __deepcopy__ for DualGraphModule.

Fixes #8634

Copy link

pytorch-bot bot commented Nov 2, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8708

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

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

Successfully merging this pull request may close these issues.

Deepcopy of torchvision.models.feature_extraction.DualGraphModule breaks eval
2 participants