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