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 hooks to a module (make sure the hooks are removed), cannot deepcopy OBB model #374

Open
TianL123 opened this issue Apr 25, 2024 · 1 comment

Comments

@TianL123
Copy link

When I use this YOLOv8 pruning routine, I cannot carry out deepcopy, I use OBB model, I suspect it is caused by hook operation, but I do not know how to solve it.
BUG:Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment

@ajithvcoder
Copy link

@TianL123 could u share u r code

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

2 participants