Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WenjiaWang0312/TextZoom
/ functions
Functions
304 in github.com/WenjiaWang0312/TextZoom
⨍
Functions
304
◇
Types & classes
87
Function
create
Create a model instance. Parameters ---------- name: str Model name. One of __factory pretrained: bool, optional If True, will use
src/model/recognizer/__init__.py:13
Function
createDataset_inpainting
Create LMDB dataset for CRNN training. ARGS: outputPath : LMDB output path imagePathList : list of image path labelList
src/dataset/create_lmdb.py:129
Function
create_800k
()
src/dataset/create_lmdb.py:236
Function
create_90k
()
src/dataset/create_lmdb.py:370
Function
create_ic
()
src/dataset/create_lmdb.py:408
Function
create_mat
()
src/dataset/create_lmdb.py:273
Function
create_total_text
()
src/dataset/create_lmdb.py:307
Function
create_txt
()
src/dataset/create_lmdb.py:462
Method
cummulative_sizes
(self)
src/dataset/dataset.py:310
Method
decode
Decode encoded texts back into strs. Args: torch.IntTensor [length_0 + length_1 + ... length_{n - 1}]: encoded texts.
src/utils/utils_moran.py:79
Method
decode
Decode encoded texts back into strs. Args: torch.IntTensor [length_0 + length_1 + ... length_{n - 1}]: encoded texts.
src/utils/utils_crnn.py:54
Method
encode
Support batch or single str. Args: text (str or list of str): texts to convert. Returns: torch.IntTensor [le
src/utils/utils_moran.py:53
Method
encode
Support batch or single str. Args: text (str or list of str): texts to convert. Returns: torch.IntTensor [le
src/utils/utils_crnn.py:32
Method
forward
(self, img1, img2)
src/utils/ssim_psnr.py:61
Method
forward
(self, x)
src/model/vdsr.py:17
Method
forward
(self, x)
src/model/vdsr.py:56
Method
forward
(self, x)
src/model/net.py:55
Method
forward
(self, x)
src/model/net.py:82
Method
forward
(self, x)
src/model/net.py:103
Method
forward
(self, x)
src/model/net.py:115
Method
forward
(self, x)
src/model/net.py:128
Method
forward
(self, x)
src/model/srresnet.py:52
Method
forward
(self, x)
src/model/srresnet.py:78
Method
forward
(self, x)
src/model/srresnet.py:95
Method
forward
(self, x)
src/model/srresnet.py:143
Method
forward
(self, x)
src/model/esrgan.py:30
Method
forward
(self, x)
src/model/esrgan.py:48
Method
forward
(self, x)
src/model/esrgan.py:75
Method
forward
(self, x)
src/model/esrgan.py:137
Method
forward
(self, x)
src/model/edsr.py:26
Method
forward
(self, x)
src/model/edsr.py:78
Method
forward
(self, x)
src/model/srcnn.py:43
Method
forward
(self, x)
src/model/tsrn.py:60
Method
forward
(self, x)
src/model/tsrn.py:88
Method
forward
(self, x)
src/model/tsrn.py:109
Method
forward
(self, x)
src/model/tsrn.py:121
Method
forward
(self, x)
src/model/tsrn.py:134
Method
forward
(self, x)
src/model/rdn.py:17
Method
forward
(self, x)
src/model/rdn.py:28
Method
forward
(self, x)
src/model/rdn.py:46
Method
forward
(self, x)
src/model/rdn.py:75
Method
forward
(self, x)
src/model/lapsrn.py:52
Method
forward
(self, x)
src/model/lapsrn.py:106
Method
forward
(self, X, Y)
src/model/lapsrn.py:133
Method
forward
(self, x)
src/model/attention_recognition_head.py:26
Method
forward
(self, x, sPrev)
src/model/attention_recognition_head.py:207
Method
forward
(self, x, sPrev, yPrev)
src/model/attention_recognition_head.py:250
Method
forward
(self, x)
src/model/rrdb.py:29
Method
forward
(self, x)
src/model/rrdb.py:47
Method
forward
(self, x)
src/model/rrdb.py:71
Method
forward
(self, x)
src/model/rrdb.py:132
Method
forward
(self, a, b)
src/model/rrdb.py:146
Method
forward
(self, input)
src/model/crnn/crnn.py:12
Method
forward
(self, input)
src/model/crnn/crnn.py:68
Method
forward
(self, input, target, length)
src/model/recognizer/sequenceCrossEntropyLoss.py:35
Method
forward
(self, x)
src/model/recognizer/resnet_aster.py:49
Method
forward
(self, x)
src/model/recognizer/resnet_aster.py:113
Method
forward
(self, x)
src/model/recognizer/stn_head.py:86
Method
forward
(self, input_dict)
src/model/recognizer/recognizer_builder.py:65
Method
forward
(self, input, source_control_points)
src/model/recognizer/tps_spatial_transformer.py:100
Method
forward
(self, x)
src/model/recognizer/attention_recognition_head.py:26
Method
forward
(self, x, sPrev)
src/model/recognizer/attention_recognition_head.py:209
Method
forward
(self, x, sPrev, yPrev)
src/model/recognizer/attention_recognition_head.py:255
Method
forward
(self, x)
src/model/moran/fracPickup.py:13
Method
forward
(self, x, length, text, text_rev, test=False, debug=False)
src/model/moran/moran.py:14
Method
forward
(self, input)
src/model/moran/asrn_res.py:17
Method
forward
(self, prev_hidden, feats, cur_embeddings, test=False)
src/model/moran/asrn_res.py:39
Method
forward
(self, feats, text_length, text, test=False)
src/model/moran/asrn_res.py:80
Method
forward
(self,x)
src/model/moran/asrn_res.py:180
Method
forward
(self,x)
src/model/moran/asrn_res.py:205
Method
forward
(self, input, length, text, text_rev, test=False)
src/model/moran/asrn_res.py:241
Method
forward
(self, x, test, enhance=1, debug=False)
src/model/moran/morn.py:46
Method
forward
(self, out_images, target_images)
src/loss/image_loss.py:19
Method
forward
(self, out_images, target_images)
src/loss/image_loss.py:33
Method
forward
(self, out_images, target_images)
src/loss/percptual_loss.py:20
Method
forward
(self, x)
src/loss/percptual_loss.py:35
Method
forward
(self, out_images, target_images)
src/loss/gradient_loss.py:15
Function
get_sinusoid_encoding
(n_position, feat_dim, wave_length=10000)
src/model/recognizer/resnet_aster.py:23
Function
id2char
(voc)
src/utils/labelmaps.py:36
Method
init_weights
(self)
src/model/attention_recognition_head.py:199
Method
init_weights
(self)
src/model/attention_recognition_head.py:245
Method
init_weights
(self)
src/model/recognizer/attention_recognition_head.py:201
Method
init_weights
(self)
src/model/recognizer/attention_recognition_head.py:250
Function
labels2strs
(labels, id2char, char2id)
src/utils/labelmaps.py:40
Function
loadData
(v, data)
src/utils/utils_moran.py:136
Function
loadData
(v, data)
src/utils/utils_crnn.py:133
Function
loadData
(v, data)
src/utils/util.py:149
Function
names
()
src/model/recognizer/__init__.py:9
Function
oneHot
(v, v_length, nc)
src/utils/utils_crnn.py:120
Function
oneHot
(v, v_length, nc)
src/utils/util.py:136
Function
prettyPrint
(v)
src/utils/utils_crnn.py:137
Function
prettyPrint
(v)
src/utils/util.py:153
Function
rand_crop
(im)
src/dataset/dataset.py:27
Method
reset
(self)
src/utils/meters.py:13
Method
sample
(self, x)
src/model/attention_recognition_head.py:44
Method
sample
(self, x)
src/model/recognizer/attention_recognition_head.py:45
Function
ssim
(img1, img2, window_size=11, size_average=True)
src/utils/ssim_psnr.py:81
Method
test_display
(self, image_in, image_out, image_target, pred_str_lr, pred_str_sr, label_strs, str_filt)
src/interfaces/base.py:197
Function
to_torch
(ndarray)
src/utils/labelmaps.py:72
Method
transform_
(path)
src/interfaces/super_resolution.py:263
← previous
next →
201–300 of 304, ranked by callers