pub struct CocoMetrics {
pub ap: f32,
pub ap50: f32,
pub ap75: f32,
pub ap_small: f32,
pub ap_medium: f32,
pub ap_large: f32,
pub ar: f32,
}Fields§
§ap: f32AP averaged over IoU thresholds 0.50..=0.95 (step 0.05).
ap50: f32AP at IoU = 0.50.
ap75: f32AP at IoU = 0.75.
ap_small: f32AP for small objects (area < 32²).
ap_medium: f32AP for medium objects (32² <= area < 96²).
ap_large: f32AP for large objects (area >= 96²).
ar: f32Average Recall: mean of max recall across IoU thresholds.
Trait Implementations§
Source§impl Clone for CocoMetrics
impl Clone for CocoMetrics
Source§fn clone(&self) -> CocoMetrics
fn clone(&self) -> CocoMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CocoMetrics
impl Debug for CocoMetrics
Source§impl PartialEq for CocoMetrics
impl PartialEq for CocoMetrics
impl Copy for CocoMetrics
impl StructuralPartialEq for CocoMetrics
Auto Trait Implementations§
impl Freeze for CocoMetrics
impl RefUnwindSafe for CocoMetrics
impl Send for CocoMetrics
impl Sync for CocoMetrics
impl Unpin for CocoMetrics
impl UnsafeUnpin for CocoMetrics
impl UnwindSafe for CocoMetrics
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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