MCPcopy Create free account

hub / github.com/amazon-science/mm-cot / functions

Functions1,823 in github.com/amazon-science/mm-cot

↓ 6 callersFunction_nfreg_cfg
(depths, channels=(48, 104, 208, 440))
timm/models/nfnet.py:184
↓ 6 callersFunctioncutmix_bbox_and_lam
Generate bbox and apply lambda correction.
timm/data/mixup.py:77
↓ 6 callersFunctionnum_groups
(group_size, channels)
timm/models/byobnet.py:489
↓ 5 callersMethod__init__
(self, levels, channels, output_stride=32, num_classes=1000, in_chans=3, cardinality=1, base_
timm/models/dla.py:257
↓ 5 callersMethod__init__
( self, layers, channels=(256, 512, 1024, 2048), num_classes=1000, in_chans=3, global_
timm/models/resnetv2.py:342
↓ 5 callersMethod__init__
Parameters ---------- block (nn.Module): Bottleneck class. - For SENet154: SEBottleneck - For SE-ResN
timm/models/senet.py:228
↓ 5 callersMethod__init__
( self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dims=(0, 0, 0, 0),
timm/models/coat.py:329
↓ 5 callersMethod__init__
(self, dim)
timm/models/mlp_mixer.py:161
↓ 5 callersMethod__init__
( self, in_chs, out_chs, kernel_size, stride=1, dilation=1, pad_type='', skip=False, a
timm/models/efficientnet_blocks.py:53
↓ 5 callersMethod__init__
(self, dim, num_heads, mlp_ratio=4., drop=0., attn_drop=0., drop_path=0., act_layer=nn.GELU,
timm/models/twins.py:199
↓ 5 callersFunction_cfg
(url='', **kwargs)
timm/models/levit.py:41
↓ 5 callersFunction_cfg
(url='', **kwargs)
timm/models/selecsls.py:26
↓ 5 callersFunction_cfg
(url='', **kwargs)
timm/models/sknet.py:22
↓ 5 callersFunction_cfg_coat
(url='', **kwargs)
timm/models/coat.py:33
↓ 5 callersFunction_create_coat
(variant, pretrained=False, default_cfg=None, **kwargs)
timm/models/coat.py:606
↓ 5 callersFunction_create_selecsls
(variant, pretrained, **kwargs)
timm/models/selecsls.py:199
↓ 5 callersFunction_create_skresnet
(variant, pretrained=False, **kwargs)
timm/models/sknet.py:142
↓ 5 callersFunction_parse_ksize
(ss)
timm/models/efficientnet_builder.py:69
↓ 5 callersFunction_randomly_negate
With 50% prob, negate the value
timm/data/auto_augment.py:175
↓ 5 callersFunctioncreate_downsample
(downsample_type, layers: LayerFn, **kwargs)
timm/models/byobnet.py:524
↓ 5 callersFunctioncreate_levit
(variant, pretrained=False, default_cfg=None, fuse=False, **kwargs)
timm/models/levit.py:550
↓ 5 callersFunctiondefault_cfg_for_features
(default_cfg)
timm/models/helpers.py:328
↓ 5 callersFunctionefficientnet_init_weights
(model: nn.Module, init_fn=None)
timm/models/efficientnet_builder.py:459
↓ 4 callersMethod__init__
( self, base_dim, depth, heads, mlp_ratio, pool=None, drop_rate=.0, attn_drop_rate=.0, drop_path_p
timm/models/pit.py:78
↓ 4 callersMethod__init__
( self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12,
timm/models/cait.py:203
↓ 4 callersMethod__init__
(self, cfg, in_chans=3, num_classes=1000, output_stride=32, global_pool='avg', drop_rate=0.,
timm/models/cspnet.py:345
↓ 4 callersMethod__init__
(self, dim, input_resolution, depth, num_heads, window_size, mlp_ratio=4., qkv_bias=True, dro
timm/models/swin_transformer.py:378
↓ 4 callersFunction_cfg
(url='', **kwargs)
timm/models/inception_v3.py:16
↓ 4 callersFunction_create_inception_v3
(variant, pretrained=False, **kwargs)
timm/models/inception_v3.py:426
↓ 4 callersFunction_gen_efficientnetv2_base
Creates an EfficientNet-V2 base model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smaller
timm/models/efficientnet.py:907
↓ 4 callersFunction_gen_efficientnetv2_l
Creates an EfficientNet-V2 Large model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smaller
timm/models/efficientnet.py:1005
↓ 4 callersFunction_gen_efficientnetv2_m
Creates an EfficientNet-V2 Medium model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smalle
timm/models/efficientnet.py:975
↓ 4 callersFunction_gen_mnasnet_a1
Creates a mnasnet-a1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
timm/models/efficientnet.py:562
↓ 4 callersFunction_gen_mnasnet_b1
Creates a mnasnet-b1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
timm/models/efficientnet.py:598
↓ 4 callersFunction_gen_mobilenet_v2
Generate MobileNet-V2 network Ref impl: https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mobilenet_v2.py Paper:
timm/models/efficientnet.py:663
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, groups, reduction, stride=1, downsample_kernel_size=1, downs
timm/models/senet.py:351
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, use_se=True, aa_layer=None)
timm/models/tresnet.py:214
↓ 4 callersMethod_params_per_elem
(self, batch_size)
timm/data/mixup.py:121
↓ 4 callersFunction_pil_interp
(method)
timm/data/transforms.py:43
↓ 4 callersFunctionadapt_input_conv
(in_chans, conv_weight)
timm/models/helpers.py:135
↓ 4 callersMethodget_dicts
return info dicts for specified keys (or all if None) at specified indices (or out_indices if None)
timm/models/features.py:49
↓ 4 callersMethodinsert_cls
Insert CLS token.
timm/models/coat.py:478
↓ 4 callersFunctionmake_div
(v, divisor=8)
timm/models/resnetv2.py:124
↓ 3 callersMethod__init__
VovNet (v2)
timm/models/vovnet.py:267
↓ 3 callersMethod__init__
(self, feature_info: List[Dict], out_indices: Tuple[int])
timm/models/features.py:22
↓ 3 callersMethod__init__
(self, small=False, num_init_features=64, k_r=96, groups=32, b=False, k_sec=(3, 4, 20, 3), in
timm/models/dpn.py:169
↓ 3 callersMethod__init__
(self, growth_rate=32, block_config=(6, 12, 24, 16), bn_size=4, stem_type='', num_classes=100
timm/models/densenet.py:165
↓ 3 callersMethod__init__
(self, dim, num_heads, head_dim_ratio=1., mlp_ratio=4., drop=0., attn_drop=0., drop_path=0.,
timm/models/visformer.py:112
↓ 3 callersMethod__init__
(self, cfg, num_classes=1000, in_chans=3, drop_rate=0.0, global_pool='avg')
timm/models/selecsls.py:156
↓ 3 callersMethod__init__
(self, act_type='relu', gamma: float = 1.0, inplace=False)
timm/models/nfnet.py:288
↓ 3 callersMethod__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, in_dim=48, depth=12,
timm/models/tnt.py:152
↓ 3 callersMethod__init__
(self, dim, num_heads=8, qkv_bias=False, attn_drop=0., proj_drop=0., locality_strength=1.)
timm/models/convit.py:60
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/ghostnet.py:25
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/xception_aligned.py:22
↓ 3 callersFunction_cfg
(url='', **kwargs)
timm/models/convit.py:38
↓ 3 callersFunction_create_convit
(variant, pretrained=False, **kwargs)
timm/models/convit.py:315
↓ 3 callersFunction_create_ghostnet
Constructs a GhostNet model
timm/models/ghostnet.py:216
↓ 3 callersFunction_create_mnv3
(variant, pretrained=False, **kwargs)
timm/models/mobilenetv3.py:220
↓ 3 callersFunction_gen_fbnetv3
FBNetV3 Paper: `FBNetV3: Joint Architecture-Recipe Search using Predictor Pretraining` - https://arxiv.org/abs/2006.02049 FIXME untes
timm/models/mobilenetv3.py:373
↓ 3 callersMethod_get_lr
(self, t)
timm/scheduler/tanh_lr.py:71
↓ 3 callersMethod_make_stage
(self, layer_config, num_inchannels, multi_scale_output=True)
timm/models/hrnet.py:655
↓ 3 callersMethod_make_transition_layer
(self, num_channels_pre_layer, num_channels_cur_layer)
timm/models/hrnet.py:613
↓ 3 callersFunction_xception
(variant, pretrained=False, **kwargs)
timm/models/xception_aligned.py:174
↓ 3 callersFunctioncreate_one_example
(format, question, context, choice, answer, lecture, solution, test_example=True, WithOutput = False, curr_le_
utils_prompt.py:50
↓ 3 callersFunctionextract_ans
(ans)
main.py:153
↓ 3 callersFunctionget_answer
(problem, options)
utils_prompt.py:34
↓ 3 callersFunctionget_choice_text
(probelm, options)
utils_prompt.py:22
↓ 3 callersFunctionget_context_text
(problem, use_caption)
utils_prompt.py:13
↓ 3 callersFunctionget_lecture_text
(problem)
utils_prompt.py:38
↓ 3 callersMethodget_output
(self, device)
timm/models/features.py:115
↓ 3 callersMethodget_params
Gets all parameters in all param_groups with gradients
timm/optim/adahessian.py:58
↓ 3 callersFunctionget_question_text
(problem)
utils_prompt.py:8
↓ 3 callersFunctionget_solution_text
(problem)
utils_prompt.py:44
↓ 3 callersFunctionhas_hf_hub
(necessary=False)
timm/models/hub.py:55
↓ 3 callersMethodinterpolate
Feature map interpolation.
timm/models/coat.py:274
↓ 3 callersFunctionload_class_map
(filename, root='')
timm/data/parsers/class_map.py:4
↓ 3 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name='', depth_first=True, include_root=False)
timm/models/helpers.py:489
↓ 3 callersFunctionnatural_key
See http://www.codinghorror.com/blog/archives/001018.html
timm/utils/misc.py:8
↓ 3 callersFunctionoverride_kwargs
Override model level attn/self-attn/block kwargs w/ block level NOTE: kwargs are NOT merged across levels, block_kwargs will fully replace model
timm/models/byobnet.py:953
↓ 3 callersFunctionresize_pos_embed
(posemb, posemb_new, num_tokens=1, gs_new=())
timm/models/vision_transformer.py:478
↓ 3 callersFunctionset_layer
(model, layer, val)
timm/models/helpers.py:248
↓ 3 callersMethodtrain
(self, mode=True)
timm/models/levit.py:265
↓ 3 callersFunctiontransform
(x, y, matrix)
timm/data/auto_augment.py:108
↓ 3 callersMethodupsample
Feature map up-sampling.
timm/models/coat.py:266
↓ 2 callersMethod__init__
(self, in_channels, out_channels, reps, strides=1, start_with_relu=True, grow_first=True)
timm/models/xception.py:66
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1, dilation=1, start_with_relu=True, norm_layer=None)
timm/models/gluon_xception.py:67
↓ 2 callersMethod__init__
(self, cfgs, num_classes=1000, width=1.0, dropout=0.2, in_chans=3, output_stride=32, global_pool='avg')
timm/models/ghostnet.py:136
↓ 2 callersMethod__init__
( self, in_chs, out_chs, stride=1, dilation=1, pad_type='', start_with_relu=True, no_s
timm/models/xception_aligned.py:82
↓ 2 callersMethod__init__
(self, cfg, in_chans=3, num_classes=1000, global_pool='avg', drop_rate=0.0, head='classification')
timm/models/hrnet.py:509
↓ 2 callersMethod__init__
(self, layers, in_chans=3, num_classes=1000, width_factor=1.0, global_pool='fast', drop_rate=0.)
timm/models/tresnet.py:156
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, in_chans=3, cardinality=1, base_width=64, stem_width=
timm/models/resnet.py:578
↓ 2 callersMethod__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, drop=0., attn_drop=0., drop_path=0., act
timm/models/vision_transformer.py:201
↓ 2 callersMethod__init__
(self, cfg, in_chans=3, num_classes=1000, output_stride=32, global_pool='avg', drop_rate=0.,
timm/models/regnet.py:240
↓ 2 callersMethod_add_noise
(self, lrs, t)
timm/scheduler/scheduler.py:87
↓ 2 callersFunction_add_samples
(info, fn)
timm/data/parsers/parser_image_in_tar.py:122
↓ 2 callersFunction_cfg
(url='', **kwargs)
timm/models/visformer.py:23
↓ 2 callersFunction_cfg
(url='', **kwargs)
timm/models/tnt.py:22
↓ 2 callersMethod_collect
(self, x)
timm/models/features.py:200
↓ 2 callersFunction_create_inception_resnet_v2
(variant, pretrained=False, **kwargs)
timm/models/inception_resnet_v2.py:337
↓ 2 callersFunction_create_tnt
(variant, pretrained=False, **kwargs)
timm/models/tnt.py:241
← previousnext →101–200 of 1,823, ranked by callers