MCPcopy Create free account

hub / github.com/WenmuZhou/PAN.pytorch / functions

Functions821 in github.com/WenmuZhou/PAN.pytorch

↓ 1 callersFunctionget_object_handle
post_processing/include/pybind11/cast.h:453
↓ 1 callersFunctionget_points
post_processing/pse.cpp:117
↓ 1 callersFunctionget_type_handle
post_processing/include/pybind11/cast.h:201
↓ 1 callersMethodget_type_info
post_processing/include/pybind11/numpy.h:86
↓ 1 callersFunctionget_type_overload
post_processing/include/pybind11/pybind11.h:1999
↓ 1 callersFunctionget_union
(pD, pG)
utils/cal_recall/script.py:92
↓ 1 callersFunctionimage_label
读取图片并生成label :param im: 图片 :param text_polys: 文本标注框 :param text_tags: 是否忽略文本的标致:true 忽略, false 不忽略 :param input_size: 输出图像的尺寸
data_loader/data_utils.py:94
↓ 1 callersMethodimplicit_cast
post_processing/include/pybind11/cast.h:1386
↓ 1 callersMethodincrement
post_processing/include/pybind11/numpy.h:1266
↓ 1 callersMethodinit
post_processing/include/pybind11/pybind11.h:1388
↓ 1 callersFunctioninitialize_interpreter
post_processing/include/pybind11/embed.h:102
↓ 1 callersMethodis_cpp_function
post_processing/include/pybind11/pytypes.h:1277
↓ 1 callersFunctionisinstance_generic
post_processing/include/pybind11/cast.h:399
↓ 1 callersMethodkind
Single-character type code.
post_processing/include/pybind11/numpy.h:464
↓ 1 callersFunctionlast
post_processing/include/pybind11/detail/common.h:537
↓ 1 callersMethodload_args
post_processing/include/pybind11/cast.h:1902
↓ 1 callersMethodload_data
(self, data_list: list)
data_loader/dataset.py:38
↓ 1 callersFunctionload_json
(json_path)
utils/util.py:57
↓ 1 callersFunctionload_numpy_internals
post_processing/include/pybind11/numpy.h:100
↓ 1 callersFunctionload_type
post_processing/include/pybind11/cast.h:1647
↓ 1 callersFunctionmain
(model_path, img_folder, save_path, gpu_id)
eval.py:16
↓ 1 callersFunctionmain
(config)
train.py:17
↓ 1 callersFunctionmake_default_metaclass
This metaclass is assigned by default to all pybind11 types and is required in order for static properties to function correctly. Users may overri
post_processing/include/pybind11/detail/class.h:161
↓ 1 callersFunctionmake_iterator
post_processing/include/pybind11/pybind11.h:1648
↓ 1 callersFunctionmake_key_iterator
post_processing/include/pybind11/pybind11.h:1677
↓ 1 callersFunctionmake_new_instance
Instance creation function for all pybind11 types. It only allocates space for the C++ object (or multiple objects, for Python-side inheritance from m
post_processing/include/pybind11/class_support.h:239
↓ 1 callersFunctionmake_new_python_type
Create a brand new Python type according to the `type_record` specification. Return value: New reference. */
post_processing/include/pybind11/detail/class.h:516
↓ 1 callersFunctionmake_object_base_type
Create the type which can be used as a common base for all classes. This is needed in order to satisfy Python's requirements for multiple inherit
post_processing/include/pybind11/detail/class.h:364
↓ 1 callersFunctionmake_static_property_type
A `static_property` is the same as a `property` but the `__get__()` and `__set__()` methods are modified to always use the object type instead of
post_processing/include/pybind11/detail/class.h:47
↓ 1 callersMethodohem_batch
(self, scores, gt_texts, training_masks)
models/loss.py:176
↓ 1 callersMethodohem_single
(self, score, gt_text, training_mask)
models/loss.py:152
↓ 1 callersFunctionoperator()
post_processing/include/pybind11/detail/common.h:728
↓ 1 callersMethodoperator=
post_processing/include/pybind11/cast.h:1839
↓ 1 callersFunctionorder_points_clockwise_list
(pts)
utils/util.py:122
↓ 1 callersFunctionplus_impl
post_processing/include/pybind11/detail/descr.h:43
↓ 1 callersFunctionquadratic
(a, b, c)
data_loader/data_utils.py:44
↓ 1 callersMethodrandom_crop
(self, imgs, img_size)
data_loader/augment.py:117
↓ 1 callersFunctionregister_exception_translator
post_processing/include/pybind11/pybind11.h:1741
↓ 1 callersFunctionregister_instance
post_processing/include/pybind11/detail/class.h:233
↓ 1 callersFunctionregister_instance_impl
post_processing/include/pybind11/class_support.h:206
↓ 1 callersFunctionregister_instance_impl
post_processing/include/pybind11/detail/class.h:217
↓ 1 callersFunctionrepr
post_processing/include/pybind11/pytypes.h:1338
↓ 1 callersFunctionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True,
models/modules/resnet.py:214
↓ 1 callersFunctionresnext101_32x8d
Constructs a ResNeXt-101 32x8d model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool):
models/modules/resnet.py:282
↓ 1 callersFunctionsave_json
(data, json_path)
utils/util.py:52
↓ 1 callersFunctionsetup_logger
(log_file_path: str = None)
utils/util.py:12
↓ 1 callersMethodstrip_padding
post_processing/include/pybind11/numpy.h:475
↓ 1 callersMethodtry_direct_conversions
post_processing/include/pybind11/cast.h:598
↓ 1 callersMethodtry_implicit_casts
post_processing/include/pybind11/cast.h:588
↓ 1 callersFunctiontype_descr
post_processing/include/pybind11/descr.h:102
↓ 1 callersFunctionunshrink_offset
(poly,ratio)
data_loader/data_utils.py:36
↓ 1 callersFunctionvalidate_clockwise_points
Validates that the points that the 4 points that dlimite a polygon are in clockwise order.
utils/cal_recall/rrc_evaluation_funcs.py:258
↓ 1 callersFunctionvalidate_tl_line
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:140
↓ 1 callersMethodvalue
post_processing/include/pybind11/pybind11.h:1502
↓ 1 callersMethodvertical_flip
对图片和文本框进行竖直翻转 :param im: 图片 :param text_polys: 文本框 :return: 竖直翻转之后的图片和文本框
data_loader/augment.py:206
↓ 1 callersMethodwriteable
If set, the array is writeable (otherwise the buffer is read-only)
post_processing/include/pybind11/numpy.h:643
MethodEigenConformable
post_processing/include/pybind11/eigen.h:80
FunctionName
post_processing/include/pybind11/pytypes.h:786
MethodOstreamRedirect
post_processing/include/pybind11/iostream.h:148
FunctionPYBIND11_MODULE
post_processing/pse.cpp:197
MethodPyArrayDescr_Check_
post_processing/include/pybind11/numpy.h:145
FunctionPyEllipsis_Check
post_processing/include/pybind11/pytypes.h:736
FunctionPyIterable_Check
post_processing/include/pybind11/pytypes.h:723
FunctionPyNone_Check
post_processing/include/pybind11/pytypes.h:734
FunctionPyUnicode_Check_Permissive
post_processing/include/pybind11/pytypes.h:739
Method__getitem__
(self, index)
data_loader/dataset.py:22
Method__init__
初始化pytorch模型 :param model_path: 模型地址(可以是模型的参数或者参数和计算图一起保存的文件) :param gpu_id: 在哪一块gpu上运行
predict.py:48
Method__init__
(self, optimizer, last_epoch=-1)
utils/schedulers.py:5
Method__init__
(self, optimizer, max_iter, power=0.9, last_epoch=-1)
utils/schedulers.py:13
Method__init__
(self, n_classes)
utils/metrics.py:9
Method__init__
(self, data_list: list, input_size: int, img_channel: int, shrink_ratio: float, transform=None,
data_loader/dataset.py:13
Method__init__
对datasetlist里的dataset按照ratio_list里对应的比例组合,似的每个batch里的数据按按照比例采样的 :param dataset_list: 数据集列表 :param ratio_list: 比例列表 :p
data_loader/dataset.py:72
Method__init__
(self)
data_loader/augment.py:36
Method__init__
(self, config, model, criterion, weights_init)
base/base_trainer.py:16
Method__init__
(self, config, model, criterion, train_loader, weights_init=None)
trainer/trainer.py:21
Method__init__
Implement PSE Loss. :param alpha: loss kernel 前面的系数 :param beta: loss agg 和 loss dis 前面的系数 :param delta_agg: 计算loss a
models/loss.py:11
Method__init__
PANnet :param model_config: 模型配置
models/model.py:29
Method__init__
PANnet :param backbone_out_channels: 基础网络输出的维度
models/modules/segmentation_head.py:93
Method__init__
(self, in_channels=128)
models/modules/segmentation_head.py:159
Method__init__
(self, in_channels, out_channels, stride=1)
models/modules/segmentation_head.py:185
Method__init__
(self, inp, oup, stride)
models/modules/shufflenetv2.py:39
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
models/modules/resnet.py:35
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
models/modules/resnet.py:75
Method__iter__
(self)
data_loader/dataset.py:100
Method__len__
(self)
data_loader/dataset.py:67
Method__len__
(self)
data_loader/dataset.py:103
Method__next__
(self)
data_loader/dataset.py:106
Function__self
Don't warn about an unused variable
post_processing/include/pybind11/operators.h:47
Method_dtype_from_pep3118
post_processing/include/pybind11/numpy.h:469
Method_eval
eval logic for an epoch :param epoch: Current epoch number
base/base_trainer.py:118
Method_on_epoch_finish
(self)
trainer/trainer.py:162
Method_on_train_finish
(self)
trainer/trainer.py:192
Method_train_epoch
(self, epoch)
trainer/trainer.py:33
Functionaccessor
post_processing/include/pybind11/pytypes.h:475
Methodadd_base
post_processing/include/pybind11/pybind11.h:1092
Methodadd_object
Adds an object to the module using the given name. Throws if an object with the given name already exists. overwrite should almost always be false:
post_processing/include/pybind11/pybind11.h:860
Functionadd_ostream_redirect
post_processing/include/pybind11/iostream.h:193
Functionadd_patient
post_processing/include/pybind11/class_support.h:286
Methodadd_patient
This can only be used inside a pybind11-bound function, either by `argument_loader` at argument preparation time or by `py::cast()` at execution time.
post_processing/include/pybind11/cast.h:64
Methodadvance
post_processing/include/pybind11/pytypes.h:660
← previousnext →201–300 of 821, ranked by callers