MCPcopy Create free account

hub / github.com/SeuTao/TGS-Salt-Identification / functions

Functions190 in github.com/SeuTao/TGS-Salt-Identification

↓ 14 callersFunctionliner_line
(x1, y1, x2, y2)
jigsaw/handcraft_ruls_postprocessing.py:403
↓ 13 callersMethod__init__
(self, channel, reduction=16)
model/model.py:83
↓ 12 callersMethodto_var
(self, x, volatile=False)
train.py:146
↓ 7 callersFunctioncenter_corp
(image, image_size, crop_size)
data_process/transform.py:242
↓ 6 callersFunctioninitialize_pretrained_model
(model, num_classes, settings)
model/senet.py:370
↓ 6 callersFunctionload_test_mask
(test_mask_path)
jigsaw/handcraft_ruls_postprocessing.py:94
↓ 5 callersFunctionload_train_mask
(train_mask_path)
jigsaw/handcraft_ruls_postprocessing.py:60
↓ 4 callersMethod__init__
Parameters ---------- block (nn.Module): Bottleneck class. - For SENet154: SEBottleneck - For SE-ResN
model/senet.py:210
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, groups, reduction, stride=1, downsample_kernel_size=1, downs
model/senet.py:328
↓ 4 callersMethod_make_layer
Stack n bottleneck modules where n is inferred from the depth of the network. Args: block: block type used to construct ResNext
model/ibnnet.py:133
↓ 4 callersFunctionget_foldloader
Build and return data loader.
data_process/data_loader.py:150
↓ 4 callersFunctionmean
nanmean compatible with generators.
loss/lovasz_losses.py:217
↓ 3 callersFunctioncreate_submission
(predictions)
jigsaw/handcraft_ruls_postprocessing.py:16
↓ 3 callersMethodcriterion
(self, logits, label)
train.py:151
↓ 3 callersFunctiondecode_csv
(csv_name)
utils.py:89
↓ 3 callersFunctiondo_center_pad_to_factor
(image, factor=32)
data_process/transform.py:32
↓ 3 callersFunctionflatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
loss/lovasz_losses.py:117
↓ 3 callersFunctionload_img
(img_path)
jigsaw/jigsaw_puzzles.py:47
↓ 3 callersFunctionresize_and_pad
(image, resize_size, factor)
data_process/transform.py:219
↓ 3 callersMethodstep
(self, epoch=None)
loss/cyclic_lr.py:59
↓ 2 callersMethod__init__
(self, planes)
model/ibnnet.py:18
↓ 2 callersFunctioncompute_center_pad
(H,W, factor=32)
data_process/transform.py:14
↓ 2 callersFunctioncompute_random_pad
(H,W, limit=(-4,4), factor=32)
data_process/transform.py:66
↓ 2 callersFunctioncreate_submission
(predictions)
utils.py:135
↓ 2 callersFunctiondecode_csv
(csv_name)
jigsaw/handcraft_ruls_postprocessing.py:81
↓ 2 callersFunctiondo_horizontal_flip
(image)
data_process/transform.py:54
↓ 2 callersFunctionflatten_probas
Flattens predictions in the batch
loss/lovasz_losses.py:194
↓ 2 callersMethodinfer_fold_all_Cycle
(self, fold_index, mode = 'max_map')
train.py:467
↓ 2 callersFunctionjigsaw_folder_dict
(path)
jigsaw/handcraft_ruls_postprocessing.py:627
↓ 2 callersMethodload_pretrained_model
(self, fold_index, mode = None, Cycle=None)
train.py:107
↓ 2 callersFunctionlovasz_grad
Computes gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
loss/lovasz_losses.py:18
↓ 2 callersFunctionlovasz_hinge_flat
Binary Lovasz hinge loss logits: [P] Variable, logits at each prediction (between -\infty and +\infty) labels: [P] Tensor, binary gro
loss/lovasz_losses.py:94
↓ 2 callersFunctionlovasz_softmax_flat
Multi-class Lovasz-Softmax loss probas: [P, C] Variable, class probabilities at each prediction (between 0 and 1) labels: [P] Tensor,
loss/lovasz_losses.py:173
↓ 2 callersFunctionmixed_dice_bce_loss
(output, target, dice_weight=0.2, dice_loss=None, bce_weight=0.9, bce_loss=None,
loss/bce_losses.py:20
↓ 2 callersFunctionpadding
(input, output, img_map, map_img, test_mask)
jigsaw/handcraft_ruls_postprocessing.py:337
↓ 2 callersFunctionread_txt
(txt)
data_process/data_loader.py:8
↓ 2 callersFunctionrun_length_encoding
(x)
utils.py:146
↓ 2 callersFunctionse_resnext50_32x4d
(num_classes=1000, pretrained='imagenet')
model/senet.py:424
↓ 2 callersFunctionsubmission_apply_jigsaw_postprocessing
(submission_path)
jigsaw/handcraft_ruls_postprocessing.py:705
↓ 2 callersMethodval_TTA
(self, fold_index, val_loader, is_load = False, mode=None, Cycle = None)
train.py:314
↓ 1 callersFunctionbuild_full_train_mask
(train_mask_path, img_map, img_map_set)
jigsaw/handcraft_ruls_postprocessing.py:252
↓ 1 callersMethodbuild_model
(self)
train.py:69
↓ 1 callersFunctioncomplete
(se, mat)
jigsaw/jigsaw_puzzles.py:258
↓ 1 callersFunctionconv1x1
(in_, out, bias=True)
model/model.py:17
↓ 1 callersFunctionconv3x3
(in_, out, bias=True)
model/model.py:8
↓ 1 callersFunctionconv5x5
(in_, out, bias=True)
model/model.py:14
↓ 1 callersFunctionconv7x7
(in_, out, bias=True)
model/model.py:11
↓ 1 callersFunctioncreate_csv_lists
(image_dir, printable = True)
utils.py:36
↓ 1 callersFunctioncreate_csv_lists_recursive
(image_dir)
utils.py:48
↓ 1 callersFunctiondecode_csv
(csv_name)
data_process/transform.py:263
↓ 1 callersFunctiondetect_full_vertical_mask
(img)
jigsaw/handcraft_ruls_postprocessing.py:51
↓ 1 callersFunctiondetect_semi_vertical_mask
(img)
jigsaw/handcraft_ruls_postprocessing.py:38
↓ 1 callersFunctiondo_center_pad_to_factor_edgeYreflectX
(image, factor=32)
data_process/transform.py:39
↓ 1 callersFunctiondo_kaggle_metric
(predict, truth, threshold=0.5)
loss/metric.py:8
↓ 1 callersFunctiondo_length_decode
(rle, H, W, fill_value=255)
utils.py:76
↓ 1 callersFunctiondo_length_decode
(rle, H, W, fill_value=255)
data_process/transform.py:250
↓ 1 callersFunctiondo_length_decode
(rle, H, W, fill_value=255)
jigsaw/handcraft_ruls_postprocessing.py:69
↓ 1 callersFunctiondo_random_pad_to_factor2
(image, mask, limit=(-4,4), factor=32)
data_process/transform.py:84
↓ 1 callersFunctiondo_random_pad_to_factor2_edgeYreflectX
(image, mask, limit=(-4,4), factor=32)
data_process/transform.py:93
↓ 1 callersFunctiondo_shift_scale_crop
( image, mask, x0=0, y0=0, x1=1, y1=1 )
data_process/transform.py:189
↓ 1 callersFunctionempty_rule1
(train_mask_path, img_map, img_map_set, map_img)
jigsaw/handcraft_ruls_postprocessing.py:279
↓ 1 callersFunctionempty_rule2
(train_mask_path, test_mask_path, img_map, img_map_set, map_img, map_img_virtual)
jigsaw/handcraft_ruls_postprocessing.py:291
↓ 1 callersFunctionempty_rule_sub
(img_map, map_img, img_map_set, submission_path)
jigsaw/handcraft_ruls_postprocessing.py:682
↓ 1 callersFunctionensemble_models
(root_dir ,model_list , save_name)
predict.py:65
↓ 1 callersMethodfeatures
(self, x)
model/senet.py:348
↓ 1 callersFunctionfind_all_vertical_mask
()
jigsaw/handcraft_ruls_postprocessing.py:99
↓ 1 callersFunctionfor_smooth_rule
()
jigsaw/handcraft_ruls_postprocessing.py:408
↓ 1 callersFunctionfor_smooth_rule_on_test
()
jigsaw/handcraft_ruls_postprocessing.py:541
↓ 1 callersFunctiongen_mos
(se)
jigsaw/jigsaw_puzzles.py:288
↓ 1 callersFunctiongen_mosaic
(ad, ac)
jigsaw/jigsaw_puzzles.py:97
↓ 1 callersMethodget_infer_TTA
(self, fold_index, thres)
train.py:404
↓ 1 callersMethodget_lr
(self)
loss/cyclic_lr.py:51
↓ 1 callersFunctionget_predict_dict
(csv_list)
predict.py:18
↓ 1 callersFunctionget_seed
()
utils.py:202
↓ 1 callersMethodinfer_fold_TTA
(self, fold_index, mode = 'max_map', Cycle = None)
train.py:444
↓ 1 callersMethodlogits
(self, x)
model/senet.py:356
↓ 1 callersFunctionlovasz_hinge
Binary Lovasz hinge loss logits: [B, H, W] Variable, logits at each pixel (between -\infty and +\infty) labels: [B, H, W] Tensor, bin
loss/lovasz_losses.py:78
↓ 1 callersFunctionmain
(config)
predict.py:69
↓ 1 callersFunctionmain
(config, aug_list)
train.py:471
↓ 1 callersFunctionmake_sub_rule_empty
(test_mask_path)
jigsaw/handcraft_ruls_postprocessing.py:313
↓ 1 callersFunctionmake_sub_rule_smoth
(test_mask_path)
jigsaw/handcraft_ruls_postprocessing.py:606
↓ 1 callersFunctionmake_test_files
(test_file_path)
jigsaw/jigsaw_puzzles.py:30
↓ 1 callersFunctionmake_test_list
()
jigsaw/jigsaw_puzzles.py:12
↓ 1 callersFunctionmake_train_files
(train_file_path)
jigsaw/jigsaw_puzzles.py:19
↓ 1 callersFunctionmake_vertical_rule_sub
(jason_type_v1, jason_type_v2, train_mask_path, csv_path)
jigsaw/handcraft_ruls_postprocessing.py:635
↓ 1 callersMethodprint_network
(self, model, name)
train.py:99
↓ 1 callersFunctionresize_and_random_pad
(image, mask, resize_size, factor,limit=(-13, 13))
data_process/transform.py:229
↓ 1 callersFunctionresnext101_ibn_a
Construct ResNeXt-101.
model/ibnnet.py:185
↓ 1 callersFunctionrun_length_encoding
(x)
jigsaw/handcraft_ruls_postprocessing.py:24
↓ 1 callersFunctionsave_csv_images
(csv_path, save_path)
data_process/transform.py:276
↓ 1 callersFunctionsave_train_mask
(train_csv, save_dir)
prepare_data.py:3
↓ 1 callersFunctionse_resnet152
(num_classes=1000, pretrained='imagenet')
model/senet.py:413
↓ 1 callersFunctionse_resnext101_32x4d
(num_classes=1000, pretrained='imagenet')
model/senet.py:435
↓ 1 callersFunctionsemi_vertical_rule
(semi_vertical_mask, img_map, map_img)
jigsaw/handcraft_ruls_postprocessing.py:150
↓ 1 callersFunctionsenet154
(num_classes=1000, pretrained='imagenet')
model/senet.py:382
↓ 1 callersMethodset_mode
(self, mode, fold_index)
data_process/data_loader.py:51
↓ 1 callersFunctionsmooth_rule
(train_mask_path, test_mask_path, vertical_mask, img_map, img_map_set, map_img)
jigsaw/handcraft_ruls_postprocessing.py:366
↓ 1 callersFunctionsmooth_rule_on_test
(test_mask_path, vertical_mask, semi_vertical_mask, img_map, img_map_set, map_img)
jigsaw/handcraft_ruls_postprocessing.py:501
↓ 1 callersFunctionsmoth_rule_sub
(train_mask_path,img_map, map_img, img_map_set, vertical_mask, semi_vertical_mask, submission_path)
jigsaw/handcraft_ruls_postprocessing.py:697
↓ 1 callersFunctionsolve_jigsaw_puzzles
(dir)
jigsaw/jigsaw_puzzles.py:300
next →1–100 of 190, ranked by callers