MCPcopy Create free account

hub / github.com/SeuTao/kaggle-competition-solutions / functions

Functions1,192 in github.com/SeuTao/kaggle-competition-solutions

↓ 3 callersMethodbuild_epoch
(self, cut=False)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/datasets/kitti.py:179
↓ 3 callersFunctioncompute_kaggle_metric
(predict, coupling_value, coupling_type, num_type=8)
Predicting_Molecular_Properties/src/nn_utils.py:119
↓ 3 callersFunctionconv1x1
1x1 convolution
CVPR19_iMetCollection_7th_solution/models/resnet_sge.py:43
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
Kaggle_Airbus_8th_solution/model/resnet_ibn_b.py:18
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
CVPR19_iMetCollection_7th_solution/models/resnet_sge.py:37
↓ 3 callersFunctionevaluate
(model, val_loader, block, args, epoch)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/sdcnet/main.py:373
↓ 3 callersFunctionexpand_path
(p)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/dataset/dataset.py:29
↓ 3 callersMethodfeatures
(self, input)
NIPS19_Recursion_CellSignal_2nd_solution/net/imagenet_pretrain_model/xception.py:171
↓ 3 callersFunctionfind_root
(pointa)
Kaggle_Airbus_8th_solution/postprocess.py:116
↓ 3 callersMethodflush
(self)
Predicting_Molecular_Properties/src/nn_utils.py:45
↓ 3 callersFunctiongenerate_dataset_loader_cls_seg
(df_all, c_train, train_transform, train_batch_size, c_val, val_transform, val_batch_size, workers)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_cls/dataset/dataset.py:189
↓ 3 callersFunctiongenerate_transforms
(image_size)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_cls/dataset/dataset.py:19
↓ 3 callersFunctionget_atomic_charge
(atom, atomic_valence_electrons, BO_valence)
Predicting_Molecular_Properties/src/xyz2mol.py:96
↓ 3 callersFunctionget_data
(img1_dir, img2_dir, img3_dir, gt2_color_dir, gt2_labelid_dir)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/sdcnet/sdc_aug.py:36
↓ 3 callersMethodinfer_one_img_from_path_8
(self, path)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU_non-empty.py:375
↓ 3 callersMethodinfer_one_img_from_path_8
(self, path)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU_DeepSupervision.py:486
↓ 3 callersMethodinfer_one_img_from_path_8
(self, path)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU.py:322
↓ 3 callersFunctionload_model
(model, optimizer, block, args)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/sdcnet/main.py:260
↓ 3 callersFunctionmake_dataset
Assemble list of images + mask files fine - modes: train/val/test/trainval cv:0,1,2 coarse - modes: train/val cv:n
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/datasets/cityscapes.py:138
↓ 3 callersFunctionmake_loader
(df: pd.DataFrame, image_transform, name='train')
CVPR19_iMetCollection_7th_solution/main_apex.py:64
↓ 3 callersFunctionmake_loader
(df: pd.DataFrame, image_transform, name='train')
CVPR19_iMetCollection_7th_solution/main-mixup.py:63
↓ 3 callersFunctionmake_loader
(df: pd.DataFrame, image_transform, name='train')
CVPR19_iMetCollection_7th_solution/main.py:65
↓ 3 callersFunctionmetric
(logit, truth, is_average=True, is_prob = False, topn =5)
NIPS19_Recursion_CellSignal_2nd_solution/utils.py:136
↓ 3 callersFunctionone_hot_encoding
(x, set)
Predicting_Molecular_Properties/src/preparing.py:39
↓ 3 callersFunctionpreprocess_inputs
(df, cols=['sequence', 'structure', 'predicted_loop_type'])
stanford-covid-vaccine/GCN.py:215
↓ 3 callersFunctionrle2mask
(rle, width, height)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/dataset/dataset.py:43
↓ 3 callersFunctionrle2mask
(rle, width, height)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_cls/dataset/dataset.py:50
↓ 3 callersFunctionsave
(list_or_dict,name)
NIPS19_Recursion_CellSignal_2nd_solution/utils.py:111
↓ 3 callersFunctionse_resnext50_32x4d
(num_classes=1000, pretrained='imagenet')
Kaggle_Airbus_8th_solution/model/senet.py:424
↓ 3 callersMethodstep
(self, epoch=None)
NIPS19_Recursion_CellSignal_2nd_solution/loss/cyclic_lr.py:59
↓ 3 callersFunctiontrain
(args, model: nn.Module, criterion, *, params, train_loader, valid_loader, init_optimizer, use_cuda,
CVPR19_iMetCollection_7th_solution/main_apex.py:216
↓ 3 callersFunctiontrain
(args, model: nn.Module, criterion, *, params, train_loader, valid_loader, init_optimizer, use_cuda,
CVPR19_iMetCollection_7th_solution/main-mixup.py:181
↓ 3 callersMethodval_NoTTA
(self, fold_index, is_load, val_loader)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU_non-empty.py:296
↓ 2 callersFunctionBO_is_OK
(BO, AC, charge, DU, atomic_valence_electrons, atomicNumList, charged_fragments)
Predicting_Molecular_Properties/src/xyz2mol.py:70
↓ 2 callersMethod__init__
(self, classes, ignore_index=255, weights=None, upper_bound=1.0, norm=False)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/loss.py:115
↓ 2 callersMethod__init__
(self, num_classes, trunk='seresnext-50', criterion=None, variant='D', skip='m1', skip_num=48
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/network/deepv3.py:103
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/network/Resnet.py:140
↓ 2 callersMethod__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0, amsgrad=False)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_cls/tuils/lrs_scheduler.py:199
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000)
Kaggle_Airbus_8th_solution/model/resnet_ibn_b.py:102
↓ 2 callersMethod__init__
(self, planes)
Kaggle_Airbus_8th_solution/model/resnext_ibn_a.py:18
↓ 2 callersMethod__init__
(self, pairs)
NIPS19_Recursion_CellSignal_2nd_solution/loss/rate.py:40
↓ 2 callersMethod__init__
(self,in_filters,out_filters,reps,strides=1,start_with_relu=True,grow_first=True)
CVPR19_iMetCollection_7th_solution/models/xception.py:64
↓ 2 callersMethod__init__
(self, in_channels, out_channels, kernel_size, alpha_in=0.5, alpha_out=0.5, stride=1, padding=0, dilation=1,
CVPR19_iMetCollection_7th_solution/models/octconv.py:48
↓ 2 callersMethod__init__
(self, n_dft=512, n_hop=None, padding='same', power_spectrogram=2.0, return_decibel_spectrogr
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/time_frequency.py:147
↓ 2 callersFunction_find_best_coefficients
(predicts, coefficients, alpha=0.001, iterations=100)
NIPS19_Recursion_CellSignal_2nd_solution/ensemble.py:49
↓ 2 callersFunction_get_labels_distribution
(predicts, coefficients)
NIPS19_Recursion_CellSignal_2nd_solution/ensemble.py:35
↓ 2 callersFunction_make_mask
(argsorted, top_n: int)
CVPR19_iMetCollection_7th_solution/main_apex.py:378
↓ 2 callersFunction_make_mask
(argsorted, top_n: int)
CVPR19_iMetCollection_7th_solution/main-mixup.py:337
↓ 2 callersFunction_make_mask
(argsorted, top_n: int)
CVPR19_iMetCollection_7th_solution/main.py:376
↓ 2 callersMethod_pad
(self, img, mask)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/transforms/joint_transforms.py:382
↓ 2 callersMethod_pad
(self, img, mask)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/transforms/joint_transforms.py:434
↓ 2 callersFunction_reduce_loss
(loss)
CVPR19_iMetCollection_7th_solution/main_apex.py:385
↓ 2 callersFunction_reduce_loss
(loss)
CVPR19_iMetCollection_7th_solution/main-mixup.py:345
↓ 2 callersFunction_reduce_loss
(loss)
CVPR19_iMetCollection_7th_solution/main.py:383
↓ 2 callersFunction_smooth
(ys, indices)
CVPR19_iMetCollection_7th_solution/utils.py:160
↓ 2 callersMethod_spectrogram_mono
x.shape : (None, 1, len_src), returns 2D batch of a mono power-spectrogram
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/time_frequency.py:234
↓ 2 callersFunctionamplitude_to_decibel
[K] Convert (linear) amplitude to decibel (log10(x)). x: Keras *batch* tensor or variable. It has to be batch because of sample-wise `K.max()`.
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/time_frequency.py:24
↓ 2 callersFunctionassert_and_infer_cfg
Call this function in your script after you have finished setting all cfg values that are necessary (e.g., merging a config from a file, merging
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/config.py:86
↓ 2 callersMethodaugment
(self,data)
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/utils.py:79
↓ 2 callersFunctionbalance_plate_probability_training
(preds1, ids, a_dict, a_index_dict, iters = 3000, is_show = True)
NIPS19_Recursion_CellSignal_2nd_solution/ensemble.py:206
↓ 2 callersFunctionbce_loss
(input, target, OHEM_percent=None)
NIPS19_Recursion_CellSignal_2nd_solution/loss/loss.py:112
↓ 2 callersFunctionbinarize_prediction
Return matrix of 0/1 predictions, same shape as probabilities.
CVPR19_iMetCollection_7th_solution/main.py:364
↓ 2 callersFunctioncalc_dice_all
(preds_m, ys)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/B_train_model.py:72
↓ 2 callersFunctioncalc_dice_all
(preds_m, ys)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/A_train_model.py:73
↓ 2 callersMethodcalculate_weights
Calculate weights of classes based on the training crop
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/loss.py:54
↓ 2 callersMethodcalculate_weights
Calculate weights of the classes based on training crop
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/loss.py:127
↓ 2 callersFunctioncolorize_mask
Colorize a segmentation mask.
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/datasets/cityscapes.py:34
↓ 2 callersFunctioncompute_ious
(gt, predictions)
Kaggle_Airbus_8th_solution/evaluation/metrics.py:41
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/network/Resnet.py:53
↓ 2 callersFunctionconv3x3
3x3 convolution with padding
Kaggle_Airbus_8th_solution/model/resnet_ibn_a.py:18
↓ 2 callersFunctionconv3x3
(in_planes, out_planes, stride=1)
Kaggle_Airbus_8th_solution/model/se_resnet_ibn_a.py:8
↓ 2 callersFunctioncreate_net
(net_cls, pretrained: bool)
CVPR19_iMetCollection_7th_solution/models/models.py:25
↓ 2 callersFunctioncustomsoftmax
Custom Softmax
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/loss.py:99
↓ 2 callersMethoddenorm_output
(self, x)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU_non-empty.py:173
↓ 2 callersMethoddenorm_output
(self, x)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU_DeepSupervision.py:175
↓ 2 callersMethoddenorm_output
(self, x)
Kaggle_Airbus_8th_solution/main_5FoldCV_multiGPU.py:147
↓ 2 callersFunctiondo_train
(net, train_loader, optimizer, device, type=None)
Predicting_Molecular_Properties/src/nn_utils.py:325
↓ 2 callersFunctiondo_valid
(net, valid_loader, device)
Predicting_Molecular_Properties/src/nn_utils.py:217
↓ 2 callersFunctiondo_valid_Type
(net, valid_loader, device, type)
Predicting_Molecular_Properties/src/nn_utils.py:278
↓ 2 callersFunctionfast_hist
(label_pred, label_true, num_classes)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/utils/misc.py:60
↓ 2 callersMethodfeatures
(self, x)
CVPR19_iMetCollection_7th_solution/models/models.py:470
↓ 2 callersMethodflush
(self)
NIPS19_Recursion_CellSignal_2nd_solution/include.py:110
↓ 2 callersFunctionfocal_loss
(input, target, OHEM_percent=None)
NIPS19_Recursion_CellSignal_2nd_solution/loss/loss.py:97
↓ 2 callersFunctionforgiving_state_restore
Handle partial loading when some tensors don't match up in size. Because we want to use models that were trained off a different number o
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/optimizer.py:82
↓ 2 callersFunctionforward_only
(inputs_gpu, model)
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/sdcnet/main.py:328
↓ 2 callersMethodfresh_params
(self)
CVPR19_iMetCollection_7th_solution/models/models.py:50
↓ 2 callersFunctionfunc
(pixel_cls, link_cls)
Kaggle_Airbus_8th_solution/postprocess.py:106
↓ 2 callersFunctiongenerate_dataset_loader_cls_seg
(df_all, c_train, train_transform, train_batch_size, c_val, val_transform, val_batch_size, workers)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/dataset/dataset.py:218
↓ 2 callersFunctiongetUA
(maxValence_list, valence_list)
Predicting_Molecular_Properties/src/xyz2mol.py:34
↓ 2 callersFunctionget_UA_pairs
(UA, AC, quick)
Predicting_Molecular_Properties/src/xyz2mol.py:222
↓ 2 callersFunctionget_X
(x_list)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_cls/stacking.py:108
↓ 2 callersFunctionget_atomicNumList
(atomic_symbols)
Predicting_Molecular_Properties/src/xyz2mol.py:337
↓ 2 callersMethodget_config
(self)
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/time_frequency.py:223
↓ 2 callersFunctionget_global_feat
(x,num_steps)
DCASE19_Freesound_Audio_Tagging2019_1st_solution/code/utils.py:109
↓ 2 callersFunctionget_iou
(img_true, img_pred)
Kaggle_Airbus_8th_solution/metric.py:46
↓ 2 callersMethodget_lr
(self)
SIIM19_Pneumothorax_Segmentation_2nd_solution/src_unet_seg/tuils/lrs_scheduler.py:47
↓ 2 callersFunctionget_segmentations
(labeled)
Kaggle_Airbus_8th_solution/evaluation/metrics.py:31
↓ 2 callersFunctionget_test_id
(cell)
NIPS19_Recursion_CellSignal_2nd_solution/ensemble.py:539
↓ 2 callersFunctioninitialize_pretrained_model
Initialize Pretrain Model Information, Dowload weights, load weights, set variables
SIIM19_Pneumothorax_Segmentation_2nd_solution/semantic_segmentation/network/SEresnext.py:365
↓ 2 callersFunctioniou
(img_true, img_pred)
Kaggle_Airbus_8th_solution/metric.py:87
← previousnext →101–200 of 1,192, ranked by callers