MCPcopy Create free account

hub / github.com/HRNet/HigherHRNet-Human-Pose-Estimation / functions

Functions201 in github.com/HRNet/HigherHRNet-Human-Pose-Estimation

↓ 1 callersMethodprocessKeypoints
(self, keypoints)
lib/dataset/CrowdPoseDataset.py:133
↓ 1 callersFunctionpy_max_match
(scores)
lib/core/group.py:18
↓ 1 callersMethodrefine
Given initial keypoint predictions, we identify missing joints :param det: numpy.ndarray of size (17, 128, 128) :param tag: n
lib/core/group.py:198
↓ 1 callersMethodreset
(self)
lib/utils/utils.py:228
↓ 1 callersFunctionresize_align_multi_scale
(image, input_size, current_scale, min_scale)
lib/utils/transforms.py:179
↓ 1 callersFunctionsave_checkpoint
(states, is_best, output_dir, filename='checkpoint.pth.tar')
lib/utils/utils.py:94
↓ 1 callersFunctionsave_debug_images
( config, batch_images, batch_heatmaps, batch_masks, batch_outputs, prefix )
lib/utils/vis.py:209
↓ 1 callersFunctionsave_valid_image
(image, joints, file_name, dataset='COCO')
lib/utils/vis.py:50
↓ 1 callersMethodsingleTagLoss
associative embedding loss for one image
lib/core/loss.py:46
↓ 1 callersFunctiontest_ae_loss
()
lib/core/loss.py:299
↓ 1 callersMethodtop_k
(self, det, tag)
lib/core/group.py:140
↓ 1 callersFunctiontransform_preds
(coords, center, scale, output_size)
lib/utils/transforms.py:50
↓ 1 callersMethodupdate_master_grads
Copy the ``.grad`` attribute from stored references to fp16 parameters to the ``.grad`` attribute of the fp32 master parameters that
lib/fp16_utils/fp16_optimizer.py:477
↓ 1 callersMethodupdate_scale
(self, overflow)
lib/fp16_utils/loss_scaler.py:66
↓ 1 callersMethodzero_grad
Zero fp32 and fp16 parameter grads.
lib/fp16_utils/fp16_optimizer.py:199
Method__call__
(self, joints)
lib/dataset/target_generators/target_generators.py:28
Method__call__
(self, joints)
lib/dataset/target_generators/target_generators.py:66
Method__call__
(self, joints)
lib/dataset/target_generators/target_generators.py:99
Method__call__
(self, image, mask, joints)
lib/dataset/transforms/transforms.py:25
Method__call__
(self, image, mask, joints)
lib/dataset/transforms/transforms.py:40
Method__call__
(self, image, mask, joints)
lib/dataset/transforms/transforms.py:49
Method__call__
(self, image, mask, joints)
lib/dataset/transforms/transforms.py:61
Method__call__
(self, image, mask, joints)
lib/dataset/transforms/transforms.py:131
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target). target is the object returned by ``coco.load
lib/dataset/COCODataset.py:96
Method__getitem__
(self, idx)
lib/dataset/CrowdPoseKeypoints.py:62
Method__getitem__
(self, idx)
lib/dataset/COCOKeypoints.py:63
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target). target is the object returned by ``coco.load
lib/dataset/CrowdPoseDataset.py:84
Method__getstate__
(self)
lib/fp16_utils/fp16_optimizer.py:193
Method__init__
(self)
lib/utils/utils.py:225
Method__init__
(self, root, dataset, data_format, transform=None, target_transform=None)
lib/dataset/COCODataset.py:42
Method__init__
(self, cfg, dataset_name, remove_images_without_annotations
lib/dataset/CrowdPoseKeypoints.py:24
Method__init__
(self, cfg, dataset_name, remove_images_without_annotations
lib/dataset/COCOKeypoints.py:25
Method__init__
(self, root, dataset, data_format, transform=None, target_transform=None)
lib/dataset/CrowdPoseDataset.py:41
Method__init__
(self, output_res, num_joints, sigma=-1)
lib/dataset/target_generators/target_generators.py:16
Method__init__
(self, output_res, num_joints)
lib/dataset/target_generators/target_generators.py:54
Method__init__
(self, max_num_people, num_joints, output_res, tag_per_joint)
lib/dataset/target_generators/target_generators.py:93
Method__init__
(self, transforms)
lib/dataset/transforms/transforms.py:22
Method__init__
(self, mean, std)
lib/dataset/transforms/transforms.py:45
Method__init__
(self, flip_index, output_size, prob=0.5)
lib/dataset/transforms/transforms.py:55
Method__init__
(self, input_size, output_size, max_rotation,
lib/dataset/transforms/transforms.py:78
Method__init__
(self)
lib/core/loss.py:30
Method__init__
(self, use_target_weight)
lib/core/loss.py:107
Method__init__
(self, cfg)
lib/core/loss.py:134
Method__init__
(self, cfg)
lib/core/loss.py:179
Method__init__
(self, cfg)
lib/core/group.py:100
Method__init__
(self, cfg)
lib/core/group.py:123
Method__init__
(self)
lib/fp16_utils/fp16util.py:61
Method__init__
(self, scale=1)
lib/fp16_utils/loss_scaler.py:55
Method__init__
(self, init_scale=2 ** 32, scale_factor=2., scale_window=10
lib/fp16_utils/loss_scaler.py:105
Method__init__
(self, init_optimizer, static_loss_scale=1.0, dynamic_loss_
lib/fp16_utils/fp16_optimizer.py:117
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
lib/models/pose_higher_hrnet.py:68
Method__init__
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels, fuse_method, multi_sca
lib/models/pose_higher_hrnet.py:107
Method__init__
(self, cfg, **kwargs)
lib/models/pose_higher_hrnet.py:254
Method__repr__
(self)
lib/dataset/COCODataset.py:135
Method__repr__
(self)
lib/dataset/CrowdPoseDataset.py:123
Method__repr__
(self)
lib/dataset/transforms/transforms.py:30
Method__setstate__
(self, state)
lib/fp16_utils/fp16_optimizer.py:196
Method_get_loss_scale
(self)
lib/fp16_utils/fp16_optimizer.py:515
Method_get_param_groups
(self)
lib/fp16_utils/fp16_optimizer.py:534
Method_get_state
(self)
lib/fp16_utils/fp16_optimizer.py:524
Method_has_inf_or_nan
(x)
lib/fp16_utils/loss_scaler.py:63
Method_set_loss_scale
(self, value)
lib/fp16_utils/fp16_optimizer.py:518
Method_set_param_groups
(self, value)
lib/fp16_utils/fp16_optimizer.py:537
Method_set_state
(self, value)
lib/fp16_utils/fp16_optimizer.py:527
Functionadd_hooks
(module)
lib/utils/utils.py:120
Methodbackward
(self, loss)
lib/fp16_utils/loss_scaler.py:165
Methodbackward
:attr:`backward` performs the following conceptual steps: 1. fp32_loss = loss.float() (see first Note below) 2. scaled_loss =
lib/fp16_utils/fp16_optimizer.py:425
Functionbackwards_debug_hook
(grad)
lib/fp16_utils/fp16util.py:94
Methodclip_master_grads
Clips fp32 master gradients via ``torch.nn.utils.clip_grad_norm``. Args: max_norm (float or int): max norm of the gradien
lib/fp16_utils/fp16_optimizer.py:255
Functioncrop
(img, center, scale, output_size, rot=0)
lib/utils/transforms.py:117
Functionflip_back
ouput_flipped: numpy.ndarray(batch_size, num_joints, height, width)
lib/utils/transforms.py:16
Functionfliplr_joints
flip coords
lib/utils/transforms.py:33
Methodforward
(self, pred, gt, mask)
lib/core/loss.py:33
Methodforward
accumulate the tag loss for each image in the batch
lib/core/loss.py:92
Methodforward
(self, output, target, target_weight)
lib/core/loss.py:112
Methodforward
(self, outputs, heatmaps, masks, joints)
lib/core/loss.py:154
Methodforward
(self, outputs, heatmaps, masks, joints)
lib/core/loss.py:207
Methodforward
(self, input)
lib/fp16_utils/fp16util.py:50
Methodforward
(self, input)
lib/fp16_utils/fp16util.py:64
Methodforward
(self, x)
lib/models/pose_higher_hrnet.py:46
Methodforward
(self, x)
lib/models/pose_higher_hrnet.py:83
Methodforward
(self, x)
lib/models/pose_higher_hrnet.py:225
Methodforward
(self, x)
lib/models/pose_higher_hrnet.py:474
Functionget_outputs
( cfg, model, image, with_flip=False, project2image=False, size_projected=None )
lib/core/inference.py:18
Functionget_pose_net
(cfg, is_train, **kwargs)
lib/models/pose_higher_hrnet.py:564
Methodhas_overflow
(self, params)
lib/fp16_utils/loss_scaler.py:116
Functionhook
(module, input, output)
lib/utils/utils.py:122
Functionimread
(filename, flags=cv2.IMREAD_COLOR)
lib/utils/zipreader.py:23
Methodinspect_master_grad_data
When running with :class:`FP16_Optimizer`, ``.grad`` attributes of a model's fp16 leaves should not be regarded as truthful,
lib/fp16_utils/fp16_optimizer.py:490
Methodloss_scale
(self)
lib/fp16_utils/loss_scaler.py:70
Methodloss_scale
(self)
lib/fp16_utils/loss_scaler.py:159
Functionprep_param_lists
Creates a list of FP32 master parameters for a given model, as in `Training Neural Networks with Mixed Precision: Real Examples`_. Args:
lib/fp16_utils/fp16util.py:98
Functionresize
(image, input_size)
lib/utils/transforms.py:128
Functionsave_batch_image_with_joints
batch_image: [batch_size, channel, height, width] batch_joints: [batch_size, num_joints, 3], batch_joints_vis: [batch_size, num_joints, 1
lib/utils/vis.py:117
Methodscale_gradient
(self, module, grad_in, grad_out)
lib/fp16_utils/loss_scaler.py:73
Methodscale_gradient
(self, module, grad_in, grad_out)
lib/fp16_utils/loss_scaler.py:162
Functionto_python_float
(t)
lib/fp16_utils/fp16util.py:177
Functionto_python_float
(t)
lib/fp16_utils/loss_scaler.py:38
Methodupdate_scale
(self, overflow)
lib/fp16_utils/loss_scaler.py:148
Methodwrapped_closure
()
lib/fp16_utils/fp16_optimizer.py:387
← previousnext →101–200 of 201, ranked by callers