Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepinsight/insightface
/ functions
Functions
8,893 in github.com/deepinsight/insightface
⨍
Functions
8,893
◇
Types & classes
1,465
↳
Endpoints
39
Method
train
Convert the model into training mode while keep normalization layer freezed.
detection/scrfd/mmdet/models/backbones/resnet.py:675
Method
train
(self, mode=True)
detection/scrfd/mmdet/models/roi_heads/shared_heads/res_layer.py:72
Method
train_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
Method
train_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
Function
training_loop
( G_args = {}, # Options for generator network. D_args = {},
reconstruction/ostec/external/stylegan2/training/training_loop.py:105
Method
training_step
(self, batch, batch_idx)
reconstruction/gaze/models.py:42
Method
training_step
(self, batch, batch_idx)
alignment/synthetics/trainer_synthetics.py:31
Function
trans_points
(pts, M)
web-demos/src_recognition/face_align.py:136
Function
trans_points
(pts, M)
python-package/insightface/utils/face_align.py:98
Function
trans_points
(pts, M)
python-package/insightface/utils/transform.py:53
Function
transform
(data, center, output_size, scale, rotation)
web-demos/src_recognition/face_align.py:90
Function
transform
(data, center, output_size, scale, rotation)
python-package/insightface/utils/face_align.py:52
Function
transform
(data, center, output_size, scale, rotation)
python-package/insightface/utils/transform.py:7
Function
transform_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
Function
transform_pt
(pt, trans)
alignment/heatmap/img_helper.py:27
Method
translate
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
Method
translate
Translate the PolygonMasks.
detection/scrfd/mmdet/core/mask/structures.py:666
Method
translate
(self, *args)
cpp-package/inspireface/python/inspireface/modules/core/native.py:336
Method
truncated
(self)
server/sdk/python/src/insightface_server/results.py:250
Function
try_import_cv2
Try import cv2 at runtime. Returns ------- cv2 module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:54
Function
try_import_dali
Try import NVIDIA DALI at runtime.
python-package/insightface/utils/filesystem.py:142
Function
try_import_mmcv
Try import mmcv at runtime. Returns ------- mmcv module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:68
Function
try_import_rarfile
Try import rarfile at runtime. Returns ------- rarfile module if found. Raise ImportError otherwise
python-package/insightface/utils/filesystem.py:82
Function
tuple_product
Calculate the product of the tuple elements.
reconstruction/ostec/external/stylegan2/dnnlib/util.py:135
Method
ubjson_prefix
! @brief determine the type prefix of container values */
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:14722
Function
uintCompare
detection/retinaface/rcnn/pycocotools/maskApi.c:157
Function
unavailable
(request: httpx.Request)
server/tests/sdk/test_client.py:659
Method
unavailable
(self)
python-package/insightface/gui/pages/camera_recognition_page.py:31
Function
unexpected_analyze
(*_args, **_kwargs)
server/tests/api/test_external_trusted.py:303
Function
unexpected_error_handler
(request: Request, exc: Exception)
server/backend/insightface_server/app.py:416
Function
unflatten
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:12998
Function
unique_boxes
return indices of unique boxes
detection/retinaface/rcnn/dataset/ds_utils.py:4
Function
unpack_bz2
(src_path)
reconstruction/ostec/utils/utils.py:138
Function
unpack_bz2
(src_path)
reconstruction/ostec/core/perceptual_model.py:58
Method
unwind_key
(obj)
reconstruction/ostec/external/stylegan2/dnnlib/tflib/network.py:392
Function
update
@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
Function
update
()
server/frontend/app.mjs:902
Function
update
()
server/tests/unit/test_search_manager.py:444
Function
update
()
server/tests/unit/test_rtsp_manager.py:335
Method
update
(self, index, weight, grad, state)
recognition/partial_fc/mxnet/optimizer.py:31
Method
update
(self, weight, grad, state, learning_rate)
recognition/partial_fc/mxnet/optimizer.py:56
Method
update
(self, labels, preds)
recognition/arcface_mxnet/metric.py:15
Method
update
(self, labels, preds)
recognition/arcface_mxnet/metric.py:41
Method
update
(self, labels, preds)
detection/retinaface/rcnn/core/metric.py:109
Method
update
(self, labels, preds)
detection/retinaface/rcnn/core/metric.py:146
Method
update
cpp-package/inspireface/cpp/inspireface/track_module/tracker_optional/bytetrack/BYTETracker.cpp:17
Method
update
cpp-package/inspireface/cpp/inspireface/track_module/tracker_optional/bytetrack/kalmanFilter.cpp:80
Method
update
(self, labels, preds)
alignment/heatmap/metric.py:17
Method
update
(self, labels, preds)
alignment/heatmap/metric.py:98
Method
update
(self, index, weight, grad, state)
alignment/heatmap/optimizer.py:30
Function
updateConfig
Update configuration (thread-safe)
cpp-package/inspireface/cpp/inspireface/include/inspireface/similarity_converter.h:65
Method
update_collection
(self, collection_id: str, changes: dict[str, Any])
server/backend/insightface_server/services/core.py:884
Method
update_metric
(self, eval_metric, labels)
recognition/subcenter_arcface/parall_module_local_v1.py:443
Method
update_metric
(self, eval_metric, labels)
recognition/arcface_mxnet/parall_module_local_v1.py:400
Method
update_metric
(self, eval_metric, labels)
detection/retinaface/rcnn/core/module_bak.py:253
Method
update_multi_precision
(self, index, weight, grad, state)
recognition/partial_fc/mxnet/optimizer.py:35
Method
update_progress
(self, current: int, total: int, message: str = "")
python-package/insightface/gui/widgets/progress_dialog.py:16
Method
useAppContext
()
cpp-package/inspireface/android/InspireFaceExample/app/src/androidTest/java/com/example/inspireface_example/ExampleInstrumentedTest.java:20
Method
useAppContext
()
cpp-package/inspireface/android/InspireFaceExample_old/app/src/androidTest/java/com/example/inspireface_example/ExampleInstrumentedTest.java:20
Function
use_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
Method
use_selected_model
(self)
python-package/insightface/gui/pages/model_download_page.py:150
Method
val_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
Method
valid_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
Method
validate_dataset
(self)
python-package/insightface/gui/pages/enterprise_eval_page.py:1093
Method
validate_input_sizes
( cls, value: list[tuple[int, int]] | None )
server/backend/insightface_server/api/schemas.py:48
Method
validate_input_sizes
( cls, value: list[tuple[int, int]] | None )
server/backend/insightface_server/api/schemas.py:64
Method
validate_optional_collection_id
(cls, value: str | None)
server/backend/insightface_server/api/schemas.py:219
Method
validate_patch
(self)
server/backend/insightface_server/api/schemas.py:179
Method
validate_patch
(self)
server/backend/insightface_server/api/schemas.py:223
Method
validate_rtsp_url
(cls, value: str)
server/backend/insightface_server/api/schemas.py:149
Function
validation
(args)
recognition/arcface_paddle/dynamic/validation.py:24
Function
validation_error_handler
(request: Request, exc: RequestValidationError)
server/backend/insightface_server/app.py:400
Method
validation_step
(self, batch, batch_idx)
reconstruction/gaze/models.py:49
Method
validation_step
(self, batch, batch_idx)
alignment/synthetics/trainer_synthetics.py:47
Function
value
! @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
Method
value
return the value of an iterator
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:12222
Function
vec_from_angles
(rx, ry)
reconstruction/gaze/test_gaze.py:38
Function
verification
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_1n.py:115
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/partial_fc/mxnet/evaluation/ijb.py:254
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/vpl/eval_ijbc.py:282
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/vpl/onnx_ijbc.py:147
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_onnx.py:147
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/_evaluation_/ijb/ijb_11.py:183
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/arcface_torch/eval_ijbc.py:282
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None,
recognition/arcface_torch/onnx_ijbc.py:148
Function
verification2
(template_norm_feats=None, unique_templates=None, p1=None, p2=None)
recognition/arcface_oneflow/eval/onnx_ijbc.py:153
Method
vgg_ssd_loss
(self)
detection/retinaface/rcnn/symbol/pyramidbox.py:435
Function
view_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
Function
voc_classes
()
detection/scrfd/mmdet/core/evaluation/class_names.py:8
Method
vote
(self, det)
detection/retinaface_anticov/retinaface_cov.py:706
Method
warmup
(self)
python-package/insightface/gui/pages/model_settings_page.py:112
Method
warmup
(self)
python-package/insightface/gui/core/face_engine.py:207
Function
weighted_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
Method
wheelEvent
(self, event)
python-package/insightface/gui/widgets/image_viewer.py:87
Method
wide_string_input_adapter
cpp-package/inspireface/cpp/inspireface/middleware/nlohmann/json.hpp:5501
Function
wider_face_classes
()
detection/scrfd/mmdet/core/evaluation/class_names.py:4
Method
with_bbox
bool: whether the RoI head contains a `bbox_head`
detection/scrfd/mmdet/models/roi_heads/base_roi_head.py:34
Method
with_bbox
bool: whether the detector has a bbox head
detection/scrfd/mmdet/models/detectors/base.py:35
Method
with_mask
bool: whether the RoI head contains a `mask_head`
detection/scrfd/mmdet/models/roi_heads/base_roi_head.py:39
Method
with_mask
bool: whether the detector has a mask head
detection/scrfd/mmdet/models/detectors/base.py:41
← previous
next →
8,701–8,800 of 8,893, ranked by callers