pub struct EvalParams {
pub iou_type: IouType,
pub iou_thresholds: Vec<f64>,
pub recall_thresholds: Vec<f64>,
pub area_ranges: BTreeMap<String, [f64; 2]>,
pub max_dets: Vec<usize>,
pub use_cats: bool,
pub kpt_oks_sigmas: Vec<f64>,
pub eval_mode: String,
pub reference_deviations: Vec<String>,
}Expand description
Serializable summary of evaluation parameters.
A projection of Params carrying every field that decides what the
metrics mean — the archive has to be self-explaining, because a saved
results file whose configuration must be reconstructed from memory is the
situation it exists to prevent. That is also why
reference_deviations rides along: a file
marked Extension should say why on its own.
Fields§
§iou_type: IouType§iou_thresholds: Vec<f64>§recall_thresholds: Vec<f64>The recall grid AP is interpolated over — the x-axis that defines what AP means (101 points for the reference configuration).
area_ranges: BTreeMap<String, [f64; 2]>Area ranges as a map from label to [min, max].
max_dets: Vec<usize>§use_cats: boolWhether evaluation was per-category (true) or pooled (false).
kpt_oks_sigmas: Vec<f64>Per-keypoint OKS sigmas. Only consulted by keypoint evaluation, but archived unconditionally so the file’s shape does not depend on the run.
eval_mode: StringEvaluation mode: “coco”, “lvis”, or “openimages”.
reference_deviations: Vec<String>Ways this run departed from the reference configuration — the same
strings COCOeval::reference_deviations
returns, and the reason whenever provenance says extension. Empty
for a parity-verified run.
Trait Implementations§
Source§impl Clone for EvalParams
impl Clone for EvalParams
Source§fn clone(&self) -> EvalParams
fn clone(&self) -> EvalParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EvalParams
impl Debug for EvalParams
Auto Trait Implementations§
impl Freeze for EvalParams
impl RefUnwindSafe for EvalParams
impl Send for EvalParams
impl Sync for EvalParams
impl Unpin for EvalParams
impl UnsafeUnpin for EvalParams
impl UnwindSafe for EvalParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more