Struct google_api_proto::google::cloud::aiplatform::v1::schema::predict::params::VideoClassificationPredictionParams
source · pub struct VideoClassificationPredictionParams {
pub confidence_threshold: f32,
pub max_predictions: i32,
pub segment_classification: bool,
pub shot_classification: bool,
pub one_sec_interval_classification: bool,
}
Expand description
Prediction model parameters for Video Classification.
Fields§
§confidence_threshold: f32
The Model only returns predictions with at least this confidence score. Default value is 0.0
max_predictions: i32
The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10,000.
segment_classification: bool
Set to true to request segment-level classification. Vertex AI returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true
shot_classification: bool
Set to true to request shot-level classification. Vertex AI determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. Vertex AI then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false
one_sec_interval_classification: bool
Set to true to request classification for a video at one-second intervals. Vertex AI returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false
Trait Implementations§
source§impl Clone for VideoClassificationPredictionParams
impl Clone for VideoClassificationPredictionParams
source§fn clone(&self) -> VideoClassificationPredictionParams
fn clone(&self) -> VideoClassificationPredictionParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for VideoClassificationPredictionParams
impl Message for VideoClassificationPredictionParams
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for VideoClassificationPredictionParams
impl PartialEq for VideoClassificationPredictionParams
source§fn eq(&self, other: &VideoClassificationPredictionParams) -> bool
fn eq(&self, other: &VideoClassificationPredictionParams) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for VideoClassificationPredictionParams
impl StructuralPartialEq for VideoClassificationPredictionParams
Auto Trait Implementations§
impl Freeze for VideoClassificationPredictionParams
impl RefUnwindSafe for VideoClassificationPredictionParams
impl Send for VideoClassificationPredictionParams
impl Sync for VideoClassificationPredictionParams
impl Unpin for VideoClassificationPredictionParams
impl UnwindSafe for VideoClassificationPredictionParams
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request