Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buaacxf/VIPTR
/ functions
Functions
373 in github.com/buaacxf/VIPTR
⨍
Functions
373
◇
Types & classes
124
↓ 17 callers
Method
__init__
(self, embed_dim, num_heads, value_factor=1)
modules/VIPTRv1-T_ch.py:213
↓ 17 callers
Method
__init__
(self, embed_dim, num_heads, value_factor=1)
modules/VIPTRv1.py:213
↓ 17 callers
Method
__init__
(self, embed_dim, num_heads, value_factor=1)
modules/VIPTRv2.py:208
↓ 17 callers
Function
rad
rad
dataload/dataAug.py:232
↓ 16 callers
Method
__init__
(self, embed_dim, num_heads, value_factor=1)
modules/VIPTRv2T_ch.py:208
↓ 9 callers
Method
__init__
(self, in_features, hidden_features=None, out_features=None
modules/SVTR.py:89
↓ 9 callers
Method
encode
convert text-label into text-index. input: text: text labels of each image. [batch_size] batch_max_length: max length
utils.py:19
↓ 6 callers
Method
__init__
(self, input_channel, output_channel, num_iteration, kernel_size, pad)
modules/feature_extraction.py:68
↓ 6 callers
Function
conv3x3_block
3x3 convolution with padding
modules/stn_head.py:11
↓ 6 callers
Method
decode
convert text-index into text-label.
utils.py:40
↓ 5 callers
Method
__init__
(self, step_each_epoch, step_size, warmup_epoch=0,
optimizer.py:25
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1)
modules/feature_extraction.py:194
↓ 4 callers
Function
flag
flag
dataload/dataAug.py:63
↓ 4 callers
Function
hierarchical_dataset
select_data='/' contains all sub-directory of root directory
dataset.py:103
↓ 4 callers
Method
reset_parameters
(self)
modules/VIPTRv1-T_ch.py:228
↓ 4 callers
Method
reset_parameters
(self)
modules/VIPTRv2T_ch.py:223
↓ 4 callers
Method
reset_parameters
(self)
modules/VIPTRv1.py:228
↓ 4 callers
Method
reset_parameters
(self)
modules/VIPTRv2.py:223
↓ 3 callers
Method
__bilinear_interp
(x, y, v11, v12, v21, v22)
dataload/aug/warp_mls.py:20
↓ 3 callers
Method
__init__
(self, input_size, hidden_size, output_size)
modules/sequence_modeling.py:66
↓ 3 callers
Method
generate
(self)
dataload/aug/warp_mls.py:23
↓ 3 callers
Function
validation
validation or evaluation
test_benchmark.py:80
↓ 2 callers
Function
VIPTRv1
(opt)
modules/VIPTRv1.py:977
↓ 2 callers
Function
VIPTRv2T_CH
(opt)
modules/VIPTRv2T_ch.py:861
↓ 2 callers
Method
__init__
Generate P_hat and inv_delta_C for later
modules/transformation.py:89
↓ 2 callers
Method
_char_to_onehot
(self, input_char, onehot_dim=38)
modules/prediction.py:16
↓ 2 callers
Method
_conv3x3
3x3 convolution with padding
modules/feature_extraction.py:130
↓ 2 callers
Method
add
(self, v)
utils.py:156
↓ 2 callers
Function
compute_partial_repr
(input_points, control_points)
modules/tps_spatial_transformer.py:20
↓ 2 callers
Method
generate_1d_decay
generate 1d decay mask, the result is l*l
modules/VIPTRv1-T_ch.py:104
↓ 2 callers
Method
generate_1d_decay
generate 1d decay mask, the result is l*l
modules/VIPTRv2T_ch.py:101
↓ 2 callers
Method
generate_1d_decay
generate 1d decay mask, the result is l*l
modules/VIPTRv1.py:104
↓ 2 callers
Method
generate_1d_decay
generate 1d decay mask, the result is l*l
modules/VIPTRv2.py:101
↓ 2 callers
Method
im2cswin
(self, x, size)
modules/VIPTRv1-T_ch.py:604
↓ 2 callers
Method
im2cswin
(self, x, size)
modules/VIPTRv2T_ch.py:533
↓ 2 callers
Method
im2cswin
(self, x, size)
modules/VIPTRv1.py:604
↓ 2 callers
Method
im2cswin
(self, x, size)
modules/VIPTRv2.py:592
↓ 2 callers
Method
init_weights
(self, module)
modules/stn_head.py:53
↓ 2 callers
Function
lr_warm
(base_lr, epoch, warm_epoch)
optimizer.py:219
↓ 2 callers
Method
reset
(self)
utils.py:162
↓ 2 callers
Function
truncated_normal_
(tensor, mean=0, std=0.02)
modules/SVTR.py:12
↓ 2 callers
Method
val
(self)
utils.py:166
↓ 1 callers
Function
Add_Padding
(image, top, bottom, left, right, color=(255,255,255))
dataload/loader.py:18
↓ 1 callers
Function
VIPTRv1
(opt)
modules/VIPTRv1-T_ch.py:987
↓ 1 callers
Function
VIPTRv1L
(opt)
modules/VIPTRv1.py:996
↓ 1 callers
Function
VIPTRv2
(opt)
modules/VIPTRv2.py:1038
↓ 1 callers
Function
VIPTRv2B
(opt)
modules/VIPTRv2.py:1057
↓ 1 callers
Method
__init__
(self, input_size, hidden_size, num_classes)
modules/prediction.py:9
↓ 1 callers
Method
_build_C
Return coordinates of fiducial points in I_r; C
modules/transformation.py:104
↓ 1 callers
Method
_build_P
(self, I_r_width, I_r_height)
modules/transformation.py:136
↓ 1 callers
Method
_build_P_hat
(self, F, C, P)
modules/transformation.py:145
↓ 1 callers
Method
_build_inv_delta_C
Return inv_delta_C which is needed to calculate T
modules/transformation.py:114
↓ 1 callers
Method
_forward_impl
(self, x, relative_pos_enc=None)
modules/VIPTRv1-T_ch.py:500
↓ 1 callers
Method
_forward_impl
(self, x, relative_pos_enc=None)
modules/VIPTRv2T_ch.py:432
↓ 1 callers
Method
_forward_impl
(self, x, relative_pos_enc=None)
modules/VIPTRv1.py:500
↓ 1 callers
Method
_forward_impl
(self, x, relative_pos_enc=None)
modules/VIPTRv2.py:491
↓ 1 callers
Function
add_gasuss_noise
Gasuss noise
dataload/dataAug.py:108
↓ 1 callers
Function
benchmark_all_eval
evaluation with 6 benchmark evaluation datasets
test_benchmark.py:22
↓ 1 callers
Function
blur
blur
dataload/dataAug.py:81
↓ 1 callers
Method
build_P_prime
Generate Grid from batch_C_prime [batch_size x F x 2]
modules/transformation.py:155
↓ 1 callers
Function
build_output_control_points
(num_control_points, margins)
modules/tps_spatial_transformer.py:36
↓ 1 callers
Method
calc_delta
(self)
dataload/aug/warp_mls.py:27
↓ 1 callers
Function
cvtColor
cvtColor
dataload/dataAug.py:70
↓ 1 callers
Function
drop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). the original name is misleading as 'Drop Connect' is a di
modules/SVTR.py:23
↓ 1 callers
Method
encode
convert text-label into text-index. input: text: text labels of each image. [batch_size] batch_max_length: max length
utils.py:118
↓ 1 callers
Function
fixkeyCh
(key)
dataload/loader.py:24
↓ 1 callers
Function
fixkeyEn
(key)
dataload/loader.py:27
↓ 1 callers
Method
forward_features
(self, x)
modules/SVTR.py:551
↓ 1 callers
Method
forward_features
(self, x)
modules/VIPTRv1-T_ch.py:962
↓ 1 callers
Method
forward_features
(self, x)
modules/VIPTRv2T_ch.py:841
↓ 1 callers
Method
forward_features
(self, x)
modules/VIPTRv1.py:956
↓ 1 callers
Method
forward_features
(self, x)
modules/VIPTRv2.py:1018
↓ 1 callers
Method
gen_img
(self)
dataload/aug/warp_mls.py:105
↓ 1 callers
Method
generate_2d_decay
generate 2d decay mask, the result is (HW)*(HW)
modules/VIPTRv1-T_ch.py:91
↓ 1 callers
Method
generate_2d_decay
generate 2d decay mask, the result is (HW)*(HW)
modules/VIPTRv2T_ch.py:88
↓ 1 callers
Method
generate_2d_decay
generate 2d decay mask, the result is (HW)*(HW)
modules/VIPTRv1.py:91
↓ 1 callers
Method
generate_2d_decay
generate 2d decay mask, the result is (HW)*(HW)
modules/VIPTRv2.py:88
↓ 1 callers
Method
get_batch
(self)
dataset.py:81
↓ 1 callers
Function
get_crop
random crop
dataload/dataAug.py:120
↓ 1 callers
Method
get_lepe
(self, x, func, size)
modules/VIPTRv1-T_ch.py:619
↓ 1 callers
Method
get_lepe
(self, x, func, size)
modules/VIPTRv2T_ch.py:548
↓ 1 callers
Method
get_lepe
(self, x, func, size)
modules/VIPTRv1.py:619
↓ 1 callers
Method
get_lepe
(self, x, func, size)
modules/VIPTRv2.py:607
↓ 1 callers
Function
grid_sample
(input, grid, canvas = None)
modules/tps_spatial_transformer.py:8
↓ 1 callers
Function
img2windows
img: B C H W
modules/VIPTRv1-T_ch.py:732
↓ 1 callers
Function
img2windows
img: B C H W
modules/VIPTRv2T_ch.py:662
↓ 1 callers
Function
img2windows
img: B C H W
modules/VIPTRv1.py:732
↓ 1 callers
Function
img2windows
img: B C H W
modules/VIPTRv2.py:719
↓ 1 callers
Method
init_stn
(self, stn_fc2)
modules/stn_head.py:67
↓ 1 callers
Function
jitter
jitter
dataload/dataAug.py:92
↓ 1 callers
Method
make
make
dataload/dataAug.py:203
↓ 1 callers
Method
merge_ext_data
(self, data, ext_data)
dataload/dataAug.py:38
↓ 1 callers
Function
motion_blur
(image)
dataload/dataAug.py:167
↓ 1 callers
Function
random_dilute
(image, sele_value=50, set_value=20, num_ratio=[0.1, 0.2])
dataload/dataAug.py:147
↓ 1 callers
Method
reset_parameters
(self)
modules/VIPTRv1-T_ch.py:155
↓ 1 callers
Method
reset_parameters
(self)
modules/VIPTRv2T_ch.py:151
↓ 1 callers
Method
reset_parameters
(self)
modules/VIPTRv1.py:155
↓ 1 callers
Method
reset_parameters
(self)
modules/VIPTRv2.py:151
↓ 1 callers
Function
resizeAug
(img, HThresh=25)
dataload/dataAug.py:138
↓ 1 callers
Function
test
model configuration
test_benchmark.py:179
next →
1–100 of 373, ranked by callers