Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1998v7/SNSCL
/ functions
Functions
207 in github.com/1998v7/SNSCL
⨍
Functions
207
◇
Types & classes
71
↓ 26 callers
Method
__init__
(self, num_classes=10, scale=1.0)
Asym_loss.py:85
↓ 23 callers
Method
__init__
(self, train_loader, num_classes, ln_neg=1)
APL_loss.py:259
↓ 9 callers
Function
_float_parameter
(v, max_v)
dataloader/randaugment.py:135
↓ 4 callers
Function
_int_parameter
(v, max_v)
dataloader/randaugment.py:139
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1)
models/resnet.py:134
↓ 4 callers
Method
run
(self, mode, choice=None, confident=None)
dataloader/select_helper.py:42
↓ 3 callers
Function
CutoutAbs
(img, v, **kwarg)
dataloader/randaugment.py:43
↓ 3 callers
Method
__init__
(self, block, layers, projector_dim=1000, in_channel=3, width=1)
models/resnet.py:101
↓ 3 callers
Function
pprint
(context, log_name)
helpers.py:33
↓ 2 callers
Method
__init__
(self)
helpers.py:154
↓ 2 callers
Method
_dequeue_and_enqueue
(self, key_c, c, w_u=None)
src/contrastive_l.py:58
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
models/resnet.py:17
↓ 2 callers
Function
get_lossf
(args)
helpers.py:85
↓ 2 callers
Method
load_data
(self, data)
dataloader/cub_loader.py:61
↓ 2 callers
Method
make_projector
(self, feature)
models/resnet.py:131
↓ 2 callers
Method
sampler
(self, feature)
src/contrastive_l.py:11
↓ 2 callers
Function
set_env
(args)
helpers.py:10
↓ 1 callers
Method
__init__
(self, network, backbone, queue_size=32, projector_dim=256, feature_dim=256, class_num=200, m
src/contrastive_l.py:24
↓ 1 callers
Method
_load_metadata
(self)
dataloader/cub_loader.py:41
↓ 1 callers
Method
_momentum_update_key_encoder
(self)
src/contrastive_l.py:53
↓ 1 callers
Method
build_noise
(self, image_path, targets)
dataloader/cub_loader.py:72
↓ 1 callers
Function
eval_train
(my_model, classifier, eval_loader)
Vanilla_w_SNSCL.py:86
↓ 1 callers
Method
feature_len
(self)
models/resnet.py:128
↓ 1 callers
Method
find_classes
(self)
dataloader/aircraft_loader.py:163
↓ 1 callers
Function
fixmatch_augment_pool
()
dataloader/randaugment.py:143
↓ 1 callers
Function
get_cls_layer
(args)
models/backbone.py:15
↓ 1 callers
Function
get_dataloader
(args)
helpers.py:41
↓ 1 callers
Function
get_logger
(args)
helpers.py:172
↓ 1 callers
Function
load_network
(backbone)
models/backbone.py:22
↓ 1 callers
Method
load_noise
(self, samples)
dataloader/aircraft_loader.py:58
↓ 1 callers
Method
load_noise
(self, labels)
dataloader/dogs_loader.py:51
↓ 1 callers
Method
load_noise
(self, samples)
dataloader/car_loader.py:56
↓ 1 callers
Method
load_pretrained
(self, network)
src/contrastive_l.py:131
↓ 1 callers
Method
load_split
(self)
dataloader/dogs_loader.py:117
↓ 1 callers
Method
make_dataset
(self, image_ids, targets)
dataloader/aircraft_loader.py:114
↓ 1 callers
Function
my_augment_pool
()
dataloader/randaugment.py:162
↓ 1 callers
Method
select_by_index
(self, image_path, label, selected_index)
dataloader/cub_loader.py:33
↓ 1 callers
Method
select_by_index
(self, samples, selected_index)
dataloader/aircraft_loader.py:51
↓ 1 callers
Method
select_by_index
(self, samples, selected_index)
dataloader/dogs_loader.py:44
↓ 1 callers
Method
select_by_index
(self, samples, selected_index)
dataloader/car_loader.py:49
↓ 1 callers
Method
stats
(self)
dataloader/dogs_loader.py:129
↓ 1 callers
Function
test
(epoch, my_model, classifier, test_loader)
Vanilla_w_SNSCL.py:67
↓ 1 callers
Function
train
(epoch, my_model, classifier, optimizer, labeled_trainloader, unlabeled_trainloader)
Vanilla_w_SNSCL.py:117
↓ 1 callers
Function
warmup
(my_model, classifier, optimizer, dataloader)
Vanilla_w_SNSCL.py:48
Function
AutoContrast
(img, **kwarg)
dataloader/randaugment.py:16
Function
Brightness
(img, v, max_v, bias=0)
dataloader/randaugment.py:20
Function
Color
(img, v, max_v, bias=0)
dataloader/randaugment.py:25
Function
Contrast
(img, v, max_v, bias=0)
dataloader/randaugment.py:30
Function
Cutout
(img, v, max_v, bias=0)
dataloader/randaugment.py:35
Function
Equalize
(img, **kwarg)
dataloader/randaugment.py:59
Function
Identity
(img, **kwarg)
dataloader/randaugment.py:63
Function
Invert
(img, **kwarg)
dataloader/randaugment.py:67
Function
Posterize
(img, v, max_v, bias=0)
dataloader/randaugment.py:71
Function
Rotate
(img, v, max_v, bias=0)
dataloader/randaugment.py:76
Function
Sharpness
(img, v, max_v, bias=0)
dataloader/randaugment.py:83
Function
ShearX
(img, v, max_v, bias=0)
dataloader/randaugment.py:88
Function
ShearY
(img, v, max_v, bias=0)
dataloader/randaugment.py:95
Function
Solarize
(img, v, max_v, bias=0)
dataloader/randaugment.py:102
Function
SolarizeAdd
(img, v, max_v, bias=0, threshold=128)
dataloader/randaugment.py:107
Function
TranslateX
(img, v, max_v, bias=0)
dataloader/randaugment.py:119
Function
TranslateY
(img, v, max_v, bias=0)
dataloader/randaugment.py:127
Method
__call__
(self, img)
dataloader/randaugment.py:191
Method
__call__
(self, img)
dataloader/randaugment.py:209
Method
__call__
(self, img)
dataloader/randaugment.py:234
Method
__call__
Args: img (PIL.Image): Image to be cropped. Returns: PIL.Image: Cropped image.
dataloader/randaugment.py:255
Method
__call__
Args: img (PIL.Image): Image to be flipped. Returns: PIL.Image: Randomly flipped image.
dataloader/randaugment.py:269
Method
__getitem__
(self, idx)
dataloader/cub_loader.py:122
Method
__getitem__
(self, index)
dataloader/aircraft_loader.py:138
Method
__getitem__
(self, index)
dataloader/dogs_loader.py:94
Method
__getitem__
(self, index)
dataloader/car_loader.py:113
Method
__init__
(self, alpha, beta, num_classes=10)
APL_loss.py:9
Method
__init__
(self, num_classes, scale=1.0)
APL_loss.py:36
Method
__init__
(self, num_classes, scale=1.0)
APL_loss.py:52
Method
__init__
(self, num_classes, scale=1.0)
APL_loss.py:69
Method
__init__
(self, num_classes, q=0.7)
APL_loss.py:83
Method
__init__
(self, num_classes, scale=1.0, q=0.7)
APL_loss.py:99
Method
__init__
(self, num_classes, scale=1.0)
APL_loss.py:118
Method
__init__
(self, num_classes, scale=1.0)
APL_loss.py:134
Method
__init__
(self, alpha, beta, num_classes)
APL_loss.py:151
Method
__init__
(self, alpha, beta, num_classes)
APL_loss.py:163
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:175
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:187
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:199
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:211
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:223
Method
__init__
(self, alpha, beta, num_classes, q=0.7)
APL_loss.py:235
Method
__init__
(self, alpha, beta, num_classes)
APL_loss.py:247
Method
__init__
(self, gamma=0, alpha=None, size_average=True)
APL_loss.py:300
Method
__init__
(self, scale=1.0, gamma=0, num_classes=10, alpha=None, size_average=True)
APL_loss.py:337
Method
__init__
(self, alpha, beta, num_classes, gamma=0.5)
APL_loss.py:362
Method
__init__
(self, alpha, beta, num_classes, gamma=0.5)
APL_loss.py:374
Method
__init__
(self, alpha, beta, num_classes, gamma=0.5)
APL_loss.py:386
Method
__init__
(self, num_classes)
APL_loss.py:398
Method
__init__
(self, reduction='mean')
helpers.py:88
Method
__init__
(self, classes, smoothing=0.0, dim=-1)
helpers.py:127
Method
__init__
(self, num_classes=10, a=1, b=1)
Asym_loss.py:10
Method
__init__
(self, num_classes=10, scale=1.0)
Asym_loss.py:31
Method
__init__
(self, num_classes, scale=1.0)
Asym_loss.py:45
Method
__init__
(self, num_classes, scale=1.0)
Asym_loss.py:61
Method
__init__
(self, num_classes=10, scale=2.0)
Asym_loss.py:73
next →
1–100 of 207, ranked by callers