code: def slowfast_16x8_r101_50_50(
      pretrained: bool = False,
      progress: bool = True,
      **kwargs: Any,
  ) -> nn.Module:
      r"""
      SlowFast R101_50_50 model architecture [1] trained with an 16x8 setting on the
      Kinetics dataset. Model with pretrained weights has top1 accuracy of 78.7.
  
      [1] Christoph Feichtenhofer et al, "SlowFast Networks for Video Recognition"
          https://arxiv.org/pdf/1812.03982.pdf
  
      Args:
          pretrained (bool): If True, returns a model pre-trained on Kinetics dataset
          progress (bool): If True, displays a progress bar of the download to stderr
          kwargs: use these to modify any of the other model settings. All the
              options are defined in pytorchvideo/models/slowfast.py
  
      NOTE: to use the pretrained model, do not modify the model configuration
      via the kwargs. Only modify settings via kwargs to initialize a new model
      without pretrained weights.
      """
      # slowfast_r101_50_50 has 6 conv blocks with kernel=(3, 1, 1) in stage 4.
      stage_conv_a_kernel_sizes = (
          (
              (1, 1, 1),
              (1, 1, 1),
              ((3, 1, 1),) * 6 + ((1, 1, 1),) * (23 - 6),
              (3, 1, 1),
          ),
          (
              (3, 1, 1),
              (3, 1, 1),
              ((3, 1, 1),) * 6 + ((1, 1, 1),) * (23 - 6),
              (3, 1, 1),
          ),
      )
      return _slowfast(
          pretrained=pretrained,
          progress=progress,
          checkpoint_path=checkpoint_paths["slowfast_16x8_r101_50_50"],
          model_depth=101,
          slowfast_fusion_conv_kernel_size=(5, 1, 1),
          stage_conv_a_kernel_sizes=stage_conv_a_kernel_sizes,
          head_pool_kernel_sizes=((16, 7, 7), (64, 7, 7)),
          **kwargs,
      )
  
file_path: pytorchvideo/pytorchvideo/models/hub/slowfast.py
imports: from typing import Any, Callable
  import torch.nn
  from pytorchvideo.models.slowfast import create_slowfast, create_slowfast_with_roi_head
  from torch.hub import load_state_dict_from_url
label_desc: Use image node_id 4 for calling a global function with example usage: slowfast_16x8_r101_50_50(pretrained, progress) and returns: _slowfast