Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DingLei14/WiCoNet
/ functions
Functions
180 in github.com/DingLei14/WiCoNet
⨍
Functions
180
◇
Types & classes
21
↓ 34 callers
Method
update
(self, val, count=1, weight=1)
utils/utils.py:130
↓ 12 callers
Method
average
(self)
utils/utils.py:145
↓ 10 callers
Function
accuracy
(pred, label)
utils/utils.py:171
↓ 9 callers
Method
__init__
(self)
models/WiCoNet.py:48
↓ 6 callers
Function
crop_around_center
Given a NumPy / OpenCV 2 image, crops it to the given width and height, around it's centre point
utils/transform.py:621
↓ 6 callers
Function
rotate_image
Rotates an OpenCV 2 / NumPy image about it's centre by the given angle (in degrees). The returned image will be large enough to hold the enti
utils/transform.py:78
↓ 4 callers
Function
CaclTP
(imPred, imLab, numClass)
utils/utils.py:209
↓ 4 callers
Function
_pad
(x, crop_size)
utils/misc.py:120
↓ 4 callers
Function
conv1x1
(in_planes, out_planes)
models/WiCoNet.py:17
↓ 4 callers
Function
create_crops
(img, size)
utils/load.py:238
↓ 4 callers
Function
create_crops_1C
(img, size)
utils/load.py:275
↓ 3 callers
Method
__init__
(self, in_channels=3, num_classes=7, pretrained=True)
models/FCN_8s.py:52
↓ 3 callers
Function
get_square
Extract a left or a right square from ndarray shape : (H, W, C))
utils/utils.py:25
↓ 3 callers
Function
largest_rotated_rect
Given a rectangle of size wxh that has been rotated by 'angle' (in radians), computes the width and height of the largest possible axis-a
utils/transform.py:643
↓ 3 callers
Function
normalize_image
(im)
datasets/GID_WiCo.py:23
↓ 3 callers
Function
normalize_image
(im)
datasets/PD_WiCo.py:21
↓ 3 callers
Function
normalize_image
(im)
datasets/BLU_WiCo.py:16
↓ 3 callers
Function
rescale_image
(img, scale=8, order=0)
datasets/GID_WiCo.py:97
↓ 3 callers
Function
rescale_image
(img, scale=8, order=0)
datasets/BLU_WiCo.py:87
↓ 3 callers
Method
step
(self)
utils/misc.py:75
↓ 3 callers
Method
transpose_for_scores
(self, x)
models/WiCoNet.py:128
↓ 2 callers
Function
Color2Index
(ColorLabel)
datasets/GID_WiCo.py:45
↓ 2 callers
Function
Color2Index
(ColorLabel)
datasets/PD_WiCo.py:48
↓ 2 callers
Function
Color2Index
(ColorLabel)
datasets/BLU_WiCo.py:43
↓ 2 callers
Function
conv3x3
(in_planes, out_planes, stride=1)
models/WiCoNet.py:21
↓ 2 callers
Function
norm_gray
(x, out_range=(0, 255))
Eval_WiCo_BLU.py:36
↓ 2 callers
Function
norm_gray
(x, out_range=(0, 255))
Eval_WiCo_PD.py:34
↓ 2 callers
Function
norm_gray
(x, out_range=(0, 255))
Eval_WiCo_GID.py:36
↓ 2 callers
Function
rescale_images
(imgs, scale, order=0)
datasets/GID_WiCo.py:91
↓ 2 callers
Function
rescale_images
(imgs, scale, order)
datasets/PD_WiCo.py:101
↓ 2 callers
Function
rescale_images
(imgs, scale, order=0)
datasets/BLU_WiCo.py:80
↓ 1 callers
Function
Color2Index0
(ColorLabel, colormap2label)
utils/load.py:166
↓ 1 callers
Function
DataAug
(data, labels, size)
utils/load.py:99
↓ 1 callers
Function
DataAug_1C
(data, labels, size)
utils/load.py:128
↓ 1 callers
Method
__init__
(self, optimizer, curr_iter, max_iter, lr_decay)
utils/misc.py:66
↓ 1 callers
Function
_fast_hist
(label_pred, label_true, num_classes)
utils/misc.py:42
↓ 1 callers
Method
_init_weights
(self)
models/WiCoNet.py:56
↓ 1 callers
Method
add
(self, val, count, weight)
utils/utils.py:136
↓ 1 callers
Function
adjust_learning_rate
(optimizer, curr_iter, all_iter)
Train_WiCo_BLU.py:184
↓ 1 callers
Function
adjust_learning_rate
(optimizer, curr_iter, all_iter)
Train_WiCo_PD.py:182
↓ 1 callers
Function
adjust_learning_rate
(optimizer, curr_iter, all_iter)
Train_WiCo_GID.py:190
↓ 1 callers
Function
calc_alpha
(curr_iter, all_iters, weight=1.0)
Train_WiCo_BLU.py:180
↓ 1 callers
Function
calc_alpha
(curr_iter, all_iters, weight=1.0)
Train_WiCo_PD.py:178
↓ 1 callers
Function
calc_alpha
(curr_iter, all_iters, weight=1.0)
Train_WiCo_GID.py:185
↓ 1 callers
Function
hwc_to_chw
(img)
utils/utils.py:36
↓ 1 callers
Method
initialize
(self, val, count, weight)
utils/utils.py:123
↓ 1 callers
Function
initialize_weights
(*models)
utils/misc.py:16
↓ 1 callers
Function
main
()
Train_WiCo_BLU.py:50
↓ 1 callers
Function
main
()
Train_WiCo_PD.py:48
↓ 1 callers
Function
main
()
Eval_WiCo_BLU.py:60
↓ 1 callers
Function
main
()
Train_WiCo_GID.py:51
↓ 1 callers
Function
main
()
Eval_WiCo_PD.py:56
↓ 1 callers
Function
main
()
Eval_WiCo_GID.py:60
↓ 1 callers
Function
predict
(net, pred_loader, pred_path, f_out=None)
Eval_WiCo_BLU.py:77
↓ 1 callers
Function
predict
(net, pred_loader, pred_path, f_out=None)
Eval_WiCo_PD.py:72
↓ 1 callers
Function
predict
(net, pred_loader, pred_path, f_out=None)
Eval_WiCo_GID.py:77
↓ 1 callers
Function
read_RSimages
(data_dir, mode, rescale_ratio=False)
datasets/GID_WiCo.py:65
↓ 1 callers
Function
read_RSimages
(data_dir, mode)
datasets/PD_WiCo.py:68
↓ 1 callers
Function
read_RSimages
(data_dir, mode, rescale_ratio=False)
datasets/BLU_WiCo.py:51
↓ 1 callers
Function
rescale_image
(img, scale=8, order = 0)
datasets/PD_WiCo.py:108
↓ 1 callers
Function
resize_and_crop
(pilimg, scale=0.5, final_height=None)
utils/utils.py:39
↓ 1 callers
Function
train
(train_loader, net, criterion, optimizer, val_loader)
Train_WiCo_BLU.py:67
↓ 1 callers
Function
train
(train_loader, net, criterion, optimizer, val_loader)
Train_WiCo_PD.py:66
↓ 1 callers
Function
train
(train_loader, net, criterion, optimizer, val_loader)
Train_WiCo_GID.py:70
↓ 1 callers
Function
validate
(val_loader, net, criterion, curr_epoch)
Train_WiCo_BLU.py:136
↓ 1 callers
Function
validate
(val_loader, net, criterion, curr_epoch)
Train_WiCo_PD.py:135
↓ 1 callers
Function
validate
(val_loader, net, criterion, curr_epoch)
Train_WiCo_GID.py:140
↓ 1 callers
Method
value
(self)
utils/utils.py:142
Function
AccEval
(outputs, labels)
Eval_WiCo_PD.py:150
Function
Color2Index
(ColorLabels, colormap2label)
utils/load.py:157
Function
Colorls2Index
(ColorLabels)
datasets/GID_WiCo.py:40
Function
Colorls2Index
(ColorLabels)
datasets/PD_WiCo.py:42
Function
Colorls2Index
(ColorLabels)
datasets/BLU_WiCo.py:37
Function
ConfMap
(output, pred)
utils/utils.py:155
Function
CrossEntropy2d
(input, target, weight=None, size_average=False)
utils/loss.py:16
Function
IRRGB2RGBIR
(img)
datasets/GID_WiCo.py:19
Function
ImageValStretch2D
(img)
utils/utils.py:148
Function
Index2Color
(pred, colormap2label)
utils/load.py:171
Function
Index2Color
(pred)
datasets/GID_WiCo.py:35
Function
Index2Color
(pred)
datasets/PD_WiCo.py:36
Function
Index2Color
(pred)
datasets/BLU_WiCo.py:31
Function
Rotate_Aug
(imgs, labels, step=20, start_angle=20, max_angle=179)
utils/transform.py:678
Function
Rotate_Aug_S
(im, l, step=20, start_angle=15, max_angle=89)
utils/transform.py:695
Method
__getitem__
(self, idx)
datasets/GID_WiCo.py:131
Method
__getitem__
(self, idx)
datasets/PD_WiCo.py:141
Method
__getitem__
(self, idx)
datasets/BLU_WiCo.py:122
Method
__init__
(self, weight=None, ignore_index=0,)
utils/loss.py:6
Method
__init__
(self, regular_filter, cuda=True)
utils/misc.py:82
Method
__init__
(self)
utils/utils.py:116
Method
__init__
(self, data_dir, mode, random_crop=False, crop_nums=40, random_flip=False, sliding_crop=False,\ size_
datasets/GID_WiCo.py:106
Method
__init__
(self, data_dir, mode, random_crop=False, crop_nums=40, random_flip = False, sliding_crop=False,
datasets/PD_WiCo.py:117
Method
__init__
(self, data_dir, mode, random_crop=False, crop_nums=40, random_flip=False, sliding_crop=False,\
datasets/BLU_WiCo.py:97
Method
__init__
(self, in_channels=3, num_classes=7, pretrained=True)
models/WiCoNet.py:26
Method
__init__
(self)
models/WiCoNet.py:72
Method
__init__
(self)
models/WiCoNet.py:96
Method
__init__
(self)
models/WiCoNet.py:112
Method
__init__
(self, in_channels=3, hidden_size=args['D'], img_size=args['input_size'])
models/WiCoNet.py:158
Method
__init__
(self, in_channels, out_channels, downsample=True)
models/WiCoNet.py:175
Method
__init__
(self, in_channels1, in_channels2, feat_size1, feat_size2, hidden_size=args['D'])
models/WiCoNet.py:196
Method
__init__
(self, in_channels=3, num_classes=1)
models/WiCoNet.py:214
next →
1–100 of 180, ranked by callers