pytorchvideo.models.net¶
-
class
pytorchvideo.models.net.
Net
(*, blocks)[source]¶ Build a general Net models with a list of blocks for video recognition.
Input ↓ Block 1 ↓ . . . ↓ Block N ↓
The ResNet builder can be found in create_resnet.
-
class
pytorchvideo.models.net.
DetectionBBoxNetwork
(model, detection_head)[source]¶ A general purpose model that handles bounding boxes as part of input.
-
class
pytorchvideo.models.net.
MultiPathWayWithFuse
(*, multipathway_blocks, multipathway_fusion, inplace=True)[source]¶ Build multi-pathway block with fusion for video recognition, each of the pathway contains its own Blocks and Fusion layers across different pathways.
Pathway 1 ... Pathway N ↓ ↓ Block 1 Block N ↓⭠ --Fusion----↓