Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WenmuZhou/PAN.pytorch
/ functions
Functions
821 in github.com/WenmuZhou/PAN.pytorch
⨍
Functions
821
◇
Types & classes
362
↓ 2 callers
Method
allocate_layout
post_processing/include/pybind11/cast.h:346
↓ 2 callers
Method
begin
post_processing/include/pybind11/cast.h:300
↓ 2 callers
Function
byte_offset_unsafe
post_processing/include/pybind11/numpy.h:297
↓ 2 callers
Function
cal_recall_precison_f1
(gt_path, result_path, show_result=False)
utils/cal_recall/script.py:320
↓ 2 callers
Method
call
post_processing/include/pybind11/cast.h:2113
↓ 2 callers
Function
cast
post_processing/include/pybind11/eigen.h:580
↓ 2 callers
Function
check
post_processing/include/pybind11/pytypes.h:215
↓ 2 callers
Function
check_flags
post_processing/include/pybind11/numpy.h:240
↓ 2 callers
Function
compute_ap
(confList, matchList, numGtCare)
utils/cal_recall/script.py:109
↓ 2 callers
Method
data
post_processing/include/pybind11/eigen.h:478
↓ 2 callers
Method
deallocate_layout
post_processing/include/pybind11/cast.h:394
↓ 2 callers
Function
decode
在输出上使用sigmoid 将值转换为置信度,并使用阈值来进行文字和背景的区分 :param preds: 网络输出 :param scale: 网络的scale :param threshold: sigmoid的阈值 :return: 最后的输出图和文本
post_processing/__init__.py:20
↓ 2 callers
Method
dice_loss
(self, input, target, mask)
models/loss.py:135
↓ 2 callers
Function
draw_bbox
(img_path, result, color=(255, 0, 0), thickness=2)
utils/util.py:71
↓ 2 callers
Function
get_function
post_processing/include/pybind11/pytypes.h:446
↓ 2 callers
Function
get_local_type_info
post_processing/include/pybind11/cast.h:169
↓ 2 callers
Method
get_lr
(self)
utils/schedulers.py:33
↓ 2 callers
Function
get_model
(config)
models/__init__.py:8
↓ 2 callers
Method
get_scores
Returns accuracy score evaluation result. - overall accuracy - mean accuracy - mean IU - fwavacc
utils/metrics.py:30
↓ 2 callers
Function
get_thread_state_unchecked
post_processing/include/pybind11/cast.h:465
↓ 2 callers
Function
get_tl_line_values
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
utils/cal_recall/rrc_evaluation_funcs.py:151
↓ 2 callers
Method
horizontal_flip
对图片和文本框进行水平翻转 :param im: 图片 :param text_polys: 文本框 :return: 水平翻转之后的图片和文本框
data_loader/augment.py:193
↓ 2 callers
Function
instance_simple_holder_in_ptrs
* The space to allocate for simple layout instance holders (see below) in multiple of the size of * a pointer (e.g. 2 means 16 bytes on 64-bit archi
post_processing/include/pybind11/detail/common.h:366
↓ 2 callers
Method
kwargs
post_processing/include/pybind11/cast.h:1947
↓ 2 callers
Function
load
post_processing/include/pybind11/eigen.h:547
↓ 2 callers
Function
log2
post_processing/include/pybind11/detail/common.h:355
↓ 2 callers
Function
make_new_instance
Instance creation function for all pybind11 types. It allocates the internal instance layout for holding C++ objects and holders. Allocation is done
post_processing/include/pybind11/detail/class.h:249
↓ 2 callers
Function
mutable_data
post_processing/include/pybind11/numpy.h:852
↓ 2 callers
Function
no_nullptr
post_processing/include/pybind11/detail/init.h:35
↓ 2 callers
Function
order_points_clockwise
(pts)
utils/util.py:111
↓ 2 callers
Function
polygon_from_points
Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
utils/cal_recall/script.py:56
↓ 2 callers
Method
predict
对传入的图像进行预测,支持图像地址,opecv 读取图片,偏慢 :param img: 图像地址 :param is_numpy: :return:
predict.py:72
↓ 2 callers
Method
random_rotate_img_bbox
从给定的角度中选择一个角度,对图片和文本框进行旋转 :param img: 图片 :param text_polys: 文本框 :param degrees: 角度,可以是一个数值或者list :param same_
data_loader/augment.py:61
↓ 2 callers
Method
random_scale
从scales中随机选择一个尺度,对图片和文本框进行缩放 :param im: 原图 :param text_polys: 文本框 :param scales: 尺度 :return: 经过缩放的图片和文本
data_loader/augment.py:47
↓ 2 callers
Function
rectangle_to_polygon
(rect)
utils/cal_recall/script.py:72
↓ 2 callers
Method
size
post_processing/include/pybind11/pytypes.h:1261
↓ 2 callers
Method
squeeze
Return a new view with all of the dimensions of length 1 removed
post_processing/include/pybind11/numpy.h:710
↓ 2 callers
Method
train
Full training logic
base/base_trainer.py:94
↓ 2 callers
Function
traverse_offset_bases
For multiple inheritance types we need to recursively register/deregister base pointers for any base classes with pointers that are difference from th
post_processing/include/pybind11/class_support.h:189
↓ 2 callers
Function
traverse_offset_bases
For multiple inheritance types we need to recursively register/deregister base pointers for any base classes with pointers that are difference from th
post_processing/include/pybind11/detail/class.h:200
↓ 2 callers
Function
vectorize_extractor
post_processing/include/pybind11/numpy.h:1567
↓ 1 callers
Method
PyArray_Check_
post_processing/include/pybind11/numpy.h:142
↓ 1 callers
Method
__init__
(self, stages_repeats, stages_out_channels, num_classes=1000)
models/modules/shufflenetv2.py:87
↓ 1 callers
Method
_eval
(self)
trainer/trainer.py:121
↓ 1 callers
Method
_fast_hist
(self, label_true, label_pred, n_class)
utils/metrics.py:13
↓ 1 callers
Method
_get_annotation
(self, label_path: str)
data_loader/dataset.py:48
↓ 1 callers
Method
_log_memory_usage
(self)
base/base_trainer.py:132
↓ 1 callers
Method
_on_epoch_finish
(self)
base/base_trainer.py:126
↓ 1 callers
Method
_on_train_finish
(self)
base/base_trainer.py:129
↓ 1 callers
Method
_save_checkpoint
Saving checkpoints :param epoch: current epoch number :param log: logging information of the epoch :param save_best:
base/base_trainer.py:150
↓ 1 callers
Method
_train_epoch
Training logic for an epoch :param epoch: Current epoch number
base/base_trainer.py:110
↓ 1 callers
Method
_upsample_cat
(self, p2, p3, p4, p5)
models/modules/segmentation_head.py:84
↓ 1 callers
Method
add
post_processing/include/pybind11/pytypes.h:1262
↓ 1 callers
Method
add_base
post_processing/include/pybind11/attr.h:256
↓ 1 callers
Method
add_noise
对图片加噪声 :param img: 图像array :return: 加噪声后的图像array,由于输出的像素是在[0,1]之间,所以得乘以255
data_loader/augment.py:39
↓ 1 callers
Method
advance
post_processing/include/pybind11/pytypes.h:866
↓ 1 callers
Method
agg_dis_loss
计算 loss agg :param texts: 文本实例的分割结果 batch_size * (w*h) :param kernels: 缩小的文本实例的分割结果 batch_size * (w*h) :param gt_text
models/loss.py:72
↓ 1 callers
Function
all_type_info_get_cache
post_processing/include/pybind11/pybind11.h:1614
↓ 1 callers
Function
all_type_info_populate
Populates a just-created cache entry.
post_processing/include/pybind11/cast.h:91
↓ 1 callers
Method
args
post_processing/include/pybind11/cast.h:1949
↓ 1 callers
Function
augmentation
(im: np.ndarray, text_polys: np.ndarray, scales: np.ndarray, degrees: int)
data_loader/data_utils.py:83
↓ 1 callers
Function
broadcast
post_processing/include/pybind11/numpy.h:1360
↓ 1 callers
Function
c_str
post_processing/include/pybind11/detail/internals.h:253
↓ 1 callers
Function
cal_kernel_score
(kernel, gt_kernel, gt_texts, training_masks, running_metric_kernel)
utils/util.py:98
↓ 1 callers
Function
cal_text_score
(texts, gt_texts, training_masks, running_metric_text)
utils/util.py:85
↓ 1 callers
Function
call_operator_delete
post_processing/include/pybind11/pybind11.h:992
↓ 1 callers
Function
channel_shuffle
(x, groups)
models/modules/shufflenetv2.py:22
↓ 1 callers
Function
check_and_validate_polys
check so that the text poly is in the same direction, and also filter some invalid polygons :param polys: :param tags: :return:
data_loader/data_utils.py:14
↓ 1 callers
Method
check_holder_compat
post_processing/include/pybind11/cast.h:605
↓ 1 callers
Function
clean_type_id
post_processing/include/pybind11/detail/typeid.h:30
↓ 1 callers
Function
clear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
post_processing/include/pybind11/class_support.h:311
↓ 1 callers
Function
clear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
post_processing/include/pybind11/detail/class.h:314
↓ 1 callers
Function
clear_patients
post_processing/include/pybind11/class_support.h:294
↓ 1 callers
Function
clear_patients
post_processing/include/pybind11/detail/class.h:297
↓ 1 callers
Method
cpp_function
post_processing/include/pybind11/pytypes.h:1271
↓ 1 callers
Function
decode_utf8
Returns a Unicode object on success, or None on failure
utils/cal_recall/rrc_evaluation_funcs.py:107
↓ 1 callers
Function
deregister_instance
post_processing/include/pybind11/class_support.h:228
↓ 1 callers
Function
deregister_instance
post_processing/include/pybind11/detail/class.h:239
↓ 1 callers
Function
deregister_instance_impl
post_processing/include/pybind11/class_support.h:210
↓ 1 callers
Function
deregister_instance_impl
post_processing/include/pybind11/detail/class.h:221
↓ 1 callers
Method
distance_to
post_processing/include/pybind11/pytypes.h:662
↓ 1 callers
Method
dtype
post_processing/include/pybind11/numpy.h:419
↓ 1 callers
Function
enable_buffer_protocol
Give this type a buffer interface.
post_processing/include/pybind11/class_support.h:490
↓ 1 callers
Function
enable_buffer_protocol
Give this type a buffer interface.
post_processing/include/pybind11/detail/class.h:504
↓ 1 callers
Function
enable_dynamic_attributes
Give instances of this type a `__dict__` and opt into garbage collection.
post_processing/include/pybind11/class_support.h:428
↓ 1 callers
Function
enable_dynamic_attributes
Give instances of this type a `__dict__` and opt into garbage collection.
post_processing/include/pybind11/detail/class.h:442
↓ 1 callers
Function
equal
Equivalent to obj == other in Python
post_processing/include/pybind11/pytypes.h:118
↓ 1 callers
Method
execute_cast
post_processing/include/pybind11/operators.h:66
↓ 1 callers
Method
export_values
post_processing/include/pybind11/pybind11.h:1514
↓ 1 callers
Function
finalize_interpreter
\rst Shut down the Python interpreter. No pybind11 or CPython API functions can be called after this. In addition, pybind11 objects must not o
post_processing/include/pybind11/embed.h:147
↓ 1 callers
Function
first
post_processing/include/pybind11/detail/common.h:533
↓ 1 callers
Method
flags
Return the NumPy array flags
post_processing/include/pybind11/numpy.h:638
↓ 1 callers
Function
generate_rbox
生成mask图,白色部分是文本,黑色是北京 :param im_size: 图像的h,w :param text_polys: 框的坐标 :param text_tags: 标注文本框是否参与训练 :param training_mask: 忽略标注为 DO
data_loader/data_utils.py:56
↓ 1 callers
Method
get
post_processing/include/pybind11/cast.h:1429
↓ 1 callers
Function
get_datalist
获取训练和验证的数据list :param train_data_path: 训练的dataset文件列表,每个文件内以如下格式存储 ‘path/to/img\tlabel’ :param validation_split: 验证集的比例,当val_data_path为空时
data_loader/__init__.py:12
↓ 1 callers
Function
get_dataloader
(module_name, module_args)
data_loader/__init__.py:49
↓ 1 callers
Function
get_dataset
获取训练dataset :param data_list: dataset文件列表,每个文件内以如下格式存储 ‘path/to/img\tlabel’ :param module_name: 所使用的自定义dataset名称,目前只支持data_loaders.ImageD
data_loader/__init__.py:35
↓ 1 callers
Function
get_intersection_over_union
(pD, pG)
utils/cal_recall/script.py:97
↓ 1 callers
Function
get_loss
(config)
models/__init__.py:12
↓ 1 callers
Function
get_num
post_processing/pse.cpp:166
← previous
next →
101–200 of 821, ranked by callers