Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DLLXW/data-science-competition
/ functions
Functions
3,531 in github.com/DLLXW/data-science-competition
⨍
Functions
3,531
◇
Types & classes
612
↳
Endpoints
4
↓ 2 callers
Function
check_font
(font='Arial.ttf', size=10)
else/Chick-Counting/detect/utils/plots.py:51
↓ 2 callers
Method
check_index
(self, i)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:158
↓ 2 callers
Function
check_online
()
else/Chick-Counting/detect/utils/general.py:191
↓ 2 callers
Function
check_version
(current='0.0.0', minimum='0.0.0', name='version ', pinned=False)
else/Chick-Counting/detect/utils/general.py:226
↓ 2 callers
Function
check_wandb_dataset
(data_file)
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:44
↓ 2 callers
Function
clip_coords
(boxes, img_shape)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:189
↓ 2 callers
Method
clip_grad_norm
(self, clip_grad)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:89
↓ 2 callers
Function
code
(dtype)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:104
↓ 2 callers
Function
colorEncode
(labelmap, colors, mode='RGB')
else/swin_unet_code_local/utils/help.py:46
↓ 2 callers
Function
compute_ngram_freq_sorted
(args, ngrams)
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/filter_ngrams.py:285
↓ 2 callers
Function
concat_partitions
(partitions_)
heywhale/LM-Pretrain-Finetune/pretrain/tools/merge_mp_partitions.py:66
↓ 2 callers
Method
concatenate_docs
(self, docs_buffer)
else/天马杯--AI+z智能质检/code/uer/utils/data.py:461
↓ 2 callers
Function
conversion_helper
Apply conversion to val. Recursively apply conversion if `val` #is a nested tuple/list structure.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/module.py:114
↓ 2 callers
Function
convert
:param xml_list: 需要转换的XML文件列表 :param xml_dir: XML的存储文件夹 :param json_file: 导出json文件的路径 :return: None
tianchi/2021-Guangdong-Competition/voc_to_coco.py:42
↓ 2 callers
Function
convert
:param xml_list: 需要转换的XML文件列表 :param xml_dir: XML的存储文件夹 :param json_file: 导出json文件的路径 :return: None
else/Chick-Counting/detect/qyl/convert_to_coco.py:15
↓ 2 callers
Function
convert_annotation
(name,mode='train')
else/Chick-Counting/detect/qyl/make_label.py:37
↓ 2 callers
Function
convert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:139
↓ 2 callers
Function
copy_attr
(a, b, include=(), exclude=())
else/Chick-Counting/detect/utils/torch_utils.py:277
↓ 2 callers
Function
count_lines
(file_path)
else/天马杯--AI+z智能质检/code/uer/utils/misc.py:6
↓ 2 callers
Method
count_zeros
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:94
↓ 2 callers
Method
create_dataset_table
Create and return W&B artifact containing W&B Table of the dataset. arguments: dataset (LoadImagesAndLabels) -- instance of
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:374
↓ 2 callers
Function
create_masked_lm_predictions
Creates the predictions for the masked LM objective. Note: Tokens here are vocab ids and not text tokens.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:181
↓ 2 callers
Method
cut_sent
(self, para)
heywhale/LM-Pretrain-Finetune/pretrain/tools/preprocess_data.py:118
↓ 2 callers
Function
de_parallel
(model)
else/Chick-Counting/detect/utils/torch_utils.py:151
↓ 2 callers
Function
dis_error_normal
(paths)
dc/one-city编程大赛/bert/code/utils/data_process.py:9
↓ 2 callers
Method
download_dataset_artifact
download the model checkpoint artifact if the path starts with WANDB_ARTIFACT_PREFIX arguments: path -- path of the dataset
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:258
↓ 2 callers
Function
download_one
(url, dir)
else/Chick-Counting/detect/utils/general.py:394
↓ 2 callers
Function
encode_pieces
turn sentences into word pieces.
else/天马杯--AI+z智能质检/code/uer/utils/tokenizer.py:95
↓ 2 callers
Function
ensure_divisibility
Ensure that numerator is divisible by the denominator.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/utils.py:20
↓ 2 callers
Function
evaluate
(args, dataset, examples)
else/天马杯--AI+z智能质检/code/run_cmrc.py:293
↓ 2 callers
Function
evaluate
(args, dataset)
else/天马杯--AI+z智能质检/code/run_dbqa.py:55
↓ 2 callers
Method
evaluate
(self,df)
else/wechat2021/lgb.py:88
↓ 2 callers
Method
evaluate
(self, qa_data, split)
heywhale/LM-Pretrain-Finetune/pretrain/tasks/orqa/evaluate_utils.py:118
↓ 2 callers
Function
exif_transpose
Transpose a PIL image accordingly if it has an EXIF Orientation tag. Inplace version of https://github.com/python-pillow/Pillow/blob/master/s
else/Chick-Counting/detect/utils/datasets.py:69
↓ 2 callers
Method
extract_feat
(self, x)
huawei/DIGIX2020校园大赛图像检索/modeling/models.py:77
↓ 2 callers
Function
filter_col_by_nan
(df, ratio=0.05)
datafountain/CCF2020-非法集资/utils/get_frt.py:14
↓ 2 callers
Method
finalize
(self, index_file)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/indexed_dataset.py:314
↓ 2 callers
Method
finish_run
Log metrics if any and finish the current W&B run
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:502
↓ 2 callers
Method
fit
(self)
else/招商银行2021FinTech/lgb_day_timeSeries.py:136
↓ 2 callers
Method
fit
(self)
else/招商银行2021FinTech/lgb_half_hour_timeSeries.py:152
↓ 2 callers
Function
flip
(x, dim)
else/天马杯--AI+z智能质检/code/uer/utils/misc.py:17
↓ 2 callers
Method
forward
(self, x)
tianchi/CVPR2021-PIC-Challenge/networks/resnet.py:227
↓ 2 callers
Method
forward
Run a forward pass for each of the models and return the respective embeddings.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/realm_model.py:66
↓ 2 callers
Method
forward_features
(self, x)
else/swin_unet_code_local/networks/swin_transformer_unet_skip_expand_decoder_sys.py:695
↓ 2 callers
Method
forward_once
(self, x, profile=False)
tianchi/2021-Guangdong-Competition/yolov5/models/yolo.py:98
↓ 2 callers
Function
forward_step
(model, tokens, position_ids, attention_mask, tokentype_ids, layer_past=None, get_key_value=N
heywhale/LM-Pretrain-Finetune/pretrain/megatron/text_generation_utils.py:429
↓ 2 callers
Function
forward_step_helper
Helper method to run forward step with model split into chunks (run set_virtual_pipeline_model_parallel_rank() before calling forward_
heywhale/LM-Pretrain-Finetune/pretrain/megatron/schedules.py:197
↓ 2 callers
Method
fuse
(self)
tianchi/2021-Guangdong-Competition/yolov5/models/yolo.py:144
↓ 2 callers
Method
generate
Take a conditioning sequence of indices idx (LongTensor of shape (b,t)) and complete the sequence max_new_tokens times, feeding the p
heywhale/LM-Pretrain-Finetune/GPT-2/model.py:347
↓ 2 callers
Method
generate_sketch_matrix
Return a sparse matrix used for tensor sketch operation in compact bilinear pooling Args: rand_h: an 1D numpy arr
huawei/DIGIX2020校园大赛图像检索/modeling/pooling.py:99
↓ 2 callers
Function
get_adlr_autoresume
ADLR autoresume object. It can be None so no need to check if it is initialized.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/global_vars.py:67
↓ 2 callers
Function
get_answers
(dataset, start_prob_all, end_prob_all)
else/天马杯--AI+z智能质检/code/run_cmrc.py:260
↓ 2 callers
Function
get_config
Get a yacs CfgNode object with default values.
else/swin_unet_code_local/config.py:222
↓ 2 callers
Function
get_config
Get a yacs CfgNode object with default values.
else/satellite_image_segmentation/swin_unet_code/config.py:222
↓ 2 callers
Function
get_data
(df)
tianchi/高德地图/Xception_Lgb_roundB.py:84
↓ 2 callers
Function
get_data_parallel_group
Get the data parallel group the caller rank belongs to.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:201
↓ 2 callers
Function
get_datasets_weights_and_num_samples
(data_prefix, train_valid_test_num_samples)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:44
↓ 2 callers
Method
get_decoder
(self)
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:830
↓ 2 callers
Method
get_decoder
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:878
↓ 2 callers
Method
get_encoder
(self)
heywhale/LM-Pretrain-Finetune/finetune/modeling_cpt.py:819
↓ 2 callers
Method
get_encoder
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/model/modeling_cpt.py:867
↓ 2 callers
Function
get_featurs
(model, testloader,batchsize=10)
huawei/DIGIX2020校园大赛图像检索/submit.py:50
↓ 2 callers
Function
get_group_world_size_rank
()
heywhale/LM-Pretrain-Finetune/pretrain/pretrain_ict.py:43
↓ 2 callers
Function
get_hash
(paths)
else/Chick-Counting/detect/utils/datasets.py:46
↓ 2 callers
Function
get_inference_transforms
(input_size)
else/biendata-rubbish/infer.py:27
↓ 2 callers
Function
get_inference_transforms
(img_size)
kaggle/Cassava Leaf Disease Classification/test.py:107
↓ 2 callers
Function
get_keyFrame
(mode='train')
tianchi/高德地图/Xception_Lgb_roundB.py:14
↓ 2 callers
Method
get_label
(self,item)
heywhale/gaiic2022/code/qyl_online/dataset_bert.py:279
↓ 2 callers
Function
get_new_builder
(key_name, i)
heywhale/LM-Pretrain-Finetune/pretrain/tools/preprocess_data.py:288
↓ 2 callers
Method
get_num_params
Return the number of parameters in the model. For non-embedding count (default), the position embeddings get subtracted. The
heywhale/LM-Pretrain-Finetune/GPT-2/model.py:157
↓ 2 callers
Function
get_open_retrieval_wiki_dataset
()
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/orqa_wiki_dataset.py:28
↓ 2 callers
Function
get_output_h
(index)
heywhale/LM-Pretrain-Finetune/pretrain/tools/json2text.py:85
↓ 2 callers
Function
get_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
heywhale/LM-Pretrain-Finetune/pretrain/megatron/tokenizer/gpt2_tokenization.py:79
↓ 2 callers
Method
get_parameters
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/optimizer/optimizer.py:81
↓ 2 callers
Function
get_pipeline_model_parallel_group
Get the pipeline model parallel group the caller rank belongs to.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:194
↓ 2 callers
Function
get_run_info
(run_path)
else/Chick-Counting/detect/utils/loggers/wandb/wandb_utils.py:60
↓ 2 callers
Method
get_start_end_idx
(self)
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/data_samplers.py:92
↓ 2 callers
Function
get_target_sample_len
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/helpers.cpp:188
↓ 2 callers
Function
get_tensor_model_parallel_src_rank
Calculate the global rank corresponding to the first local rank in the tensor model parallel group.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:311
↓ 2 callers
Function
get_test_transforms
(mode)
tianchi/高德地图/classfiyForGaoDe/inferConcat.py:19
↓ 2 callers
Function
get_train_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_triple.py:117
↓ 2 callers
Function
get_train_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_siamese.py:115
↓ 2 callers
Function
get_train_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_ct.py:133
↓ 2 callers
Function
get_train_transforms
(img_size=512)
kaggle/shopee/utils-shopee/augmentations.py:5
↓ 2 callers
Function
get_train_valid_test_split_
Get dataset splits from comma or '/' separated string list.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/data/dataset_utils.py:624
↓ 2 callers
Function
get_valid_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_triple.py:129
↓ 2 callers
Function
get_valid_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_siamese.py:127
↓ 2 callers
Function
get_valid_transforms
(height_size,width_size)
tianchi/2022CVPR-petBiometricChalenge/train_ct.py:146
↓ 2 callers
Function
get_valid_transforms
(height_size,width_size)
else/data_lake/car/utils/dataset_albu.py:45
↓ 2 callers
Function
get_valid_transforms
(height_size,width_size)
else/data_lake/person/utils/dataset_albu.py:44
↓ 2 callers
Function
get_virtual_pipeline_model_parallel_rank
Return the virtual pipeline-parallel rank.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:293
↓ 2 callers
Function
get_virtual_pipeline_model_parallel_world_size
Return the virtual pipeline-parallel world size.
heywhale/LM-Pretrain-Finetune/pretrain/megatron/mpu/initialize.py:305
↓ 2 callers
Function
get_words
(text)
heywhale/LM-Pretrain-Finetune/pretrain/tools/openwebtext/filter_ngrams.py:33
↓ 2 callers
Function
hist2d
(x, y, n=100)
tianchi/2021-Guangdong-Competition/yolov5/utils/utils.py:1114
↓ 2 callers
Function
huawei_seg
(imgs,segmentation_module)
huawei/Huawei-cloud2020人工智能创新应用大赛--图像分割/seg-pytorch/在线部署/infer_single_image.py:21
↓ 2 callers
Function
inference
(img_dir)
tianchi/2021全国数字生态创新大赛-高分辨率遥感影像分割/infer.py:71
↓ 2 callers
Function
inference
(img_dir)
tianchi/ImageForgeryLocationChallenge/infer.py:62
↓ 2 callers
Function
inference
(img_dir)
else/swin_unet_code_local/infer.py:63
↓ 2 callers
Function
inference
(model, data_loader, device)
else/data_lake/car/predict.py:45
↓ 2 callers
Function
inference_one_epoch
(model, data_loader, device)
kaggle/Cassava Leaf Disease Classification/test.py:133
← previous
next →
501–600 of 3,531, ranked by callers