MCPcopy Create free account

hub / github.com/amirhfarzaneh/dacl / functions

Functions51 in github.com/amirhfarzaneh/dacl

↓ 10 callersMethodupdate
(self, val, n=1)
utils.py:80
↓ 9 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
models/resnet.py:237
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
models/resnet.py:190
↓ 3 callersFunctionconv1x1
1x1 convolution
models/resnet.py:30
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
models/resnet.py:24
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
models/resnet.py:120
↓ 2 callersFunctionaccuracy
(output, target)
utils.py:15
↓ 2 callersFunctioncalc_metrics
(y_pred, y_true, y_scores)
utils.py:24
↓ 2 callersMethodclose
(self)
utils.py:116
↓ 2 callersFunctionresnet18
(pretrained=False, progress=True, **kwargs)
models/resnet.py:253
↓ 2 callersFunctionsave_checkpoint
(epoch, model, cfg, tag)
main.py:311
↓ 2 callersFunctionwrite_log
(losses, acc, metrics, e, tag='set')
main.py:299
↓ 1 callersMethod_get_batch_fmtstr
(self, num_batches)
utils.py:59
↓ 1 callersMethodbackward
(ctx, grad_output)
loss.py:38
↓ 1 callersMethodflush
(self)
utils.py:110
↓ 1 callersFunctionmain
(cfg)
main.py:41
↓ 1 callersFunctionmkdir_if_missing
(directory)
utils.py:121
↓ 1 callersMethodoverride
over-ride config if arguments are given
workspace.py:50
↓ 1 callersMethodreset
(self)
utils.py:74
↓ 1 callersMethodreset_params
(self)
loss.py:15
↓ 1 callersMethodsetup
setup log names and save locations
workspace.py:72
↓ 1 callersFunctiontrain
(train_loader, model, criterion, optimizer, epoch, cfg)
main.py:163
↓ 1 callersFunctionvalidate
(valid_loader, model, criterion, epoch, cfg)
main.py:230
Method__call__
(self, img)
utils.py:140
Method__del__
(self)
utils.py:96
Method__enter__
(self)
utils.py:99
Method__exit__
(self, *args)
utils.py:102
Method__init__
(self, num_classes, feat_dim, size_average=True)
loss.py:7
Method__init__
(self, num_batches, meters, prefix="")
utils.py:49
Method__init__
(self)
utils.py:67
Method__init__
(self, fpath=None)
utils.py:90
Method__init__
(self, size)
utils.py:132
Method__init__
(self, args)
workspace.py:8
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
models/resnet.py:38
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
models/resnet.py:78
Method__repr__
(self)
utils.py:144
Methoddisplay
(self, batch)
utils.py:54
Methodforward
(self, feat, A, label)
loss.py:18
Methodforward
(ctx, feature, A, label, centers, batch_size)
loss.py:32
Methodforward
(self, x)
models/resnet.py:56
Methodforward
(self, x)
models/resnet.py:95
Methodforward
(self, x)
models/resnet.py:214
Functionresnet101
(pretrained=False, progress=True, **kwargs)
models/resnet.py:265
Functionresnet152
(pretrained=False, progress=True, **kwargs)
models/resnet.py:269
Functionresnet34
(pretrained=False, progress=True, **kwargs)
models/resnet.py:257
Functionresnet50
(pretrained=False, progress=True, **kwargs)
models/resnet.py:261
Functionresnext101_32x8d
(pretrained=False, progress=True, **kwargs)
models/resnet.py:279
Functionresnext50_32x4d
(pretrained=False, progress=True, **kwargs)
models/resnet.py:273
Functionwide_resnet101_2
(pretrained=False, progress=True, **kwargs)
models/resnet.py:290
Functionwide_resnet50_2
(pretrained=False, progress=True, **kwargs)
models/resnet.py:285
Methodwrite
(self, msg)
utils.py:105