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

detectron2的注册机制 #607

Open
sssimpleboy opened this issue Mar 1, 2023 · 1 comment
Open

detectron2的注册机制 #607

sssimpleboy opened this issue Mar 1, 2023 · 1 comment

Comments

@sssimpleboy
Copy link

您好,我跑的是 CondInst 模型
当我在测试的时候,我想看看后处理是怎样的,但我在<class 'adet.modeling.condinst.condinst.CondInst'> 的forward() 方法中写入的代码 例如 exit() 并没有执行。我怀疑这是与detectron2的注册机制有关,我想调试这部分代码,请问我该怎么做呢?

@sssimpleboy
Copy link
Author

Hello, I'm running the CondInst model
When I was testing, I wanted to see how post-processing worked, but the code I wrote in the forward() method of <class 'adet.modeling.condinst.condinst.CondInst'> didn't execute. I suspect this is related to the registration mechanism of detectron2, I want to debug this part of the code, how do I do it?

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