MCPcopy Create free account

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

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

↓ 5 callersMethodstep
(self, closure=None)
else/swin_unet_code_local/utils/ranger.py:75
↓ 5 callersMethodstep
(self, closure=None)
else/data_lake/car/utils/ranger.py:75
↓ 5 callersFunctionstrip_optimizer
(f='best.pt', s='')
else/Chick-Counting/detect/utils/general.py:703
↓ 5 callersFunctionunwrap_model
(model, module_instances=(torchDDP))
heywhale/LM-Pretrain-Finetune/pretrain/megatron/utils.py:34
↓ 5 callersFunctionxywh2xyxy
(x)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:163
↓ 4 callersMethod__init__
(self, args)
else/天马杯--AI+z智能质检/code/uer/layers/synthesizer.py:98
↓ 4 callersMethod__init__
(self, config)
heywhale/LM-Pretrain-Finetune/GPT-2/model.py:88
↓ 4 callersMethod__iter__
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/data_samplers.py:97
↓ 4 callersMethod__len__
(self)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/dataset/RSCDataset.py:33
↓ 4 callersMethod__len__
(self)
else/swin_unet_code_local/datasets/RSCDataset.py:47
↓ 4 callersMethod__len__
(self)
else/satellite_image_segmentation/swin_unet_code/datasets/RSCDataset.py:50
↓ 4 callersMethod_check_and_set
Auxiliary function for checking the values in the checkpoint and setting them.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/learning_rates.py:124
↓ 4 callersMethod_empty
(self)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:210
↓ 4 callersMethod_fill_buf
(self)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:191
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilation=1)
huawei/DIGIX2020校园大赛图像检索/modeling/resnet_csail.py:170
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
huawei/Huawei-cloud-垃圾分类/sub/net/resnet.py:172
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
huawei/Huawei-cloud-垃圾分类/models/resnet.py:172
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:184
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
tianchi/高德地图/classfiyForGaoDe/models/resnet.py:189
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
tianchi/高德地图/classfiyForGaoDe/models/resnet.py:251
↓ 4 callersFunction_transpose_first_dim
(t, num_splits, num_splits_first, model)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/checkpointing.py:194
↓ 4 callersFunctionapply_classifier
(x, model, img, im0)
else/Chick-Counting/detect/utils/general.py:758
↓ 4 callersMethodbackward
(ctx, grad_output)
huawei/DIGIX2020校园大赛图像检索/modeling/metric_learning.py:60
↓ 4 callersMethodbackward
(ctx, grad_output)
kaggle/shopee/utils-shopee/custom_mish.py:23
↓ 4 callersFunctionbatch_loader
(batch_size, src, tgt, seg)
else/天马杯--AI+z智能质检/code/run_ner.py:100
↓ 4 callersFunctionbert_extended_attention_mask
(attention_mask)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/bert_model.py:33
↓ 4 callersFunctionbuild_data_loader
Data loader. Note that batch-size is the local (per GPU) batch-size.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/vision/finetune_utils.py:67
↓ 4 callersMethodchange_dataset
(self, dataset_id)
else/天马杯--AI+z智能质检/code/run_mt_classifier.py:67
↓ 4 callersFunctioncheck_file
(file)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:98
↓ 4 callersFunctioncheck_file
(file, suffix='')
else/Chick-Counting/detect/utils/general.py:311
↓ 4 callersFunctioncheck_imshow
()
else/Chick-Counting/detect/utils/general.py:280
↓ 4 callersFunctionclean_data
(data_in)
dc/one-city编程大赛/bert/code/utils/data_process.py:22
↓ 4 callersFunctioncnt_result
(x)
datafountain/CCF2020-非法集资/post_process/merge_model.py:5
↓ 4 callersFunctioncompute_loss
(p, targets, model)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:420
↓ 4 callersMethodconcat_and_pad_tokens
Concat with special tokens and pad sequence to self.max_seq_length
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/ict_dataset.py:142
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
tianchi/高德地图/classfiyForGaoDe/models/resnet.py:28
↓ 4 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:182
↓ 4 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/bert_tokenization.py:136
↓ 4 callersMethodconvert_tokens_to_ids
Converts a sequence of tokens into ids using the vocab.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/gpt2_tokenization.py:247
↓ 4 callersFunctioncount_labels_num
(path)
else/天马杯--AI+z智能质检/code/run_classifier.py:71
↓ 4 callersFunctioncreate
Creates a specified YOLOv5 model Arguments: name (str): name of model, i.e. 'yolov5s' pretrained (bool): load pretrained weig
tianchi/2021-Guangdong-Competition/yolov5/hubconf.py:18
↓ 4 callersFunctioncreate_folder
(path='./new_folder')
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:885
↓ 4 callersMethodcrop
(self, save=True, save_dir='runs/detect/exp')
else/Chick-Counting/detect/models/common.py:429
↓ 4 callersMethodembed_text
Embed a batch of tokens using the model
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/biencoder_model.py:103
↓ 4 callersFunctioneval_score
(y_test,y_pre)
tianchi/高德地图/Xception_Lgb_roundB.py:172
↓ 4 callersFunctionfix_query_key_value_ordering
Fix up query/key/value matrix ordering if checkpoint version is smaller than 2.0
heywhale/LM-Pretrain-Finetune/pretrain/megatron/checkpointing.py:232
↓ 4 callersMethodforward
(self, x)
else/Chick-Counting/detect/models/common.py:136
↓ 4 callersFunctionget_area
:param data: [month, lon, lat]
tianchi/2021-AI-Earth/utils_new.py:85
↓ 4 callersFunctionget_area
:param data: [month, lon, lat]
tianchi/2021-AI-Earth/docker_submit_cnnlstm/utils_new.py:85
↓ 4 callersFunctionget_checkpoint_version
()
heywhale/LM-Pretrain-Finetune/pretrain/megatron/checkpointing.py:40
↓ 4 callersFunctionget_frt
(df)
else/招商银行2021FinTech/lgb_day_timeSeries.py:12
↓ 4 callersFunctionget_frt
(df)
else/招商银行2021FinTech/lgb_day_LB_0.117.py:18
↓ 4 callersFunctionget_frt
(df)
else/招商银行2021FinTech/lgb_half_hour_timeSeries.py:15
↓ 4 callersFunctionget_frt
(df)
else/招商银行2021FinTech/lgb_half_hour_LB_0.262.py:21
↓ 4 callersFunctionget_indexed_dataset_
(data_prefix, data_impl, skip_warmup)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:603
↓ 4 callersFunctionget_list_list
(list_1, list_2)
dc/one-city编程大赛/fastText/fastText.py:17
↓ 4 callersFunctionget_list_list
(list_1,list_2)
dc/one-city编程大赛/bert/code/train_kfold.py:42
↓ 4 callersFunctionget_pipeline_model_parallel_rank
Return my rank for the pipeline model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:263
↓ 4 callersFunctionget_pipeline_model_parallel_world_size
Return world size for the pipeline model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:235
↓ 4 callersMethodget_states
Get rng states. Copy the dictionary so we have direct pointers to the states, not just a pointer to the dictionary.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/random.py:147
↓ 4 callersFunctionget_token_stream
(model, context_tokens)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/text_generation_utils.py:391
↓ 4 callersFunctionis_parallel
(model)
else/Chick-Counting/detect/utils/torch_utils.py:146
↓ 4 callersFunctionload_classifier
(name='resnet101', n=2)
else/Chick-Counting/detect/utils/torch_utils.py:245
↓ 4 callersFunctionload_image
(self, i)
else/Chick-Counting/detect/utils/datasets.py:659
↓ 4 callersMethodload_state_dict
Customized load.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/language_model.py:212
↓ 4 callersFunctionlog_t
Compute log_t for `u'.
kaggle/Cassava Leaf Disease Classification/loss/bi_tempered_loss.py:7
↓ 4 callersFunctionmake_dir
(dir)
else/Chick-Counting/detect/qyl/make_label.py:61
↓ 4 callersFunctionmetric
(k)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:64
↓ 4 callersFunctionmetric
(k)
else/Chick-Counting/detect/utils/autoanchor.py:35
↓ 4 callersFunctionnon_max_suppression
Performs Non-Maximum Suppression (NMS) on inference results Returns: detections with shape: nx6 (x1, y1, x2, y2, conf, cls)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:543
↓ 4 callersMethodpredict
(self, inputs, tf_nms=False, agnostic_nms=False, topk_per_class=100, topk_all=100, iou_thres=0.45,
else/Chick-Counting/detect/models/tf.py:343
↓ 4 callersFunctionread_longs
(f, n)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:82
↓ 4 callersMethodreset
Set to the initial state (no tracker).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/random.py:142
↓ 4 callersMethodresult
(self)
else/Chick-Counting/detect/utils/plots.py:115
↓ 4 callersFunctionsave_checkpoint_and_time
(iteration, model, optimizer, lr_scheduler, is_last=False)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:610
↓ 4 callersMethodstate_dict_for_save_checkpoint
For easy load.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/language_model.py:195
↓ 4 callersMethodstep
(self, closure=None)
else/data_lake/person/utils/ranger.py:75
↓ 4 callersMethodtokenize
(self, *text)
heywhale/LM-Pretrain-Finetune/pretrain/tools/preprocess_data.py:71
↓ 4 callersFunctionupdate_num_microbatches
(consumed_samples, consistency_check=True)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:50
↓ 4 callersMethodword_embeddings_weight
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/bert_model.py:95
↓ 4 callersFunctionwrite_longs
(f, a)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:88
↓ 4 callersFunctionxyxy2xywh
(x)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:153
↓ 3 callersMethod__init__
(self, args)
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:12
↓ 3 callersMethod__init__
(self, args, vocab, tokenizer)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:134
↓ 3 callersMethod__init__
(self, n, weight=False)
else/Chick-Counting/detect/models/experimental.py:30
↓ 3 callersMethod__init__
(self, init_method, output_layer_init_method)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/transformer.py:60
↓ 3 callersMethod__init__
(self, from_pretrained_path)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/tokenizer.py:132
↓ 3 callersFunction_cpp_extention_load_helper
(name, sources, extra_cuda_flags)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/fused_kernels/__init__.py:46
↓ 3 callersFunction_ensure_var_is_initialized
Make sure the input variable is not None.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:173
↓ 3 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_bart.py:101
↓ 3 callersFunction_gather
Gather tensors and concatinate along the last dimension.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/mappings.py:54
↓ 3 callersMethod_init_weights
(self, module)
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:424
↓ 3 callersMethod_init_weights
(self, module)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_bart.py:527
↓ 3 callersMethod_init_weights
(self, module)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:444
↓ 3 callersFunction_initialize_affine_weight_cpu
Initialize affine weight for model parallel. Build the master weight on all processes and scatter the relevant chunk.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/layers.py:92
↓ 3 callersFunction_initialize_affine_weight_gpu
Initialize affine weight for model parallel on GPU.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/layers.py:79
↓ 3 callersFunction_is_chinese_char
(cp)
else/天马杯--AI+z智能质检/code/scripts/preprocess/CHID_preprocess.py:88
↓ 3 callersFunction_normalize
(text)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/natural_questions/qa_utils.py:176
↓ 3 callersFunction_reduce
All-reduce the the input tensor across model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/mappings.py:22
↓ 3 callersMethod_set_mips_index
Create a Faiss Flat index with inner product as the metric to search against
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:130
← previousnext →201–300 of 3,531, ranked by callers