CornerNet icon indicating copy to clipboard operation
CornerNet copied to clipboard

debug in multiprocessing

Open Hello526 opened this issue 6 years ago • 5 comments

Hi,

I want to step into the coco.py(../sample) to see the kp_detection function during training, learn how to generate labels (heatmaps, regrs, tags).

https://github.com/princeton-vl/CornerNet/blob/e5c39a31a8abef5841976c8eab18da86d6ee5f9a/sample/coco.py#L49

But I seem to have encountered problems that cannot be debugged in multiple processes.

Do you know how to enter the kp_detection function to see the results of each step? I want to know how the labels(heatmaps, regrs, tags) is generated.

Hello526 avatar Sep 14 '19 02:09 Hello526

https://github.com/princeton-vl/CornerNet/blob/e5c39a31a8abef5841976c8eab18da86d6ee5f9a/sample/coco.py#L51

I created a breakpoint in the above position, and the program stays in the position of the picture and cannot continue to run.

Hello526 avatar Sep 14 '19 02:09 Hello526

2019-09-14 10-54-47屏幕截图

Hello526 avatar Sep 14 '19 02:09 Hello526

I don't know how to debug in multiple processes.

Hello526 avatar Sep 14 '19 03:09 Hello526

Have you tried too many GPU training? For example, training CornerNet with four 1080ti sheets

YJLCV avatar Sep 27 '19 13:09 YJLCV

I set all xxx.start() to xxx.run() in train.py to debug.

Hanawh avatar Dec 23 '19 03:12 Hanawh