MCPcopy Create free account

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

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

↓ 2 callersMethodinit_hidden
(self, batch_size, device)
else/天马杯--AI+z智能质检/code/uer/encoders/birnn_encoder.py:45
↓ 2 callersMethodinitialize_word_embeddings
(self, init_method_normal)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/module.py:65
↓ 2 callersFunctioninsert_dict
(words, ngrams, pos)
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/filter_ngrams.py:187
↓ 2 callersFunctionintersection
(re1,re2)
datafountain/CCF2020-非法集资/models/pseudo.py:11
↓ 2 callersFunctionintersection
(re1,re2)
datafountain/CCF2020-非法集资/models/lgb.py:13
↓ 2 callersFunctionis_ascii
(s='')
else/Chick-Counting/detect/utils/general.py:164
↓ 2 callersFunctionis_chinese
(s='人工智能')
else/Chick-Counting/detect/utils/general.py:170
↓ 2 callersFunctionis_docker
()
else/Chick-Counting/detect/utils/general.py:145
↓ 2 callersFunctionis_parallel
(model)
tianchi/2021-Guangdong-Competition/yolov5/utils/torch_utils.py:57
↓ 2 callersFunctionis_start_piece
Check if the current word piece is the starting piece (BERT).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:172
↓ 2 callersFunctionlgb_cv
(train_x, train_y, test_x)
else/招商银行2021FinTech/lgb_day_LB_0.117.py:49
↓ 2 callersFunctionlgb_cv
(train_x, train_y, test_x)
else/招商银行2021FinTech/lgb_half_hour_LB_0.262.py:31
↓ 2 callersFunctionload_biencoder_checkpoint
selectively load retrieval models for indexing/retrieving from saved checkpoints
heywhale/LM-Pretrain-Finetune/pretrain/megatron/checkpointing.py:428
↓ 2 callersFunctionload_features
(feature_path, data_path)
else/天马杯--AI+z智能质检/code/datasets/tianma_cup/lgb.py:12
↓ 2 callersFunctionload_features
(feature_path, data_path)
else/天马杯--AI+z智能质检/code/datasets/tianma_cup/lgbm.py:13
↓ 2 callersMethodload_from_file
Populate members from instance saved to file
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:50
↓ 2 callersFunctionload_model
(model_name,weight_path)
heywhale/gaiic2022/code/qyl_offline/infer_cnn_lstm_attr_reproduct.py:11
↓ 2 callersFunctionload_mosaic
(self, index)
else/Chick-Counting/detect/utils/datasets.py:680
↓ 2 callersFunctionlog2_ceil
heywhale/LM-Pretrain-Finetune/pretrain/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:65
↓ 2 callersFunctionlog2_ceil
heywhale/LM-Pretrain-Finetune/pretrain/megatron/fused_kernels/scaled_masked_softmax.h:50
↓ 2 callersFunctionloss_func
(loss_mask, output_tensor)
heywhale/LM-Pretrain-Finetune/pretrain/pretrain_t5.py:72
↓ 2 callersFunctionloss_func
(output_predictions, labels, output_tensor)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/eval_utils.py:103
↓ 2 callersFunctionmain
(opt, callbacks=Callbacks())
else/Chick-Counting/detect/train.py:481
↓ 2 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/ict_dataset.py:12
↓ 2 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/biencoder_dataset_utils.py:12
↓ 2 callersFunctionmake_dir
(dir)
else/Chick-Counting/counting/qyl/pseudo.py:8
↓ 2 callersFunctionmake_divisible
(x, divisor)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:108
↓ 2 callersMethodmake_train_dataset
(self,train_dataset)
else/招商银行2021FinTech/lgb_day_timeSeries.py:87
↓ 2 callersMethodmake_train_dataset
(self,train_dataset)
else/招商银行2021FinTech/lgb_half_hour_timeSeries.py:101
↓ 2 callersMethodmap_val_table_path
Map the validation dataset Table like name of file -> it's id in the W&B Table. Useful for - referencing artifacts for evaluation.
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:364
↓ 2 callersFunctionmerge_frt
(df,mode)
else/wechat2021/comm.py:152
↓ 2 callersFunctionmerge_partitions
(merged, partitions, partition_dim, stride)
heywhale/LM-Pretrain-Finetune/pretrain/tools/merge_mp_partitions.py:55
↓ 2 callersFunctionmixed_segmentation
(in_str, rm_punc=False)
else/天马杯--AI+z智能质检/code/run_cmrc.py:174
↓ 2 callersFunctionmixup_criterion
(criterion, pred, y_a, y_b, lam)
else/data_lake/car/train.py:192
↓ 2 callersFunctionmixup_criterion
(criterion, pred, y_a, y_b, lam)
else/data_lake/person/train.py:189
↓ 2 callersFunctionmixup_data
Returns mixed inputs, pairs of targets, and lambda
else/data_lake/car/train.py:176
↓ 2 callersFunctionmixup_data
Returns mixed inputs, pairs of targets, and lambda
else/data_lake/person/train.py:173
↓ 2 callersMethodnew_video
(self, path)
tianchi/2021-Guangdong-Competition/yolov5/infer_tile.py:78
↓ 2 callersMethodnew_video
(self, path)
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:133
↓ 2 callersMethodnew_video
(self, path)
else/Chick-Counting/detect/utils/datasets.py:231
↓ 2 callersFunctionparallel_self_attention
(tensor_model_parallel_size, num_att_heads_per_partition, hidden_size_per_att_head
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/tests/test_layers.py:328
↓ 2 callersFunctionparallel_transformer
(tensor_model_parallel_size, num_att_heads_per_partition, hidden_size_per_att_head, b
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/tests/test_layers.py:413
↓ 2 callersFunctionparse_require_file
(fpath)
tianchi/高德地图/mmdetectionForGaode/setup.py:102
↓ 2 callersFunctionpost_language_model_processing
(lm_output, pooled_output, lm_head, binary_head,
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/bert_model.py:205
↓ 2 callersMethodpredict
pre_pred:已经得到的前一个预测结果 这里要将原始已经得到的预测结果逐个加入原始测试集
else/招商银行2021FinTech/lgb_half_hour_timeSeries.py:134
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None,use_kfold=False)
tianchi/2022CVPR-petBiometricChalenge/train_triple.py:154
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None,use_kfold=False)
tianchi/2022CVPR-petBiometricChalenge/train_siamese.py:152
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None,use_kfold=False)
tianchi/2022CVPR-petBiometricChalenge/train_ct.py:171
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None, data_root_val=None,use_kfold=True)
else/Chick-Counting/counting/train_kfold.py:74
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None,use_kfold=False)
else/data_lake/car/train.py:118
↓ 2 callersFunctionprepare_dataloader
(df, trn_idx=None, val_idx=None, data_root=None,use_kfold=False)
else/data_lake/person/train.py:115
↓ 2 callersMethodpreprocess_img
(self, img)
huawei/Huawei-cloud-垃圾分类/sub/test_local.py:94
↓ 2 callersFunctionprint_progress
(prefix, start_time, urls_counter, domain_blacklist_counter, extention_b
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/blacklist_urls.py:233
↓ 2 callersFunctionprint_progress
(prefix, start_time, num_docs, num_fixed_text, num_non_english_docs, chars_non_english_docs
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/cleanup_dataset.py:30
↓ 2 callersFunctionprintable_text
Returns text encoded in a way suitable for print or `tf.logging`.
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:159
↓ 2 callersFunctionprocess_batch
Process batch and produce inputs for the model.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/finetune_utils.py:37
↓ 2 callersFunctionprocess_batch
Process batch and produce inputs for the model.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/vision/finetune_utils.py:34
↓ 2 callersFunctionprocess_cnnFrt
(df)
tianchi/高德地图/Xception_Lgb_roundB.py:48
↓ 2 callersFunctionprocess_detectYoloFrt
(df, mode='train')
tianchi/高德地图/Xception_Lgb_roundB.py:56
↓ 2 callersFunctionprocess_detectYoloFrtKey
(df, mode='train')
tianchi/高德地图/Xception_Lgb_roundB.py:73
↓ 2 callersMethodproduct_neg_coarse
(self,item)
heywhale/gaiic2022/code/qyl_online/dataset_qyl.py:174
↓ 2 callersMethodproduct_neg_coarse
(self,item)
heywhale/gaiic2022/code/qyl_online/dataset_bert.py:213
↓ 2 callersFunctionprofile
(input, ops, n=10, device=None)
else/Chick-Counting/detect/utils/torch_utils.py:93
↓ 2 callersFunctionrandom_affine
(img, targets=(), degrees=10, translate=.1, scale=.1, shear=10, border=(0, 0))
tianchi/2021-Guangdong-Competition/yolov5/utils/datasets.py:697
↓ 2 callersFunctionread_chid_examples
将原始数据处理为如下形式: part_passage遍历每个blak的周围位置 :param input_data: :param is_training: :return:
else/天马杯--AI+z智能质检/code/scripts/preprocess/CHID_preprocess.py:75
↓ 2 callersMethodread_data
(self, path)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:155
↓ 2 callersFunctionread_dataset
(args, data_path, label_path)
else/天马杯--AI+z智能质检/code/scripts/preprocess/CHID_preprocess.py:444
↓ 2 callersFunctionrecv_forward
Receive tensor from previous rank in pipeline (forward receive).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/p2p_communication.py:127
↓ 2 callersFunctionreduce_from_tensor_model_parallel_region
(input_)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/mappings.py:148
↓ 2 callersFunctionremove_punctuation
(in_str)
else/天马杯--AI+z智能质检/code/run_cmrc.py:218
↓ 2 callersFunctionremoveland
:param data: [N, 12, 24, 72]
tianchi/2021-AI-Earth/utils_new.py:48
↓ 2 callersFunctionremoveland
:param data: [N, 12, 24, 72]
tianchi/2021-AI-Earth/nino_dataset.py:30
↓ 2 callersFunctionremoveland
:param data: [N, 12, 24, 72]
tianchi/2021-AI-Earth/docker_submit_cnnlstm/utils_new.py:48
↓ 2 callersFunctionreplace_bn
Replace BatchNorm modules in input model and copy BatchNorm parameters. Current implementation only supports normal BN to FrozenBN :param
huawei/DIGIX2020校园大赛图像检索/modeling/batch_norm.py:62
↓ 2 callersMethodreset
(self)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/utils/utils.py:9
↓ 2 callersMethodreset
(self)
else/swin_unet_code_local/utils/utils.py:9
↓ 2 callersMethodreset
(self)
else/satellite_image_segmentation/swin_unet_code/utils/utils.py:9
↓ 2 callersMethodreset
Reset timer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:206
↓ 2 callersFunctionresnet50
r"""ResNet-50 model from `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_ Args: pretrained (b
huawei/Huawei-cloud-垃圾分类/models/resnet.py:251
↓ 2 callersMethodresults
(self)
tianchi/天池-智慧海洋/单模testB0.874.py:17
↓ 2 callersFunctionsafe_download
(file, url, url2=None, min_bytes=1E0, error_msg='')
else/Chick-Counting/detect/utils/downloads.py:24
↓ 2 callersFunctionscore
(y_true, y_preds)
tianchi/2021-AI-Earth/metrics.py:7
↓ 2 callersFunctionsend_forward
Send tensor to next rank in pipeline (forward send).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/p2p_communication.py:161
↓ 2 callersFunctionsentence_encoding
(src, seg)
else/天马杯--AI+z智能质检/code/scripts/topn_words_dep.py:33
↓ 2 callersMethodset_doc_idx
(self, doc_idx_)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:525
↓ 2 callersFunctionset_global_variables
Set args, tokenizer, tensorboard-writer, adlr-autoresume, and timers.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:79
↓ 2 callersFunctionshingles
(text, char_ngram=5)
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/find_duplicates.py:30
↓ 2 callersMethodslice
Return a view of the list of tokens from [i, j).
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/natural_questions/tokenizers.py:42
↓ 2 callersFunctionslice_im
(image_path, ann_path,out_name, outdir, sliceHeight=1024, sliceWidth=1024, zero_frac_thresh=0.2,
tianchi/2021-Guangdong-Competition/make_slice_voc.py:114
↓ 2 callersFunctionsmooth
(v, w=0.85)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/utils/deeplearning.py:32
↓ 2 callersMethodstate
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/realm_index.py:37
↓ 2 callersMethodstate_dict_for_save_checkpoint
Save dict with state dicts of each of the models.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/realm_model.py:90
↓ 2 callersMethodstate_dict_for_save_checkpoint
For easy load when model is combined with other heads, add an extra key.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/t5_model.py:154
↓ 2 callersMethodstate_dict_for_save_checkpoint
Save dict with state dicts of each of the models.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/biencoder_model.py:110
↓ 2 callersMethodstep
(self, closure=None)
else/satellite_image_segmentation/swin_unet_code/utils/ranger.py:75
↓ 2 callersFunctiont5_position_ids
(token_ids)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/t5_model.py:46
↓ 2 callersFunctiontempered_softmax
Tempered softmax function. Args: activations: A multi-dimensional tensor with last dimension `num_classes`. t: Temperature > 1.0.
kaggle/Cassava Leaf Disease Classification/loss/bi_tempered_loss.py:140
↓ 2 callersFunctiontest
(data, weights=None, batch_size=16, imgsz=640, conf_thres=0.001,
tianchi/2021-Guangdong-Competition/yolov5/test.py:9
↓ 2 callersFunctiontest_image
(img_path,save_path)
tianchi/CVPR2021-PIC-Challenge/qyl/crop_infer.py:27
↓ 2 callersMethodtext
(self, xy, text, txt_color=(255, 255, 255))
else/Chick-Counting/detect/utils/plots.py:110
← previousnext →601–700 of 3,531, ranked by callers