MCPcopy Create free account

hub / github.com/datawhalechina/dive-into-cv-pytorch / functions

Functions274 in github.com/datawhalechina/dive-into-cv-pytorch

Methodforward
Pass the input (and mask) through each layer in turn.
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:74
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:89
Methodforward
Apply residual connection to any sublayer with the same size.
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:105
Methodforward
Follow Figure 1 (left) for connections.
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:122
Methodforward
(self, x, memory, src_mask, tgt_mask)
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:141
Methodforward
Follow Figure 1 (right) for connections.
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:156
Methodforward
Implements Figure 2
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:196
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:225
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:236
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer/transformer.py:258
Methodforward
(self, x, target)
code/chapter06_transformer/6.2_recognition_by_transformer/train_utils.py:17
Methodforward
Take in and process masked src and target sequences.
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:34
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:55
Methodforward
Pass the input (and mask) through each layer in turn.
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:74
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:89
Methodforward
Apply residual connection to any sublayer with the same size.
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:121
Methodforward
Follow Figure 1 (left) for connections.
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:139
Methodforward
(self, x, memory, src_mask, tgt_mask)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:158
Methodforward
Follow Figure 1 (right) for connections.
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:173
Methodforward
Implements Figure 2
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:213
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:242
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:253
Methodforward
(self, x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/transformer.py:275
Methodforward
(self, x, target)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/train_utils.py:50
Methodforward
Take in and process masked src and target sequences.
code/chapter06_transformer/6.1_hello_transformer/transformer.py:34
Methodforward
(self, x)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:55
Methodforward
Pass the input (and mask) through each layer in turn.
code/chapter06_transformer/6.1_hello_transformer/transformer.py:74
Methodforward
(self, x)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:89
Methodforward
Apply residual connection to any sublayer with the same size.
code/chapter06_transformer/6.1_hello_transformer/transformer.py:104
Methodforward
(self, x, mask)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:128
Methodforward
(self, x, memory, src_mask, tgt_mask)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:146
Methodforward
Follow Figure 1 (right) for connections.
code/chapter06_transformer/6.1_hello_transformer/transformer.py:161
Methodforward
Implements Figure 2
code/chapter06_transformer/6.1_hello_transformer/transformer.py:201
Methodforward
(self, x)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:231
Methodforward
(self, x)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:242
Methodforward
(self, x)
code/chapter06_transformer/6.1_hello_transformer/transformer.py:274
Methodforward
(self, img)
code/chapter02_image_classification_introduction/2.4_classification_action_SVHN/baseline.py:115
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:39
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/ResNet/ResNet.py:60
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/ResNet/ResNet.py:101
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/GoogLeNet/GoogLeNet.py:58
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/GoogLeNet/GoogLeNet.py:92
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/lenet/LeNet.py:55
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:41
Methodforward
(self, X)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/BN/BatchNormalization.py:51
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/BN/BatchNormalization.py:123
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/NiN/NiN.py:81
Methodforward
(self, x)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/AlexNet/AlexNet.py:76
Methodforward
(self, x)
code/chapter01_preliminary_knowledge/1.5_FC_MNIST_Classification/FC_MNIST_Classification.py:28
Methodforward
Forward propagation. :param image: images, a tensor of dimensions (N, 3, 224, 224) :return: feature maps pool5
code/chapter03_object_detection_introduction/tiny_detector_demo/model.py:47
Methodforward
Forward propagation. :param pool5_feats: conv4_3 feature map, a tensor of dimensions (N, 512, 7, 7) :return: 441 locations a
code/chapter03_object_detection_introduction/tiny_detector_demo/model.py:144
Methodforward
Forward propagation. :param image: images, a tensor of dimensions (N, 3, 224, 224) :return: 441 locations and class scores (
code/chapter03_object_detection_introduction/tiny_detector_demo/model.py:185
Methodforward
Forward propagation. :param predicted_locs: predicted locations/boxes w.r.t the 441 prior boxes, a tensor of dimensions (N, 441, 4)
code/chapter03_object_detection_introduction/tiny_detector_demo/model.py:356
Functionget_std_opt
(model)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/train_utils.py:34
Functionloss
(x)
code/chapter06_transformer/6.2_recognition_by_transformer/train_utils.py:40
Functionloss
(x)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/train_utils.py:73
Functionplot_img_and_mask
(img, mask)
code/chapter04_segmentation_introduction/building_identification_baseline/utils/data_vis.py:3
Functionrle_encode
im: numpy array, 1 - mask, 0 - background Returns run length as string formated
code/chapter04_segmentation_introduction/building_identification_baseline/dataset.py:11
Functionvgg11
VGG 11-layer model (configuration "A")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:71
Functionvgg11
VGG 11-layer model (configuration "A")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:73
Functionvgg11_bn
VGG 11-layer model (configuration "A") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:76
Functionvgg11_bn
VGG 11-layer model (configuration "A") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:78
Functionvgg13
VGG 13-layer model (configuration "B")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:81
Functionvgg13
VGG 13-layer model (configuration "B")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:83
Functionvgg13_bn
VGG 13-layer model (configuration "B") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:86
Functionvgg13_bn
VGG 13-layer model (configuration "B") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:88
Functionvgg16
VGG 16-layer model (configuration "D")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:91
Functionvgg16
VGG 16-layer model (configuration "D")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:93
Functionvgg16_bn
VGG 16-layer model (configuration "D") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:96
Functionvgg16_bn
VGG 16-layer model (configuration "D") with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:98
Functionvgg19
VGG 19-layer model (configuration "E")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:101
Functionvgg19
VGG 19-layer model (configuration "E")
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:103
Functionvgg19_bn
VGG 19-layer model (configuration 'E') with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/pytorch-vgg-cifar10/vgg.py:106
Functionvgg19_bn
VGG 19-layer model (configuration 'E') with batch normalization
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/VGG/vgg_models.py:108
← previous201–274 of 274, ranked by callers