tracklab.wrappers.eval.posetrack package

Submodules

tracklab.wrappers.eval.posetrack.posetrack18_evaluator module

class tracklab.wrappers.eval.posetrack.posetrack18_evaluator.PoseTrack18Evaluator(cfg, *args, **kwargs)[source]

Bases: Evaluator

run(tracker_state)[source]

Run the evaluation :param tracker_state: the tracker state for the evaluation :type tracker_state: TrackerState

tracklab.wrappers.eval.posetrack.posetrack21_evaluator module

class tracklab.wrappers.eval.posetrack.posetrack21_evaluator.PoseTrack21Evaluator(cfg, *args, **kwargs)[source]

Bases: Evaluator

class PoseTrackEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)[source]

Bases: JSONEncoder

default(obj)[source]

Implement this method in a subclass such that it returns a serializable object for o, or calls the base implementation (to raise a TypeError).

For example, to support arbitrary iterators, you could implement default like this:

def default(self, o):
    try:
        iterable = iter(o)
    except TypeError:
        pass
    else:
        return list(iterable)
    # Let the base class default method raise the TypeError
    return JSONEncoder.default(self, o)
check_if_tracklet(detections)[source]
static compute_bbox_map(detections_pred, detections_gt, metadatas, bbox_column)[source]
static format_metric(metric_name, metric_value, scale_factor)[source]
has_enough_vis_kp(x)[source]
remove_not_visible_kps(x)[source]
run(tracker_state)[source]

Run the evaluation :param tracker_state: the tracker state for the evaluation :type tracker_state: TrackerState