Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajtejankar/byol-convert
/ functions
Functions
34 in github.com/ajtejankar/byol-convert
⨍
Functions
34
◇
Types & classes
5
↓ 10 callers
Function
_resnet
(arch, block, layers, pretrained, progress, **kwargs)
resnet.py:249
↓ 6 callers
Function
pad_same
(inp, filt)
resnet.py:37
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
resnet.py:201
↓ 4 callers
Method
update
(self, val, n=1)
validate.py:114
↓ 3 callers
Function
conv1x1
1x1 convolution
resnet.py:54
↓ 3 callers
Function
conv3x3
3x3 convolution with padding
resnet.py:48
↓ 2 callers
Method
__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
resnet.py:150
↓ 2 callers
Function
resnet200
r"""ResNet-200 2x model from BYOL Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If T
resnet.py:290
↓ 2 callers
Function
resnet50
r"""ResNet-50 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
resnet.py:278
↓ 1 callers
Method
_forward_impl
(self, x)
resnet.py:225
↓ 1 callers
Method
_get_batch_fmtstr
(self, num_batches)
validate.py:136
↓ 1 callers
Function
accuracy
Computes the accuracy over the k top predictions for the specified values of k
validate.py:142
↓ 1 callers
Function
calc_padding_same
(in_height, in_width, strides, filter_height, filter_width)
resnet.py:25
↓ 1 callers
Method
display
(self, batch)
validate.py:131
↓ 1 callers
Function
load_checkpoint
(checkpoint_path)
convert.py:17
↓ 1 callers
Function
main
()
validate.py:30
↓ 1 callers
Method
reset
(self)
validate.py:108
↓ 1 callers
Function
validate
(val_loader, model)
validate.py:60
Method
__init__
(self, name, fmt=':f')
validate.py:103
Method
__init__
(self, num_batches, meters, prefix="")
validate.py:126
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
resnet.py:63
Method
__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
resnet.py:104
Method
__str__
(self)
validate.py:120
Method
forward
(self, x)
resnet.py:81
Method
forward
(self, x)
resnet.py:121
Method
forward
(self, x)
resnet.py:245
Function
resnet101
r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (
resnet.py:302
Function
resnet152
r"""ResNet-152 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (
resnet.py:314
Function
resnet18
r"""ResNet-18 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
resnet.py:254
Function
resnet34
r"""ResNet-34 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
resnet.py:266
Function
resnext101_32x8d
r"""ResNeXt-101 32x8d model from `"Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf/1611.05431.pdf>`_ Args
resnet.py:340
Function
resnext50_32x4d
r"""ResNeXt-50 32x4d model from `"Aggregated Residual Transformation for Deep Neural Networks" <https://arxiv.org/pdf/1611.05431.pdf>`_ Args:
resnet.py:326
Function
wide_resnet101_2
r"""Wide ResNet-101-2 model from `"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_ The model is the same as ResNet except fo
resnet.py:372
Function
wide_resnet50_2
r"""Wide ResNet-50-2 model from `"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_ The model is the same as ResNet except for
resnet.py:354