MCPcopy Create free account

hub / github.com/DLLXW/data-science-competition / functions

Functions3,531 in github.com/DLLXW/data-science-competition

↓ 1,261 callersMethodappend
(self, save_path)
else/Chick-Counting/counting/utils/helper.py:9
↓ 481 callersMethodsize
(self, index)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:197
↓ 367 callersMethodinfo
(self, verbose=False, img_size=640)
else/Chick-Counting/detect/models/yolo.py:234
↓ 283 callersMethodload
(self, vocab_path, is_quiet=False)
else/天马杯--AI+z智能质检/code/uer/utils/vocab.py:19
↓ 216 callersMethodwrite
Write timers to a tensorboard writer
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:239
↓ 206 callersMethodexists
(path)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:201
↓ 204 callersFunctionprint_rank_0
If distributed is initialized, print only on rank 0.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/__init__.py:38
↓ 160 callersMethodtolist
(self)
else/Chick-Counting/detect/models/common.py:447
↓ 135 callersFunctionget_args
Return arguments.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:36
↓ 134 callersMethodstate_dict
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/learning_rates.py:112
↓ 129 callersMethodsave
(self, save_path)
else/天马杯--AI+z智能质检/code/uer/utils/vocab.py:28
↓ 115 callersMethodreset_index
Delete existing index and create a new
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:165
↓ 106 callersMethodget
(self, w)
else/天马杯--AI+z智能质检/code/uer/utils/vocab.py:35
↓ 90 callersMethodload_state_dict
(self, state_dict)
else/biendata-rubbish/utils/sam.py:58
↓ 73 callersMethodtrain
training one epoch
else/Chick-Counting/counting/utils/trainer.py:23
↓ 57 callersMethodzero_grad
Copied from torch.optim.optimizer
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:476
↓ 53 callersMethodstart
Start the timer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:192
↓ 50 callersMethodstep
(self, closure=None)
tianchi/ImageForgeryLocationChallenge/utils/ranger.py:75
↓ 44 callersMethodstop
Stop the timer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:199
↓ 36 callersMethodtransform
(self, h, w)
tianchi/CVPR2021-PIC-Challenge/qyl/centerface.py:31
↓ 35 callersFunctioncolorstr
(*input)
else/Chick-Counting/detect/utils/general.py:441
↓ 34 callersMethodsave
(self, save_dir='runs/detect/exp')
else/Chick-Counting/detect/models/common.py:425
↓ 34 callersMethodstep
Set lr for all parameters groups.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/learning_rates.py:99
↓ 33 callersMethodfrom_pretrained
(cls, model_type, override_args=None)
heywhale/LM-Pretrain-Finetune/GPT-2/model.py:216
↓ 32 callersMethodplot
(self, normalize=True, save_dir='', names=())
else/Chick-Counting/detect/utils/metrics.py:165
↓ 30 callersFunctionget_tokenizer
Return tokenizer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:55
↓ 30 callersFunctiontime_sync
()
else/Chick-Counting/detect/utils/torch_utils.py:86
↓ 29 callersMethodtokenize
(self, text)
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:31
↓ 27 callersFunctionget_timers
Return timers.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:73
↓ 26 callersMethodbackward
(ctx, grad_output)
else/Chick-Counting/detect/utils/activations.py:40
↓ 25 callersMethodencode
(self, text_line)
heywhale/LM-Pretrain-Finetune/pretrain/tools/preprocess_data.py:172
↓ 25 callersMethodget
Return a tensor with the input `shape` as a view into the 1-D data starting at `start_index`.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/distributed.py:44
↓ 22 callersMethodlog
save the metrics to the logging dictionary arguments: log_dict (Dict) -- metrics/media to be logged in current step
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:468
↓ 21 callersFunctioncheck_requirements
(requirements=ROOT / 'requirements.txt', exclude=(), install=True)
else/Chick-Counting/detect/utils/general.py:234
↓ 21 callersMethodconvert_tokens_to_ids
(self, tokens)
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:34
↓ 21 callersMethodload_state_dict
Customized load.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/t5_model.py:168
↓ 21 callersMethodrun
Loop through the registered actions and fire all callbacks Args: hook The name of the hook to check, defaults to all
else/Chick-Counting/detect/utils/callbacks.py:63
↓ 20 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
else/Chick-Counting/detect/models/common.py:127
↓ 20 callersMethodbackward
(ctx, *args)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/random.py:279
↓ 20 callersMethodlog
Log a group of timers.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:249
↓ 19 callersFunctionload_hyperparam
(args)
else/天马杯--AI+z智能质检/code/uer/utils/config.py:5
↓ 19 callersMethodpredict_proba
(self, x)
datafountain/CCF2020-非法集资/utils/helpers.py:16
↓ 18 callersMethodbackward
(ctx, grad_output)
tianchi/2021-Guangdong-Competition/yolov5/utils/activations.py:47
↓ 17 callersFunctionadd_to_logging
(name)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:500
↓ 17 callersMethodscale
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/grad_scaler.py:32
↓ 17 callersMethodwrite
(self, sizes, doc_idx)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:363
↓ 16 callersMethodstate_dict
(self, destination=None, prefix='', keep_vars=False)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/module.py:178
↓ 16 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
else/天马杯--AI+z智能质检/code/uer/utils/optimizers.py:215
↓ 15 callersMethodadd
Allocate a chunk of memory from the buffer to tensor and copy the values.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/memory.py:89
↓ 15 callersMethodpredict
(self,df)
else/wechat2021/lgb.py:96
↓ 15 callersFunctionset_seed
(seed=7)
else/天马杯--AI+z智能质检/code/uer/utils/seed.py:6
↓ 14 callersFunctionget_num_microbatches
()
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:42
↓ 14 callersFunctionincrement_path
(path, exist_ok=False, sep='', mkdir=False)
else/Chick-Counting/detect/utils/general.py:808
↓ 14 callersMethodpredict
(self, x)
datafountain/CCF2020-非法集资/utils/helpers.py:13
↓ 14 callersFunctionsave_model
(model, model_path)
else/天马杯--AI+z智能质检/code/uer/model_saver.py:5
↓ 14 callersFunctionset_random_seed
Set random seed for reproducability.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/tests/commons.py:34
↓ 13 callersMethod__init__
(self, w=None)
else/Chick-Counting/detect/models/tf.py:42
↓ 13 callersMethodfit
(self, x, y)
datafountain/CCF2020-非法集资/utils/helpers.py:19
↓ 13 callersFunctionprint_separator
(message)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/tests/commons.py:83
↓ 13 callersMethodstep
(self, closure=None)
else/biendata-rubbish/utils/sam.py:38
↓ 13 callersMethodupdate
(self, val, n=1)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/utils/utils.py:15
↓ 12 callersMethod__init__
(self, config: BartConfig)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_bart.py:1131
↓ 12 callersFunction_create
Creates a specified YOLOv5 model Arguments: name (str): name of model, i.e. 'yolov5s' pretrained (bool): load pretrained weights
else/Chick-Counting/detect/hubconf.py:13
↓ 12 callersMethoddecode
(self, heatmap, scale, offset, landmark, size, threshold=0.1)
tianchi/CVPR2021-PIC-Challenge/qyl/centerface.py:54
↓ 12 callersFunctioninit_method_normal
Init method based on N(0, sigma).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/utils.py:24
↓ 12 callersMethodstep
(self, closure=None)
kaggle/shopee/utils-shopee/ranger.py:71
↓ 12 callersMethodupdate
(self, val, n=1)
else/swin_unet_code_local/utils/utils.py:15
↓ 12 callersFunctionxyxy2xywh
(x)
else/Chick-Counting/detect/utils/general.py:505
↓ 11 callersFunctionaverage_losses_across_data_parallel_group
Reduce a tensor of losses across all GPUs.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/utils.py:81
↓ 11 callersFunctionget_tensor_model_parallel_rank
Return my rank for the tensor model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:255
↓ 11 callersFunctionget_tensor_model_parallel_world_size
Return world size for the tensor model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:227
↓ 11 callersFunctionselect_device
(device='', batch_size=None)
else/Chick-Counting/detect/utils/torch_utils.py:58
↓ 11 callersMethodshape
(x)
else/天马杯--AI+z智能质检/code/uer/layers/multi_headed_attn.py:39
↓ 11 callersMethodtokenize
(self, text)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/natural_questions/tokenizers.py:146
↓ 10 callersMethod__init__
(self, config: CPTConfig)
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:792
↓ 10 callersMethod__init__
(self, config: CPTConfig)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:841
↓ 10 callersFunction_compare
(arg_name, old_arg_name=None)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/checkpointing.py:49
↓ 10 callersMethoddetokenize
(self, token_ids)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/tokenizer.py:142
↓ 10 callersFunctionget_model_chunk_id
Helper method to get the model chunk ID given the iteration number.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/schedules.py:189
↓ 10 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:187
↓ 10 callersMethodrectangle
(self, xy, fill=None, outline=None, width=1)
else/Chick-Counting/detect/utils/plots.py:106
↓ 10 callersMethodscale_loss
Simple scaling.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:110
↓ 10 callersFunctionscaled_init_method_normal
Init method based on N(0, sigma/sqrt(2*num_layers).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/utils.py:32
↓ 10 callersFunctionset_logging
(rank=-1, verbose=True)
else/Chick-Counting/detect/utils/general.py:90
↓ 10 callersMethodupdate
(self, val, n=1)
tianchi/ImageForgeryLocationChallenge/utils/utils.py:15
↓ 9 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
else/swin_unet_code_local/networks/swin_transformer_unet_skip_expand_decoder_sys.py:9
↓ 9 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
else/satellite_image_segmentation/swin_unet_code/networks/swin_transformer_unet_skip_expand_decoder_sys.py:9
↓ 9 callersFunction_communicate
Communicate tensors between stages. Used as helper method in other communication methods that are used in megatron/schedules.py. Takes the fo
heywhale/LM-Pretrain-Finetune/pretrain/megatron/p2p_communication.py:24
↓ 9 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
huawei/Huawei-cloud-垃圾分类/sub/net/resnet.py:218
↓ 9 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
huawei/Huawei-cloud-垃圾分类/models/resnet.py:218
↓ 9 callersFunction_resnet
(arch, block, layers, pretrained, progress, **kwargs)
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:231
↓ 9 callersFunctionattempt_load
(weights, map_location=None, inplace=True, fuse=True)
else/Chick-Counting/detect/models/experimental.py:88
↓ 9 callersFunctionclean_data
(data_in)
dc/one-city编程大赛/fastText/data_process.py:24
↓ 9 callersFunctionget_and_check
(root, name, length)
tianchi/2021-Guangdong-Competition/voc_to_coco.py:30
↓ 9 callersFunctionget_linear_layer
Simple linear layer with weight initialization.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/utils.py:47
↓ 9 callersFunctionletterbox
(img, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True)
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:664
↓ 9 callersFunctionprint_args
(name, opt)
else/Chick-Counting/detect/utils/general.py:96
↓ 9 callersMethodupdate
(self, val, n=1)
else/Chick-Counting/counting/utils/helper.py:31
↓ 8 callersMethod__len__
(self)
tianchi/ImageForgeryLocationChallenge/dataset/RSCDataset.py:50
↓ 8 callersFunctionbuild_optimizer
(args, model)
else/天马杯--AI+z智能质检/code/run_classifier.py:96
next →1–100 of 3,531, ranked by callers