SYMBOL INDEX (154 symbols across 7 files) FILE: ip_adapter/instantId.py class InstantId (line 4) | class InstantId(torch.nn.Module): method __init__ (line 5) | def __init__(self, ip_adapter): class CrossAttentionPatch (line 17) | class CrossAttentionPatch: method __init__ (line 18) | def __init__(self, scale, instantId, cond, number): method set_new_condition (line 24) | def set_new_condition(self, scale, instantId, cond, number): method __call__ (line 30) | def __call__(self, q, k, v, extra_options): FILE: ip_adapter/resampler.py function FeedForward (line 8) | def FeedForward(dim, mult=4): function reshape_tensor (line 17) | def reshape_tensor(x, heads): class PerceiverAttention (line 28) | class PerceiverAttention(nn.Module): method __init__ (line 29) | def __init__(self, *, dim, dim_head=64, heads=8): method forward (line 43) | def forward(self, x, latents): class Resampler (line 75) | class Resampler(nn.Module): method __init__ (line 76) | def __init__( method forward (line 107) | def forward(self, x): FILE: nodes.py function proxy_handle (line 31) | async def proxy_handle(request): class FaceEmbed (line 85) | class FaceEmbed: method __init__ (line 86) | def __init__(self): method INPUT_TYPES (line 90) | def INPUT_TYPES(self): method make_face_embed (line 106) | def make_face_embed(self, insightface, face_image, face_embeds = None): class FaceEmbedCombine (line 123) | class FaceEmbedCombine: method __init__ (line 124) | def __init__(self): method INPUT_TYPES (line 128) | def INPUT_TYPES(self): method combine_face_embed (line 141) | def combine_face_embed(self, resampler, face_embeds): class AngleFromFace (line 149) | class AngleFromFace: method __init__ (line 151) | def __init__(self): method INPUT_TYPES (line 155) | def INPUT_TYPES(self): method get_angle (line 174) | def get_angle( class AngleFromKps (line 193) | class AngleFromKps: method __init__ (line 195) | def __init__(self): method INPUT_TYPES (line 199) | def INPUT_TYPES(self): method get_angle (line 212) | def get_angle(self, kps_data, rotate_mode): class ComposeRotated (line 224) | class ComposeRotated: method __init__ (line 225) | def __init__(self): method INPUT_TYPES (line 229) | def INPUT_TYPES(self): method compose_rotate (line 242) | def compose_rotate(self, original_image, rotated_image): class RotateImage (line 265) | class RotateImage: method INPUT_TYPES (line 267) | def INPUT_TYPES(self): method rotate_and_pad_image (line 281) | def rotate_and_pad_image(self, image, angle, counter_clockwise): class LoadInstantIdAdapter (line 291) | class LoadInstantIdAdapter: method __init__ (line 292) | def __init__(self): method INPUT_TYPES (line 296) | def INPUT_TYPES(self): method load_instantId_adapter (line 308) | def load_instantId_adapter(self, ipadapter): class InstantIdAdapterApply (line 328) | class InstantIdAdapterApply: method __init__ (line 329) | def __init__(self): method INPUT_TYPES (line 333) | def INPUT_TYPES(self): method apply_instantId_adapter (line 348) | def apply_instantId_adapter(self, model, instantId_adapter, face_condi... class ControlNetInstantIdApply (line 379) | class ControlNetInstantIdApply: method INPUT_TYPES (line 381) | def INPUT_TYPES(self): method apply_controlnet (line 398) | def apply_controlnet(self, positive, negative, face_conditioning, cont... class InstantIdAndControlnetApply (line 433) | class InstantIdAndControlnetApply: method __init__ (line 434) | def __init__(self): method INPUT_TYPES (line 438) | def INPUT_TYPES(self): method apply_instantId_adapter_and_controlnet (line 458) | def apply_instantId_adapter_and_controlnet( class PreprocessImageAdvanced (line 489) | class PreprocessImageAdvanced: method __init__ (line 493) | def __init__(self): method INPUT_TYPES (line 497) | def INPUT_TYPES(self): method preprocess_image (line 521) | def preprocess_image( class PreprocessImage (line 571) | class PreprocessImage(PreprocessImageAdvanced): method __init__ (line 572) | def __init__(self): method INPUT_TYPES (line 576) | def INPUT_TYPES(self): method preprocess_image_simple (line 594) | def preprocess_image_simple(self, image, mask, width, height, resize_m... class LoadInsightface (line 601) | class LoadInsightface: method __init__ (line 602) | def __init__(self): method INPUT_TYPES (line 606) | def INPUT_TYPES(self): method load_insightface (line 614) | def load_insightface(self): class KpsDraw (line 625) | class KpsDraw: method INPUT_TYPES (line 627) | def INPUT_TYPES(self): method draw_kps (line 644) | def draw_kps(self, width, height, kps, image_reference = None): class Kps3dFromImage (line 649) | class Kps3dFromImage: method INPUT_TYPES (line 651) | def INPUT_TYPES(self): method make_kps (line 668) | def make_kps(self, width, height, kps, image): class KpsMaker (line 676) | class KpsMaker: method INPUT_TYPES (line 678) | def INPUT_TYPES(self): method draw_kps (line 690) | def draw_kps(self, kps_data): class Kps2dRandomizer (line 700) | class Kps2dRandomizer: method INPUT_TYPES (line 702) | def INPUT_TYPES(self): method rand_kps (line 722) | def rand_kps(self, kps_data, seed, angle_min, angle_max, scale_min, sc... class Kps3dRandomizer (line 819) | class Kps3dRandomizer: method INPUT_TYPES (line 821) | def INPUT_TYPES(self): method rand_kps (line 837) | def rand_kps(self, kps_data_3d, seed, rotate_x, rotate_y, rotate_z): class Kps2dScaleBy (line 866) | class Kps2dScaleBy: method INPUT_TYPES (line 868) | def INPUT_TYPES(self): method scale_kps_by (line 881) | def scale_kps_by(self, kps_data, scale): class Kps2dScale (line 895) | class Kps2dScale: method INPUT_TYPES (line 897) | def INPUT_TYPES(self): method scale_kps (line 911) | def scale_kps(self, kps_data, width, height): class Kps2dRotate (line 928) | class Kps2dRotate: method INPUT_TYPES (line 930) | def INPUT_TYPES(self): method rotate_kps (line 944) | def rotate_kps(self, kps_data, angle, counter_clockwise): class Kps2dCrop (line 962) | class Kps2dCrop: method INPUT_TYPES (line 964) | def INPUT_TYPES(self): method crop_kps (line 980) | def crop_kps(self, kps_data, x, y, width, height): class MaskFromKps (line 996) | class MaskFromKps: method INPUT_TYPES (line 998) | def INPUT_TYPES(self): method creat_mask (line 1011) | def creat_mask(self, kps_data, grow_by): FILE: ui/dialogs.js class KPSDialogBase (line 5) | class KPSDialogBase { method constructor (line 6) | constructor(w, h, img = undefined) { method initializeCanvasPanZoom (line 49) | initializeCanvasPanZoom () { method invalidatePanZoom (line 73) | invalidatePanZoom () { method setBasicControls (line 96) | setBasicControls () { method createZoomSlider (line 162) | createZoomSlider () { method drawMoveAll (line 170) | drawMoveAll () { class KPSDialog2d (line 191) | class KPSDialog2d extends KPSDialogBase{ method constructor (line 192) | constructor(w, h, referenceImage, angleWidget, kpsJsonWidget) { method getDefaultKps (line 229) | getDefaultKps () { method setControls (line 241) | setControls () { method createOpacitySlider (line 248) | createOpacitySlider () { method attachListeners (line 256) | attachListeners () { method closeModal (line 271) | closeModal () { method save (line 275) | async save () { method changePointsPosition (line 309) | changePointsPosition(closer = false, step = 10) { method mouseDown (line 349) | mouseDown (event) { method mouseMove (line 389) | mouseMove (event) { method mouseUp (line 425) | mouseUp (event) { method wheel (line 433) | wheel (event) { method draw (line 450) | draw () { method drawKeyPoints (line 456) | drawKeyPoints (canvas = this.canvas) { method drawImage (line 460) | drawImage (ref_image) { method drawImageWebGL2 (line 474) | drawImageWebGL2 (gl, image) { class KPSDialog3d (line 526) | class KPSDialog3d extends KPSDialogBase{ method constructor (line 527) | constructor(w, h, angleWidget, kpsJsonWidget) { method getDefaultKps (line 564) | getDefaultKps () { method setControls (line 581) | setControls () { method createRotationXSlider (line 590) | createRotationXSlider () { method createRotationYSlider (line 598) | createRotationYSlider () { method createRotationZSlider (line 606) | createRotationZSlider () { method attachListeners (line 614) | attachListeners () { method closeModal (line 629) | closeModal () { method save (line 633) | async save () { method changePointsPosition (line 663) | changePointsPosition(closer = false, step = 10) { method mouseDown (line 706) | mouseDown (event) { method mouseMove (line 740) | mouseMove (event) { method mouseUp (line 774) | mouseUp (event) { method wheel (line 782) | wheel (event) { method draw (line 799) | draw () { method drawLandmarks (line 809) | drawLandmarks (p, canvas = this.canvas) { method drawKeyPoints (line 824) | drawKeyPoints (canvas = this.canvas) { FILE: ui/extension.js method getCustomWidgets (line 8) | getCustomWidgets(app) { method beforeRegisterNodeDef (line 24) | async beforeRegisterNodeDef(nodeType, nodeData, app) { FILE: ui/helpers.js function rotateX (line 165) | function rotateX(point, angle) { function rotateY (line 175) | function rotateY(point, angle) { function rotateZ (line 185) | function rotateZ(point, angle) { FILE: utils.py function draw_kps (line 10) | def draw_kps(w, h, kps, color_list=[(255, 0, 0), (0, 255, 0), (0, 0, 255... function set_model_patch_replace (line 47) | def set_model_patch_replace(model, patch_kwargs, key): function resize_to_fit_area (line 66) | def resize_to_fit_area(original_width, original_height, area_width, area... function get_mask_bbox_with_padding (line 85) | def get_mask_bbox_with_padding(mask_image, pad_top, pad_right, pad_botto... function get_kps_from_image (line 105) | def get_kps_from_image(image, insightface): function get_angle (line 113) | def get_angle(a=(0, 0), b=(0, 0), round_angle=False): function calculate_size_after_rotation (line 123) | def calculate_size_after_rotation(width, height, angle): function image_rotate_with_pad (line 132) | def image_rotate_with_pad(image, clockwise, angle): function kps_rotate_2d (line 143) | def kps_rotate_2d(points, original_width, original_height, new_width, ne... function kps_rotate_3d (line 174) | def kps_rotate_3d(points, angleXDeg, angleYDeg, angleZDeg): function kps3d_to_kps2d (line 218) | def kps3d_to_kps2d (kps): function get_bbox_from_kps (line 234) | def get_bbox_from_kps (kps_data, grow_by):