MCPcopy Create free account

hub / github.com/tim-learn/SHOT / functions

Functions190 in github.com/tim-learn/SHOT

↓ 1 callersFunctiontest_target_srconly
(args)
object/image_multisource.py:107
↓ 1 callersFunctiontrain_source
(args)
digit/uda_digit.py:144
↓ 1 callersFunctiontrain_source
(args)
object/image_source.py:185
↓ 1 callersFunctiontrain_target
(args)
digit/uda_digit.py:260
↓ 1 callersFunctiontrain_target
(args)
object/image_pretrained.py:98
↓ 1 callersFunctiontrain_target
(args)
object/image_multitarget.py:117
↓ 1 callersFunctiontrain_target
(args)
object/image_target_oda.py:145
↓ 1 callersFunctiontrain_target
(args)
object/image_target.py:124
FunctionCDAN
(input_list, ad_net, entropy=None, coeff=None, random_layer=None)
object/loss.py:21
FunctionDANN
(features, ad_net)
object/loss.py:47
FunctionEntropy
(input_)
digit/loss.py:9
FunctionEntropy
(input_)
object/loss.py:9
Method__call__
(self, input, target)
digit/data_load/vision.py:59
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
digit/data_load/svhn.py:78
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
digit/data_load/svhn.py:185
Method__getitem__
(self, index)
digit/data_load/vision.py:28
Method__getitem__
Get images and target for data loader. Args: index (int): Index Returns: tuple: (image, target) where targ
digit/data_load/usps.py:60
Method__getitem__
Get images and target for data loader. Args: index (int): Index Returns: tuple: (image, target) where targ
digit/data_load/usps.py:153
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
digit/data_load/mnist.py:82
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
digit/data_load/mnist.py:238
Method__getitem__
(self, index)
object/data_list.py:48
Method__getitem__
(self, index)
object/data_list.py:76
Method__init__
(self, num_classes, epsilon=0.1, use_gpu=True, size_average=True)
digit/loss.py:16
Method__init__
(self, feature_dim, bottleneck_dim=256, type="ori")
digit/network.py:24
Method__init__
(self, class_num, bottleneck_dim=256, type="linear")
digit/network.py:40
Method__init__
(self)
digit/network.py:77
Method__init__
(self, root, split='train', transform=None, target_transform=None, download=False)
digit/data_load/svhn.py:149
Method__init__
(self, root, transforms=None, transform=None, target_transform=None)
digit/data_load/vision.py:9
Method__init__
(self, transform=None, target_transform=None)
digit/data_load/vision.py:55
Method__init__
Init USPS dataset.
digit/data_load/usps.py:34
Method__init__
Init USPS dataset.
digit/data_load/usps.py:127
Method__init__
(self, root, train=True, transform=None, target_transform=None, download=False)
digit/data_load/mnist.py:219
Method__init__
(self, num_classes, epsilon=0.1, use_gpu=True, reduction=True)
object/loss.py:64
Method__init__
(self, vgg_name)
object/network.py:29
Method__init__
(self, res_name)
object/network.py:48
Method__init__
(self, feature_dim, bottleneck_dim=256, type="ori")
object/network.py:76
Method__init__
(self, class_num, bottleneck_dim=256, type="linear")
object/network.py:92
Method__init__
(self, class_num, input_dim, bottleneck_dim=256)
object/network.py:107
Method__init__
(self, image_list, labels=None, transform=None, target_transform=None, mode='RGB')
object/data_list.py:34
Method__init__
(self, image_list, labels=None, transform=None, target_transform=None, mode='RGB')
object/data_list.py:62
Method__len__
(self)
digit/data_load/svhn.py:100
Method__len__
(self)
digit/data_load/svhn.py:207
Method__len__
Return size of dataset.
digit/data_load/usps.py:74
Method__len__
Return size of dataset.
digit/data_load/usps.py:167
Method__len__
(self)
digit/data_load/mnist.py:104
Method__len__
(self)
digit/data_load/mnist.py:260
Method__len__
(self)
object/data_list.py:58
Method__len__
(self)
object/data_list.py:86
Method__repr__
(self)
digit/data_load/vision.py:71
Method_format_transform_repr
(self, transform, head)
digit/data_load/vision.py:45
Functionbar_update
(count, block_size, total_size)
digit/data_load/utils.py:16
Functioncalc_coeff
(iter_num, high=1.0, low=0.0, alpha=10.0, max_iter=10000.0)
object/network.py:11
Methodclass_to_idx
(self)
digit/data_load/mnist.py:124
Methodclass_to_idx
(self)
digit/data_load/mnist.py:280
Functiondownload_file_from_google_drive
Download a Google Drive file from and place it in root. Args: file_id (str): id of file to be downloaded root (str): Directory t
digit/data_load/utils.py:135
Methodextra_repr
(self)
digit/data_load/svhn.py:113
Methodextra_repr
(self)
digit/data_load/svhn.py:220
Methodextra_repr
(self)
digit/data_load/mnist.py:165
Methodextra_repr
(self)
digit/data_load/mnist.py:321
Methodforward
(self, inputs, targets)
digit/loss.py:24
Methodforward
(self, x)
digit/network.py:32
Methodforward
(self, x)
digit/network.py:48
Methodforward
(self, x)
digit/network.py:71
Methodforward
(self, x)
digit/network.py:90
Methodforward
(self, x)
object/network.py:38
Methodforward
(self, x)
object/network.py:62
Methodforward
(self, x)
object/network.py:85
Methodforward
(self, x)
object/network.py:102
Methodforward
(self, x)
object/network.py:115
Methodforward
(self, x)
object/network.py:136
Functionfun1
(grad)
object/loss.py:17
Functionimage_train
(resize_size=256, crop_size=224, alexnet=False)
object/image_multisource.py:17
Functioninit_weights
(m)
digit/network.py:11
Functioninit_weights
(m)
object/network.py:14
Functionl_loader
(path)
object/data_list.py:28
Functionlist_dir
List all directories at a given root Args: root (str): Path to directory whose folders need to be listed prefix (bool, optional):
digit/data_load/utils.py:89
Functionlist_files
List all files ending with a suffix at a given root Args: root (str): Path to directory whose folders need to be listed suffix (s
digit/data_load/utils.py:111
Methodprocessed_folder
(self)
digit/data_load/mnist.py:120
Methodprocessed_folder
(self)
digit/data_load/mnist.py:276
Methodraw_folder
(self)
digit/data_load/mnist.py:116
Methodraw_folder
(self)
digit/data_load/mnist.py:272
Functionrgb_loader
(path)
object/data_list.py:23
Methodtest_data
(self)
digit/data_load/mnist.py:59
Methodtest_data
(self)
digit/data_load/mnist.py:215
Methodtest_labels
(self)
digit/data_load/mnist.py:49
Methodtest_labels
(self)
digit/data_load/mnist.py:205
Methodtrain_data
(self)
digit/data_load/mnist.py:54
Methodtrain_data
(self)
digit/data_load/mnist.py:210
Methodtrain_labels
(self)
digit/data_load/mnist.py:44
Methodtrain_labels
(self)
digit/data_load/mnist.py:200
← previous101–190 of 190, ranked by callers