MCPcopy Create free account

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

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

↓ 3 callersMethodset_states
Set the rng states. For efficiency purposes, we do not check the size of seed for compatibility.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/random.py:155
↓ 3 callersFunctionset_tensor_model_parallel_attributes
(tensor, is_parallel, dim, stride)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/layers.py:52
↓ 3 callersFunctionsetup_model_and_optimizer
Setup model and optimizer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:312
↓ 3 callersFunctionshift_tokens_right
Shift input ids one token to the right.
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:65
↓ 3 callersFunctionshift_tokens_right
Shift input ids one token to the right.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_bart.py:71
↓ 3 callersFunctionshift_tokens_right
Shift input ids one token to the right.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:74
↓ 3 callersFunctionsimplify
(param)
else/Chick-Counting/counting/train_kfold.py:185
↓ 3 callersMethodstate_dict
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:518
↓ 3 callersFunctiontorch_distributed_zero_first
Decorator to make all processes in distributed training wait for each local_master to do something.
else/Chick-Counting/detect/utils/torch_utils.py:32
↓ 3 callersFunctiontrain
(hyp, # path/to/hyp.yaml or hyp dictionary opt, device, callbacks )
else/Chick-Counting/detect/train.py:59
↓ 3 callersFunctiontrain_step
Single training step.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:368
↓ 3 callersFunctiontraining_log
Log training information such as losses, timing, ....
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:460
↓ 3 callersFunctionuAUC
Calculate user AUC
else/wechat2021/evaluation.py:14
↓ 3 callersMethodunion
Union vocab in all workers.
else/天马杯--AI+z智能质检/code/uer/utils/vocab.py:65
↓ 3 callersMethodupdate
(self, model)
else/Chick-Counting/detect/utils/torch_utils.py:326
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:198
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/bert_tokenization.py:152
↓ 3 callersMethodwords
Returns a list of the text of each token Args: uncased: lower cases text
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/natural_questions/tokenizers.py:52
↓ 3 callersFunctionxywhn2xyxy
(x, w=640, h=640, padw=0, padh=0)
else/Chick-Counting/detect/utils/general.py:525
↓ 2 callersFunctionDWConv
(c1, c2, k=1, s=1, act=True)
tianchi/2021-Guangdong-Competition/yolov5/models/common.py:13
↓ 2 callersMethod__getitem__
(self, i)
tianchi/ImageForgeryLocationChallenge/dataset/RSCDataset.py:65
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, bn_module=nn.BatchNorm2d, relu_inplace=False)
huawei/DIGIX2020校园大赛图像检索/modeling/resnet_csail.py:137
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
huawei/Huawei-cloud-垃圾分类/sub/net/resnet.py:121
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
huawei/Huawei-cloud-垃圾分类/models/resnet.py:121
↓ 2 callersMethod__init__
(self)
tianchi/CVPR2021-PIC-Challenge/networks/pfld.py:55
↓ 2 callersMethod__init__
(self, block, layers, num_classes=318, zero_init_residual=False, groups=1, width_per_group=6
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:125
↓ 2 callersMethod__init__
(self, in_features, out_features, m=4)
tianchi/高德地图/classfiyForGaoDe/models/metrics.py:106
↓ 2 callersMethod__init__
(self, args, vocab_size)
else/天马杯--AI+z智能质检/code/uer/layers/embeddings.py:52
↓ 2 callersMethod__init__
(self, loss_fcn, gamma=1.5, alpha=0.25)
else/Chick-Counting/detect/utils/loss.py:37
↓ 2 callersMethod__init__
(self, c1, k=3)
else/Chick-Counting/detect/utils/activations.py:52
↓ 2 callersMethod__init__
(self, numel, dtype)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/distributed.py:30
↓ 2 callersMethod__init__
(self, hidden_size, init_method)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/language_model.py:91
↓ 2 callersMethod__init__
(self, num_tokentypes=2, add_binary_head=True, parallel_out
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/bert_model.py:233
↓ 2 callersMethod__init__
(self, path)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:131
↓ 2 callersMethod__init__
(self, input_size, output_size, bias=True, input_is_parallel=False, init_met
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/layers.py:324
↓ 2 callersMethod__next__
(self)
else/Chick-Counting/detect/utils/datasets.py:193
↓ 2 callersFunction_build_tokenizer
Initialize tokenizer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:114
↓ 2 callersFunction_build_train_valid_test_datasets
(data_prefix, data_impl, splits_string, train_valid_test_num_samples,
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:472
↓ 2 callersFunction_build_train_valid_test_datasets
Build train, valid, and test datasets.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/gpt_dataset.py:80
↓ 2 callersMethod_do_init
(self, path, skip_warmup)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:460
↓ 2 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:95
↓ 2 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_cpt.py:104
↓ 2 callersFunction_flatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:74
↓ 2 callersFunction_flatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
else/swin_unet_code_local/losses/lovasz.py:74
↓ 2 callersFunction_flatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:74
↓ 2 callersFunction_flatten_probas
Flattens predictions in the batch
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:142
↓ 2 callersFunction_flatten_probas
Flattens predictions in the batch
else/swin_unet_code_local/losses/lovasz.py:142
↓ 2 callersFunction_flatten_probas
Flattens predictions in the batch
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:142
↓ 2 callersMethod_forward_once
(self, x, profile=False, visualize=False)
else/Chick-Counting/detect/models/yolo.py:142
↓ 2 callersMethod_get_layer
(self, layer_number)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/transformer.py:594
↓ 2 callersMethod_get_model_and_main_params_data_float16
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:342
↓ 2 callersMethod_initialize_biases
(self, cf=None)
tianchi/2021-Guangdong-Competition/yolov5/models/yolo.py:123
↓ 2 callersFunction_loop
:param example: :param unique_id: :return: input_ids = (C, seq_len) token_type_ids = (C, seq_len) = s
else/天马杯--AI+z智能质检/code/scripts/preprocess/CHID_preprocess.py:221
↓ 2 callersFunction_lovasz_grad
Compute gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:22
↓ 2 callersFunction_lovasz_grad
Compute gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
else/swin_unet_code_local/losses/lovasz.py:22
↓ 2 callersFunction_lovasz_grad
Compute gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:22
↓ 2 callersFunction_lovasz_hinge_flat
Binary Lovasz hinge loss Args: logits: [P] Logits at each prediction (between -infinity and +infinity) labels: [P] Tensor, binary
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:54
↓ 2 callersFunction_lovasz_hinge_flat
Binary Lovasz hinge loss Args: logits: [P] Logits at each prediction (between -infinity and +infinity) labels: [P] Tensor, binary
else/swin_unet_code_local/losses/lovasz.py:54
↓ 2 callersFunction_lovasz_hinge_flat
Binary Lovasz hinge loss Args: logits: [P] Logits at each prediction (between -infinity and +infinity) labels: [P] Tensor, binary
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:54
↓ 2 callersFunction_lovasz_softmax_flat
Multi-class Lovasz-Softmax loss Args: @param probas: [P, C] Class probabilities at each prediction (between 0 and 1) @param labels
tianchi/ImageForgeryLocationChallenge/losses/lovasz.py:111
↓ 2 callersFunction_lovasz_softmax_flat
Multi-class Lovasz-Softmax loss Args: @param probas: [P, C] Class probabilities at each prediction (between 0 and 1) @param labels
else/swin_unet_code_local/losses/lovasz.py:111
↓ 2 callersFunction_lovasz_softmax_flat
Multi-class Lovasz-Softmax loss Args: @param probas: [P, C] Class probabilities at each prediction (between 0 and 1) @param labels
else/satellite_image_segmentation/swin_unet_code/losses/lovasz.py:111
↓ 2 callersFunction_multi_tensor_copy_this_to_that
Use multi-tensor-applier to copy values from one list to another. We don't have a blfoat16 implementation so for now if the overflow_buf is no
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:48
↓ 2 callersFunction_normalize_answer
(s)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/natural_questions/qa_utils.py:159
↓ 2 callersFunction_warmup_mmap_file
(path)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:329
↓ 2 callersFunctionaccuracy_func_provider
Provide function that calculates accuracies.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/vision/eval_utils.py:28
↓ 2 callersMethodadd_batch
(self, predictions, gts)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/utils/metric.py:18
↓ 2 callersFunctionall_logging_disabled
source - https://gist.github.com/simon-weber/7853144 A context manager that will prevent any logging messages triggered during the body from bein
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:514
↓ 2 callersFunctionallocate_mem_buff
Allocate a memory buffer.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/memory.py:24
↓ 2 callersFunctionanchor_fitness
(k)
else/Chick-Counting/detect/utils/autoanchor.py:92
↓ 2 callersFunctionapply_threshold
(preds, t)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/ensemble_classifier.py:60
↓ 2 callersMethodbackward
(ctx, grad_output)
kaggle/Cassava Leaf Disease Classification/loss/bi_tempered_loss.py:102
↓ 2 callersFunctionbackward_step_helper
Helper method to run backward step with model split into chunks (run set_virtual_pipeline_model_parallel_rank() before calling backwar
heywhale/LM-Pretrain-Finetune/pretrain/megatron/schedules.py:217
↓ 2 callersFunctionbatch_loader
(batch_size, src, seg, start_position, end_position)
else/天马杯--AI+z智能质检/code/run_cmrc.py:132
↓ 2 callersFunctionbatch_loader
(batch_size, src, seg)
else/天马杯--AI+z智能质检/code/inference/run_classifier_infer.py:25
↓ 2 callersFunctionbbox_ioa
Returns the intersection over box2 area given box1, box2. Boxes are x1y1x2y2 box1: np.array of shape(4) box2: np.array of shape(n
else/Chick-Counting/detect/utils/metrics.py:262
↓ 2 callersFunctionbox_area
(box)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:348
↓ 2 callersFunctionbox_area
(box)
else/Chick-Counting/detect/utils/metrics.py:250
↓ 2 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:
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:335
↓ 2 callersMethodbuild
(self,path)
tianchi/天池-智慧海洋/单模testB0.874.py:26
↓ 2 callersMethodbuild_instances
(self, all_documents)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:267
↓ 2 callersMethodbuild_instances
(self, document)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:583
↓ 2 callersFunctionbuild_sample
Convert to numpy and return a sample consumed by the batch producer.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/data_utils.py:33
↓ 2 callersFunctionbuild_tokens_types_paddings_from_ids
Build token types and paddings, trim if needed, and pad if needed.
heywhale/LM-Pretrain-Finetune/pretrain/tasks/data_utils.py:62
↓ 2 callersFunctionbuild_train_valid_datasets
(data_path, crop_size=224, color_jitter=True)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/vit_dataset.py:21
↓ 2 callersFunctionbuild_train_valid_test_data_iterators
XXX
heywhale/LM-Pretrain-Finetune/pretrain/megatron/training.py:808
↓ 2 callersFunctioncalc_params_l2_norm
Calculate l2 norm of parameters
heywhale/LM-Pretrain-Finetune/pretrain/megatron/utils.py:49
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
tianchi/ImageForgeryLocationChallenge/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/biendata-rubbish/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/Chick-Counting/counting/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/swin_unet_code_local/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/satellite_image_segmentation/swin_unet_code/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/data_lake/car/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
else/data_lake/person/utils/ranger.py:6
↓ 2 callersFunctioncentralized_gradient
(x, use_gc=True, gc_conv_only=False)
kaggle/shopee/utils-shopee/ranger.py:2
↓ 2 callersFunctioncheck
(group, world_size, rank)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/tests/test_initialize.py:36
↓ 2 callersFunctioncheck_anchor_order
(m)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:88
↓ 2 callersFunctioncheck_anchor_order
(m)
else/Chick-Counting/detect/utils/autoanchor.py:16
↓ 2 callersMethodcheck_and_upload_dataset
Check if the dataset format is compatible and upload it as W&B artifact arguments: opt (namespace)-- Commandline arguments f
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:191
↓ 2 callersFunctioncheck_args
heywhale/LM-Pretrain-Finetune/pretrain/megatron/fused_kernels/layer_norm_cuda.cpp:45
← previousnext →401–500 of 3,531, ranked by callers