MCPcopy Create free account

hub / github.com/deepinsight/insightface / functions

Functions8,893 in github.com/deepinsight/insightface

Methodtrain
Convert the model into training mode while keep normalization layer freezed.
detection/scrfd/mmdet/models/backbones/resnet.py:675
Methodtrain
(self, mode=True)
detection/scrfd/mmdet/models/roi_heads/shared_heads/res_layer.py:72
Methodtrain_fixbn
r"""Sets the module in training mode. This has any effect only on certain modules. See documentations of particular modules for detai
reconstruction/ostec/external/graphonomy/FaceHairMask/deeplab_xception.py:828
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
detection/scrfd/mmdet/models/detectors/base.py:219
Functiontraining_loop
( G_args = {}, # Options for generator network. D_args = {},
reconstruction/ostec/external/stylegan2/training/training_loop.py:105
Methodtraining_step
(self, batch, batch_idx)
reconstruction/gaze/models.py:42
Methodtraining_step
(self, batch, batch_idx)
alignment/synthetics/trainer_synthetics.py:31
Functiontrans_points
(pts, M)
web-demos/src_recognition/face_align.py:136
Functiontrans_points
(pts, M)
python-package/insightface/utils/face_align.py:98
Functiontrans_points
(pts, M)
python-package/insightface/utils/transform.py:53
Functiontransform
(data, center, output_size, scale, rotation)
web-demos/src_recognition/face_align.py:90
Functiontransform
(data, center, output_size, scale, rotation)
python-package/insightface/utils/face_align.py:52
Functiontransform
(data, center, output_size, scale, rotation)
python-package/insightface/utils/transform.py:7
Functiontransform_inverse
transform from mxnet im_tensor to ordinary RGB image im_tensor is limited to one image :param im_tensor: [batch, channel, height, width]
detection/retinaface/rcnn/io/image.py:822
Functiontransform_pt
(pt, trans)
alignment/heatmap/img_helper.py:27
Methodtranslate
Translate the masks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float): The of
detection/scrfd/mmdet/core/mask/structures.py:137
Methodtranslate
Translate the PolygonMasks.
detection/scrfd/mmdet/core/mask/structures.py:666
Methodtranslate
(self, *args)
cpp-package/inspireface/python/inspireface/modules/core/native.py:336
Methodtruncated
(self)
server/sdk/python/src/insightface_server/results.py:250
Functiontry_import_cv2
Try import cv2 at runtime. Returns ------- cv2 module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:54
Functiontry_import_dali
Try import NVIDIA DALI at runtime.
python-package/insightface/utils/filesystem.py:142
Functiontry_import_mmcv
Try import mmcv at runtime. Returns ------- mmcv module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:68
Functiontry_import_rarfile
Try import rarfile at runtime. Returns ------- rarfile module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:82
Functiontuple_product
Calculate the product of the tuple elements.
reconstruction/ostec/external/stylegan2/dnnlib/util.py:135
Methodubjson_prefix
! @brief determine the type prefix of container values */
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:14722
FunctionuintCompare
detection/retinaface/rcnn/pycocotools/maskApi.c:157
Functionunavailable
(request: httpx.Request)
server/tests/sdk/test_client.py:659
Methodunavailable
(self)
python-package/insightface/gui/pages/camera_recognition_page.py:31
Functionunexpected_analyze
(*_args, **_kwargs)
server/tests/api/test_external_trusted.py:303
Functionunexpected_error_handler
(request: Request, exc: Exception)
server/backend/insightface_server/app.py:416
Functionunflatten
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:12998
Functionunique_boxes
return indices of unique boxes
detection/retinaface/rcnn/dataset/ds_utils.py:4
Functionunpack_bz2
(src_path)
reconstruction/ostec/utils/utils.py:138
Functionunpack_bz2
(src_path)
reconstruction/ostec/core/perceptual_model.py:58
Methodunwind_key
(obj)
reconstruction/ostec/external/stylegan2/dnnlib/tflib/network.py:392
Functionupdate
@brief updates a JSON object from another object, overwriting existing keys @sa https://json.nlohmann.me/api/basic_json/update/
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:20306
Functionupdate
()
server/frontend/app.mjs:902
Functionupdate
()
server/tests/unit/test_search_manager.py:444
Functionupdate
()
server/tests/unit/test_rtsp_manager.py:335
Methodupdate
(self, index, weight, grad, state)
recognition/partial_fc/mxnet/optimizer.py:31
Methodupdate
(self, weight, grad, state, learning_rate)
recognition/partial_fc/mxnet/optimizer.py:56
Methodupdate
(self, labels, preds)
recognition/arcface_mxnet/metric.py:15
Methodupdate
(self, labels, preds)
recognition/arcface_mxnet/metric.py:41
Methodupdate
(self, labels, preds)
detection/retinaface/rcnn/core/metric.py:109
Methodupdate
(self, labels, preds)
detection/retinaface/rcnn/core/metric.py:146
Methodupdate
cpp-package/inspireface/cpp/inspireface/track_module/tracker_optional/bytetrack/BYTETracker.cpp:17
Methodupdate
cpp-package/inspireface/cpp/inspireface/track_module/tracker_optional/bytetrack/kalmanFilter.cpp:80
Methodupdate
(self, labels, preds)
alignment/heatmap/metric.py:17
Methodupdate
(self, labels, preds)
alignment/heatmap/metric.py:98
Methodupdate
(self, index, weight, grad, state)
alignment/heatmap/optimizer.py:30
FunctionupdateConfig
Update configuration (thread-safe)
cpp-package/inspireface/cpp/inspireface/include/inspireface/similarity_converter.h:65
Methodupdate_collection
(self, collection_id: str, changes: dict[str, Any])
server/backend/insightface_server/services/core.py:884
Methodupdate_metric
(self, eval_metric, labels)
recognition/subcenter_arcface/parall_module_local_v1.py:443
Methodupdate_metric
(self, eval_metric, labels)
recognition/arcface_mxnet/parall_module_local_v1.py:400
Methodupdate_metric
(self, eval_metric, labels)
detection/retinaface/rcnn/core/module_bak.py:253
Methodupdate_multi_precision
(self, index, weight, grad, state)
recognition/partial_fc/mxnet/optimizer.py:35
Methodupdate_progress
(self, current: int, total: int, message: str = "")
python-package/insightface/gui/widgets/progress_dialog.py:16
MethoduseAppContext
()
cpp-package/inspireface/android/InspireFaceExample/app/src/androidTest/java/com/example/inspireface_example/ExampleInstrumentedTest.java:20
MethoduseAppContext
()
cpp-package/inspireface/android/InspireFaceExample_old/app/src/androidTest/java/com/example/inspireface_example/ExampleInstrumentedTest.java:20
Functionuse_oss_download
Enable OSS download instead of ModelScope (for backward compatibility) Args: use_oss (bool): If True, use OSS download; if False, use
cpp-package/inspireface/python/inspireface/modules/inspireface.py:26
Methoduse_selected_model
(self)
python-package/insightface/gui/pages/model_download_page.py:150
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
detection/scrfd/mmdet/models/detectors/base.py:254
Methodvalid_flags
Generate valid flags of anchors in multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
detection/scrfd/mmdet/core/anchor/anchor_generator.py:273
Methodvalidate_dataset
(self)
python-package/insightface/gui/pages/enterprise_eval_page.py:1093
Methodvalidate_input_sizes
( cls, value: list[tuple[int, int]] | None )
server/backend/insightface_server/api/schemas.py:48
Methodvalidate_input_sizes
( cls, value: list[tuple[int, int]] | None )
server/backend/insightface_server/api/schemas.py:64
Methodvalidate_optional_collection_id
(cls, value: str | None)
server/backend/insightface_server/api/schemas.py:219
Methodvalidate_patch
(self)
server/backend/insightface_server/api/schemas.py:179
Methodvalidate_patch
(self)
server/backend/insightface_server/api/schemas.py:223
Methodvalidate_rtsp_url
(cls, value: str)
server/backend/insightface_server/api/schemas.py:149
Functionvalidation
(args)
recognition/arcface_paddle/dynamic/validation.py:24
Functionvalidation_error_handler
(request: Request, exc: RequestValidationError)
server/backend/insightface_server/app.py:400
Methodvalidation_step
(self, batch, batch_idx)
reconstruction/gaze/models.py:49
Methodvalidation_step
(self, batch, batch_idx)
alignment/synthetics/trainer_synthetics.py:47
Functionvalue
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:12094
Methodvalue
return the value of an iterator
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:12222
Functionvec_from_angles
(rx, ry)
reconstruction/gaze/test_gaze.py:38
Functionverification
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_1n.py:115
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/partial_fc/mxnet/evaluation/ijb.py:254
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/vpl/eval_ijbc.py:282
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/vpl/onnx_ijbc.py:147
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_onnx.py:147
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_11.py:183
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/arcface_torch/eval_ijbc.py:282
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/arcface_torch/onnx_ijbc.py:148
Functionverification2
(template_norm_feats=None, unique_templates=None, p1=None, p2=None)
recognition/arcface_oneflow/eval/onnx_ijbc.py:153
Methodvgg_ssd_loss
(self)
detection/retinaface/rcnn/symbol/pyramidbox.py:435
Functionview_table_in_terminal
Displays the database table of face identities in the terminal. Notes: Logs an error if the operation to view the table fails.
cpp-package/inspireface/python/inspireface/modules/inspireface.py:1203
Functionvoc_classes
()
detection/scrfd/mmdet/core/evaluation/class_names.py:8
Methodvote
(self, det)
detection/retinaface_anticov/retinaface_cov.py:706
Methodwarmup
(self)
python-package/insightface/gui/pages/model_settings_page.py:112
Methodwarmup
(self)
python-package/insightface/gui/core/face_engine.py:207
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
detection/scrfd/mmdet/models/losses/utils.py:55
MethodwheelEvent
(self, event)
python-package/insightface/gui/widgets/image_viewer.py:87
Methodwide_string_input_adapter
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:5501
Functionwider_face_classes
()
detection/scrfd/mmdet/core/evaluation/class_names.py:4
Methodwith_bbox
bool: whether the RoI head contains a `bbox_head`
detection/scrfd/mmdet/models/roi_heads/base_roi_head.py:34
Methodwith_bbox
bool: whether the detector has a bbox head
detection/scrfd/mmdet/models/detectors/base.py:35
Methodwith_mask
bool: whether the RoI head contains a `mask_head`
detection/scrfd/mmdet/models/roi_heads/base_roi_head.py:39
Methodwith_mask
bool: whether the detector has a mask head
detection/scrfd/mmdet/models/detectors/base.py:41
← previousnext →8,701–8,800 of 8,893, ranked by callers