def __init__(self, model_path, action_labels, window_size, human_id=0):
    self.human_id = human_id
    with open(model_path, 'rb') as f:
        self.model = pickle.load(f)
    if (self.model is None):
        print('my Error: failed to load model')
        assert False
    self.action_labels = action_labels
    self.THRESHOLD_SCORE_FOR_DISP = 0.5
    self.feature_generator = FeatureGenerator(window_size)
    self.reset()
def __init__(self, model_path, action_labels, window_size, human_id=0):
    self.human_id = human_id
    with open(model_path, 'rb') as f:
        self.model = pickle.load(f)
    if (self.model is None):
        print('my Error: failed to load model')
        assert False
    self.action_labels = action_labels
    self.THRESHOLD_SCORE_FOR_DISP = 0.5
    self.feature_generator = FeatureGenerator(window_size)
    self.reset()