MCPcopy Create free account

hub / github.com/SonwYang/SLP-cropland-parcel-extraction / functions

Functions151 in github.com/SonwYang/SLP-cropland-parcel-extraction

↓ 14 callersFunctionunet18
(num_classes=3, in_ch=3)
models/unetresnet.py:11
↓ 9 callersMethod__init__
(self, in_channels)
models/SOED.py:13
↓ 8 callersFunctionget_norm_layer
Return a normalization layer Parameters: norm_type (str) -- the name of the normalization layer: batch | instance | none For Ba
models/SOED.py:41
↓ 7 callersMethod__init__
(self, nStack, nHGscales, blockstr, nFeat=32, nModules=1)
Nets.py:231
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:89
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:170
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:247
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:328
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:415
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:506
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:596
↓ 4 callersMethod_conv_block
(self, in_nc, out_nc, norm_layer,num_block=2, kernel_size=3, stride=1, padding=1, bias=Tr
models/SOED.py:685
↓ 4 callersMethod_make_layer
(self, block, nFeat, nModules)
Nets.py:214
↓ 3 callersMethod__init__
(self, in_, out)
models/unetresnet.py:32
↓ 3 callersFunctionadd_edge
(src, dst)
utils/image2graph.py:81
↓ 3 callersFunctioncompute_angle
(v1, v2)
PatchRefinement.py:102
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
Nets.py:6
↓ 2 callersFunctionfind_output_connected_points
(root_dir, save_vertices_indxs, train, img_idx, patch_size, img_filenames)
utils/toolbox.py:158
↓ 2 callersFunctionflip_horizontal_tensor
(batch)
Redundancy_predict_segmentation.py:35
↓ 2 callersMethodforward
(self, x)
Nets.py:285
↓ 2 callersFunctiongenerate_graph_patch
(pred)
utils/toolbox.py:107
↓ 2 callersFunctioninput_and_output
args: pic_path : the picture you want to predict model : the model you want to predict note: step one : generate s
Redundancy_predict.py:79
↓ 2 callersFunctionmake_gt
Make the ground-truth for each landmark. img: the original color image labels: the json labels with the Gaussian centers {'x': x, 'y': y}
utils/toolbox.py:59
↓ 2 callersFunctionmkdir
(path)
Redundancy_predict.py:278
↓ 2 callersFunctionmkdir
(path)
main.py:42
↓ 2 callersFunctionpredict
(cfg)
Redundancy_predict.py:283
↓ 2 callersFunctionpredict_seg
(cfg)
Redundancy_predict_segmentation.py:263
↓ 2 callersFunctionredundancy_crop2
(img, cfg)
Redundancy_predict_segmentation.py:188
↓ 1 callersFunctionGetPredInDirectionBreakPoint
(centerpoint, breakPointList, predPoint,
PatchRefinement.py:31
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:99
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:257
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:338
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:425
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:516
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:606
↓ 1 callersMethod_centerline_forward
(self, x)
models/SOED.py:695
↓ 1 callersMethod_edge_forward
predict road edge :param: x, [image tensor, predicted segmentation tensor], [N, C+1, H, W]
models/SOED.py:180
↓ 1 callersMethod_make_layer
(self, block, nFeat, nModules)
Nets.py:278
↓ 1 callersMethod_make_layer
(self, block, nFeat, nModules)
Nets.py:379
↓ 1 callersFunctionbuild_loader
(cfg)
dataset.py:71
↓ 1 callersFunctioncheckCross
(p1, p2, skeleton)
PatchRefinement.py:48
↓ 1 callersFunctionconv3x3
(in_, out)
models/SOED.py:25
↓ 1 callersFunctionconv3x3
(in_, out)
models/unetresnet.py:27
↓ 1 callersFunctiondetectCenterDirection
(img, centerPoint)
PatchRefinement.py:182
↓ 1 callersFunctiondetect_breakpoints
(img)
PatchRefinement.py:122
↓ 1 callersFunctiondetect_breakpoints_and_direction2
(img)
PatchRefinement.py:158
↓ 1 callersFunctiondistance
(a, b)
utils/image2graph.py:16
↓ 1 callersFunctionflip_horizontal_tensor
(batch)
Redundancy_predict.py:38
↓ 1 callersFunctionflip_horizontal_tensor_cpu
(batch)
Redundancy_predict.py:48
↓ 1 callersFunctionget_dataset_loaders
()
Redundancy_predict_segmentation.py:195
↓ 1 callersFunctionget_dataset_loaders
()
Redundancy_predict.py:215
↓ 1 callersFunctionget_labels
Load the mapping that associates pascal classes with label colors Returns: np.ndarray with dimensions (2, 3)
Redundancy_predict_segmentation.py:207
↓ 1 callersFunctionget_labels
Load the mapping that associates pascal classes with label colors Returns: np.ndarray with dimensions (2, 3)
Redundancy_predict.py:227
↓ 1 callersFunctionimage_normalization
This is a typical image normalization function where the minimum and maximum of the image is needed source: https://en.wikipedia.org/wiki/Norm
Redundancy_predict_segmentation.py:58
↓ 1 callersFunctionimage_normalization
This is a typical image normalization function where the minimum and maximum of the image is needed source: https://en.wikipedia.org/wiki/Norm
Redundancy_predict.py:59
↓ 1 callersFunctioninput_and_output
args: pic_path : the picture you want to predict model : the model you want to predict note: step one : generate s
Redundancy_predict_segmentation.py:78
↓ 1 callersFunctionmake_gaussian
Make a square gaussian kernel. size: is the dimensions of the output gaussian sigma: is full-width-half-maximum, which can be thought of
utils/toolbox.py:39
↓ 1 callersMethodmake_img_gt_pair
Make the image-ground-truth pair
utils/toolbox.py:379
↓ 1 callersFunctionmkdir
(path)
PatchRefinement.py:244
↓ 1 callersFunctionmkdir
(path)
postProcess.py:42
↓ 1 callersFunctionmkdir
(path)
Redundancy_predict_segmentation.py:258
↓ 1 callersFunctionpoint_line_distance
(point, start, end)
utils/image2graph.py:20
↓ 1 callersFunctionpolygonize
(imagePath, raster_path, forest_shp_path)
postProcess.py:20
↓ 1 callersFunctionpolygonize
(imagePath, raster_path, forest_shp_path)
main.py:20
↓ 1 callersFunctionrdp
Reduces a series of points to a simplified version that loses detail, but maintains the general shape of the series.
utils/image2graph.py:33
↓ 1 callersFunctionredundancy_crop
(img, i, j, targetSize, cfg)
Redundancy_predict_segmentation.py:180
↓ 1 callersFunctionredundancy_crop
(img, i, j, targetSize, cfg)
Redundancy_predict.py:200
↓ 1 callersFunctionredundancy_crop2
(img, cfg)
Redundancy_predict.py:208
↓ 1 callersFunctiontxt2mat
(idx)
utils/toolbox.py:79
Method__call__
(self, sample)
utils/toolbox.py:453
Method__call__
(self, sample)
utils/toolbox.py:477
Method__call__
(self, sample)
utils/toolbox.py:493
Method__call__
(self, sample)
utils/toolbox.py:532
Method__getitem__
(self, idx)
Nets.py:314
Method__getitem__
(self, idx)
dataset.py:52
Method__getitem__
(self, idx)
utils/toolbox.py:369
Method__init__
(self, numIn, numOut, stride=1, downsample=None)
Nets.py:19
Method__init__
(self, numIn, numOut, stride=1, downsample=None)
Nets.py:51
Method__init__
(self, numIn, numOut, stride=1, downsample=None)
Nets.py:95
Method__init__
(self, numIn, numOut, stride=1, downsample=None)
Nets.py:145
Method__init__
(self, numHGscales, block, nFeat=32, nModules=1)
Nets.py:194
Method__init__
(self, *args)
Nets.py:307
Method__init__
(self, nStack, nHGscales, blockstr, nFeat=32, nModules=1)
Nets.py:332
Method__init__
(self, root, mode='train', is_ndvi=False)
dataset.py:40
Method__init__
Loads image to label pairs for tool pose estimation db_elements: the names of the video files db_root_dir: dataset directory with subf
utils/toolbox.py:332
Method__init__
(self, rots=(-30, 30), scales=(.75, 1.25))
utils/toolbox.py:449
Method__init__
(self, mean=[171.0773/255, 98.4333/255, 58.8811/255], std=[1.0, 1.0, 1.0])
utils/toolbox.py:528
Method__init__
(self, in_, out)
models/SOED.py:30
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:63
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:148
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:224
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:302
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:389
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:478
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:568
Method__init__
(self, num_classes=3, in_ch=3, out_nc=1, num_filters=64, norm='batch')
models/SOED.py:659
Method__init__
(self, in_channels, middle_channels, out_channels, is_deconv=True)
models/unetresnet.py:44
Method__init__
(self, encoder_depth=34, num_classes=3, in_channels=3, num_filters=32, dropout_2d=0.2, pretra
models/unetresnet.py:94
Method__init__
(self, encoder_depth=34, num_classes=3, in_channels=3, num_filters=32, dropout_2d=0.2, pretra
models/unetresnet.py:185
Method__iter__
(self)
Nets.py:322
next →1–100 of 151, ranked by callers