s3d¶
- torchvision.models.video.s3d(*, weights: Optional[S3D_Weights] = None, progress: bool = True, **kwargs: Any) S3D[source]¶
Construct Separable 3D CNN model.
Reference: Rethinking Spatiotemporal Feature Learning.
Warning
The video module is in Beta stage, and backward compatibility is not guaranteed.
- Parameters:
weights (
S3D_Weights, optional) – The pretrained weights to use. SeeS3D_Weightsbelow for more details, and possible values. By default, no pre-trained weights are used.progress (bool) – If True, displays a progress bar of the download to stderr. Default is True.
**kwargs – parameters passed to the
torchvision.models.video.S3Dbase class. Please refer to the source code for more details about this class.