MCPcopy Create free account

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

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

↓ 3 callersFunction_split
Split the tensor along its last dimension and keep the corresponding slice.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/mappings.py:35
↓ 3 callersFunction_zero_grad_group_helper
Zero out the gradient for a group of parameters. Note: copied from torch.optim.optimizer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:33
↓ 3 callersMethodadd_batch
(self, predictions, gts)
tianchi/ImageForgeryLocationChallenge/utils/metric.py:18
↓ 3 callersMethodadd_insertion_noise
(self, tokens, p)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/hfbert_dataset.py:376
↓ 3 callersMethodadd_insertion_noise
(self, tokens, p)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/cpt_dataset.py:440
↓ 3 callersMethodadd_insertion_noise
(self, tokens, p)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/bart_dataset.py:441
↓ 3 callersMethodadd_token
(self, token)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/tokenizer.py:219
↓ 3 callersFunctionattempt_download
(file, repo='ultralytics/yolov5')
else/Chick-Counting/detect/utils/downloads.py:43
↓ 3 callersFunctionautopad
(k, p=None)
else/Chick-Counting/detect/models/common.py:29
↓ 3 callersFunctionbatch_loader
(batch_size, src, seg)
else/天马杯--AI+z智能质检/code/inference/run_ner_infer.py:47
↓ 3 callersFunctionbias_dropout_add
(x, bias, residual, prob, training)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/transformer.py:357
↓ 3 callersFunctionbiencoder_model_provider
Build the model.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/biencoder_model.py:18
↓ 3 callersFunctionbox_iou
Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x1, y1, x2, y2) format. Arguments:
else/Chick-Counting/detect/utils/metrics.py:237
↓ 3 callersFunctionbuild_data_loader
Data loader. Note that batch-size is the local (per GPU) batch-size.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/finetune_utils.py:83
↓ 3 callersFunctionbuild_dataset
(index, name)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:519
↓ 3 callersFunctionbuild_dataset
(index, name)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/gpt_dataset.py:105
↓ 3 callersMethodbuild_instances
(self, all_documents)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:467
↓ 3 callersFunctionbuild_pretraining_data_loader
Buld dataloader given an input dataset.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/data_samplers.py:25
↓ 3 callersFunctioncheck_adlr_autoresume_termination
Check for autoresume signal and exit if it is received.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/utils.py:128
↓ 3 callersFunctioncheck_and_clean_text
(args, words, ngrams, text, start_position, \ text_buf_ngram_free, text_buf, local_ngram)
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/filter_ngrams.py:64
↓ 3 callersFunctioncheck_img_size
(img_size, s=32)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:48
↓ 3 callersMethodclear
Clear the embedding data structures to save memory. The metadata ends up getting used, and is also much smaller in dimensiona
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:42
↓ 3 callersFunctionclip_coords
(boxes, shape)
else/Chick-Counting/detect/utils/general.py:597
↓ 3 callersFunctioncnt_result
(xx)
datafountain/CCF2020-非法集资/models/stacking.py:13
↓ 3 callersFunctionconcat_all
(data, label)
tianchi/2021-AI-Earth/utils_new.py:59
↓ 3 callersFunctionconcat_all
(data, label)
tianchi/2021-AI-Earth/nino_dataset.py:41
↓ 3 callersFunctionconcat_all
(data, label)
tianchi/2021-AI-Earth/docker_submit_cnnlstm/utils_new.py:59
↓ 3 callersFunctionconv1x1
1x1 convolution
huawei/Huawei-cloud-垃圾分类/sub/net/resnet.py:29
↓ 3 callersFunctionconv1x1
1x1 convolution
huawei/Huawei-cloud-垃圾分类/models/resnet.py:29
↓ 3 callersFunctionconv1x1
1x1 convolution
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:29
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
huawei/Huawei-cloud-垃圾分类/sub/net/resnet.py:23
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
huawei/Huawei-cloud-垃圾分类/models/resnet.py:23
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:23
↓ 3 callersFunctionconvert_examples_to_features
将所有候选答案放置在片段开头
else/天马杯--AI+z智能质检/code/scripts/preprocess/CHID_preprocess.py:216
↓ 3 callersMethodconvert_ids_to_tokens
Converts a sequence of ids in BPE tokens using the vocab.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/gpt2_tokenization.py:269
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/bert_tokenization.py:78
↓ 3 callersFunctioncreate_dataloader
(path, imgsz, batch_size, stride, opt, hyp=None, augment=False, cache=False, pad=0.0, rect=False)
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:44
↓ 3 callersFunctioncreate_dataloader
(path, imgsz, batch_size, stride, single_cls=False, hyp=None, augment=False, cache=False, pad=0.0,
else/Chick-Counting/detect/utils/datasets.py:95
↓ 3 callersFunctioncyclic_iter
(iter)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:803
↓ 3 callersMethoddecode
(self, tokens)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/gpt2_tokenization.py:283
↓ 3 callersFunctiondetach
(tensor)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:13
↓ 3 callersFunctiondetect
()
tianchi/2021-Guangdong-Competition/yolov5/infer_tile.py:86
↓ 3 callersMethoddtype
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:427
↓ 3 callersMethodelapsed
Calculate the elapsed time.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:211
↓ 3 callersFunctionemojis
(str='')
else/Chick-Counting/detect/utils/general.py:175
↓ 3 callersMethodencode
(self, text)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/gpt2_tokenization.py:280
↓ 3 callersFunctionevaluate
(args, dataset)
else/天马杯--AI+z智能质检/code/run_ner.py:137
↓ 3 callersMethodevaluate
(self)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/utils/metric.py:22
↓ 3 callersMethodevaluate
(self)
tianchi/ImageForgeryLocationChallenge/utils/metric.py:22
↓ 3 callersFunctionfinetune
Main finetune function used across all tasks.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/vision/finetune_utils.py:222
↓ 3 callersMethodflops
(self)
else/swin_unet_code_local/networks/swin_transformer_unet_skip_expand_decoder_sys.py:444
↓ 3 callersMethodflops
(self)
else/satellite_image_segmentation/swin_unet_code/networks/swin_transformer_unet_skip_expand_decoder_sys.py:444
↓ 3 callersFunctionget_img
(path)
kaggle/Cassava Leaf Disease Classification/train.py:87
↓ 3 callersFunctionget_img
(path)
kaggle/Cassava Leaf Disease Classification/train_fix.py:87
↓ 3 callersMethodget_label
(self,item)
heywhale/gaiic2022/code/qyl_online/dataset_qyl.py:232
↓ 3 callersFunctionget_logger
(filename, verbosity=1, name=None)
tianchi/高德地图/classfiyForGaoDe/utils/log.py:3
↓ 3 callersMethodget_loss_scale
FP32 optimizer does not do any scaling.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:482
↓ 3 callersFunctionget_ltor_masks_and_position_ids
Build masks and position id for left to right model.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/utils.py:147
↓ 3 callersFunctionget_model
(model_type)
heywhale/LM-Pretrain-Finetune/pretrain/tools/merge_mp_partitions.py:110
↓ 3 callersFunctionget_oof
(clf, x_train, y_train, x_test,ntrain,ntest,NFOLDS=5)
datafountain/CCF2020-非法集资/utils/helpers.py:32
↓ 3 callersFunctionget_tensorboard_writer
Return tensorboard writer. It can be None so no need to check if it is initialized.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:61
↓ 3 callersFunctionget_train_transforms
(height_size,width_size)
else/data_lake/car/utils/dataset_albu.py:14
↓ 3 callersFunctionget_train_transforms
(height_size,width_size)
else/data_lake/person/utils/dataset_albu.py:13
↓ 3 callersFunctioninference
(model, data_loader, device)
else/biendata-rubbish/infer.py:39
↓ 3 callersFunctioninference
(model, data_loader, device)
else/data_lake/person/predict.py:45
↓ 3 callersFunctioninit_method
(std)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:131
↓ 3 callersFunctionjson2labelImg
(inJson, outImg, encoding="ids")
huawei/华为云-云上先锋-街景图像语义分割/json_to_png.py:171
↓ 3 callersFunctionload_image
(self, index)
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:550
↓ 3 callersFunctionload_model
(model_path)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/test.py:23
↓ 3 callersMethodload_state_dict
Customized load.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/bert_model.py:328
↓ 3 callersMethodload_state_dict
(self, state_dict)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:522
↓ 3 callersFunctionload_url
(url, model_dir='/root/.torch/models', map_location=None)
huawei/DIGIX2020校园大赛图像检索/modeling/resnet_csail.py:40
↓ 3 callersFunctionloaddata
(train_dir, batch_size, shuffle,is_train=True)
tianchi/Sunspot/trainKfold.py:47
↓ 3 callersFunctionmake_attention_mask
Returns a 2-dimensional (2-D) attention mask :param source_block: 1-D array :param target_block: 1-D array
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/t5_dataset.py:233
↓ 3 callersFunctionmean
Nanmean compatible with generators.
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:168
↓ 3 callersFunctionmean
Nanmean compatible with generators.
else/swin_unet_code_local/losses/lovasz.py:168
↓ 3 callersFunctionmean
Nanmean compatible with generators.
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:168
↓ 3 callersMethodnms
(self, boxes, scores, nms_thresh)
tianchi/CVPR2021-PIC-Challenge/qyl/centerface.py:88
↓ 3 callersFunctionparallel_lm_logits
LM logits using word embedding weights.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/language_model.py:29
↓ 3 callersFunctionparam_is_not_shared
(param)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/module.py:32
↓ 3 callersFunctionparam_is_not_tensor_parallel_duplicate
(param)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/layers.py:46
↓ 3 callersFunctionparse_opt
(known=False)
else/Chick-Counting/detect/train.py:436
↓ 3 callersFunctionplot_images
(images, targets, paths=None, fname='images.jpg', names=None, max_size=640, max_subplots=16)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:948
↓ 3 callersFunctionplot_mc_curve
(px, py, save_dir='mc_curve.png', names=(), xlabel='Confidence', ylabel='Metric')
else/Chick-Counting/detect/utils/metrics.py:317
↓ 3 callersFunctionprint_results
(k)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:744
↓ 3 callersFunctionprint_results
(k)
else/Chick-Counting/detect/utils/autoanchor.py:96
↓ 3 callersFunctionprint_split_stats
(name, index)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:503
↓ 3 callersFunctionprint_split_stats
(name, index)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/gpt_dataset.py:96
↓ 3 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=10, translate=.1, scale=.1, shear=10, perspective=0.0,
else/Chick-Counting/detect/utils/augmentations.py:125
↓ 3 callersFunctionread_dataset
(args, path)
else/天马杯--AI+z智能质检/code/run_ner.py:71
↓ 3 callersFunctionread_dataset
(args, path)
else/天马杯--AI+z智能质检/code/run_cmrc.py:126
↓ 3 callersFunctionread_dataset
(args, path)
else/天马杯--AI+z智能质检/code/run_dbqa.py:27
↓ 3 callersFunctionread_dataset
(args, path)
else/天马杯--AI+z智能质检/code/inference/run_ner_infer.py:23
↓ 3 callersFunctionread_labels
(dataset_path)
else/天马杯--AI+z智能质检/code/scripts/run_bayesopt.py:8
↓ 3 callersFunctionrebuild_tokenizer
(args)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:122
↓ 3 callersMethodreload_model_params
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:514
↓ 3 callersMethodreset
(self)
tianchi/ImageForgeryLocationChallenge/utils/utils.py:9
↓ 3 callersFunctionrmse
(y_true, y_preds)
tianchi/2021-AI-Earth/metrics.py:4
↓ 3 callersFunctionrun
(data, weights=None, # model.pt path(s) batch_size=32, # batch size imgsz=640, # in
else/Chick-Counting/detect/val.py:84
↓ 3 callersMethodset_input_tensor
See megatron.model.transformer.set_input_tensor()
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/t5_model.py:112
← previousnext →301–400 of 3,531, ranked by callers