diff --git a/PaddleCV/PaddleVideo/utils.py b/PaddleCV/PaddleVideo/utils.py index 33d3133da5fed1395759b01e4f8369195df162ec..93aa0cb7d261ce557012f08462f4da471910fd4d 100644 --- a/PaddleCV/PaddleVideo/utils.py +++ b/PaddleCV/PaddleVideo/utils.py @@ -24,6 +24,7 @@ def _term(sig_num, addition): signal.signal(signal.SIGTERM, _term) +signal.signal(signal.SIGINT, _term) class AttrDict(dict):