Caffe2 - Python API
A deep learning, cross platform ML framework
Classes | Functions
timeout_guard Namespace Reference

Module caffe2.python.timeout_guard. More...

Classes

class  WatcherThread
 

Functions

def CompleteInTimeOrDie (timeout_secs)
 
def EuthanizeIfNecessary (timeout_secs=120)
 

Detailed Description

Module caffe2.python.timeout_guard.

Function Documentation

◆ EuthanizeIfNecessary()

def timeout_guard.EuthanizeIfNecessary (   timeout_secs = 120)
Call this if you have problem with process getting stuck at shutdown.
It will kill the process if it does not terminate in timeout_secs.

Definition at line 102 of file timeout_guard.py.