Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tim-learn/SHOT
/ functions
Functions
190 in github.com/tim-learn/SHOT
⨍
Functions
190
◇
Types & classes
22
↓ 1 callers
Function
test_target_srconly
(args)
object/image_multisource.py:107
↓ 1 callers
Function
train_source
(args)
digit/uda_digit.py:144
↓ 1 callers
Function
train_source
(args)
object/image_source.py:185
↓ 1 callers
Function
train_target
(args)
digit/uda_digit.py:260
↓ 1 callers
Function
train_target
(args)
object/image_pretrained.py:98
↓ 1 callers
Function
train_target
(args)
object/image_multitarget.py:117
↓ 1 callers
Function
train_target
(args)
object/image_target_oda.py:145
↓ 1 callers
Function
train_target
(args)
object/image_target.py:124
Function
CDAN
(input_list, ad_net, entropy=None, coeff=None, random_layer=None)
object/loss.py:21
Function
DANN
(features, ad_net)
object/loss.py:47
Function
Entropy
(input_)
digit/loss.py:9
Function
Entropy
(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
Function
bar_update
(count, block_size, total_size)
digit/data_load/utils.py:16
Function
calc_coeff
(iter_num, high=1.0, low=0.0, alpha=10.0, max_iter=10000.0)
object/network.py:11
Method
class_to_idx
(self)
digit/data_load/mnist.py:124
Method
class_to_idx
(self)
digit/data_load/mnist.py:280
Function
download_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
Method
extra_repr
(self)
digit/data_load/svhn.py:113
Method
extra_repr
(self)
digit/data_load/svhn.py:220
Method
extra_repr
(self)
digit/data_load/mnist.py:165
Method
extra_repr
(self)
digit/data_load/mnist.py:321
Method
forward
(self, inputs, targets)
digit/loss.py:24
Method
forward
(self, x)
digit/network.py:32
Method
forward
(self, x)
digit/network.py:48
Method
forward
(self, x)
digit/network.py:71
Method
forward
(self, x)
digit/network.py:90
Method
forward
(self, x)
object/network.py:38
Method
forward
(self, x)
object/network.py:62
Method
forward
(self, x)
object/network.py:85
Method
forward
(self, x)
object/network.py:102
Method
forward
(self, x)
object/network.py:115
Method
forward
(self, x)
object/network.py:136
Function
fun1
(grad)
object/loss.py:17
Function
image_train
(resize_size=256, crop_size=224, alexnet=False)
object/image_multisource.py:17
Function
init_weights
(m)
digit/network.py:11
Function
init_weights
(m)
object/network.py:14
Function
l_loader
(path)
object/data_list.py:28
Function
list_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
Function
list_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
Method
processed_folder
(self)
digit/data_load/mnist.py:120
Method
processed_folder
(self)
digit/data_load/mnist.py:276
Method
raw_folder
(self)
digit/data_load/mnist.py:116
Method
raw_folder
(self)
digit/data_load/mnist.py:272
Function
rgb_loader
(path)
object/data_list.py:23
Method
test_data
(self)
digit/data_load/mnist.py:59
Method
test_data
(self)
digit/data_load/mnist.py:215
Method
test_labels
(self)
digit/data_load/mnist.py:49
Method
test_labels
(self)
digit/data_load/mnist.py:205
Method
train_data
(self)
digit/data_load/mnist.py:54
Method
train_data
(self)
digit/data_load/mnist.py:210
Method
train_labels
(self)
digit/data_load/mnist.py:44
Method
train_labels
(self)
digit/data_load/mnist.py:200
← previous
101–190 of 190, ranked by callers