ObjectDetectionAveragePrecision.load_state_dict#

ObjectDetectionAveragePrecision.load_state_dict(state_dict: Mapping) None#

Method replaces internal state of the class with provided state dict data.

If there’s an active distributed configuration, the process uses its rank to pick the proper value from the list of values saved under each attribute’s name in the dict.

Args:
state_dict: a dict containing attributes of the metric specified in its _state_dict_all_req_keys

attribute.