identifier stringlengths 24 117 | embedding listlengths 2.56k 2.56k | tokens listlengths 4 444 |
|---|---|---|
sam/image_processing_sam.py:SamImageProcessor | [
-0.00029618159169331193,
0.03859638422727585,
-0.006565953139215708,
0.0027548454236239195,
-0.0013203275157138705,
0.03905314579606056,
-0.015187335200607777,
-0.04681809991598129,
-0.002483643125742674,
0.025692859664559364,
0.011875811032950878,
0.011133572086691856,
-0.000592363183386623... | [
"BILINEAR",
"BatchFeature",
"ChannelDimension",
"F",
"FIRST",
"False",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"Input",
"ModelImageProcessor",
"ModelImageProcessorKwargs",
"Modele",
"NEAREST",
"None",
"PILImageReModelpling",
"SizeDict",
"Tensor",
"TorchvisionBackend",
"T... |
sam/image_processing_sam.py:_compute_stability_score | [
-0.00007422093767672777,
0.008713274262845516,
0.013997454196214676,
-0.03552767634391785,
-0.00018181934137828648,
0.03148021921515465,
-0.0025718214455991983,
-0.014615815132856369,
0.015290391631424427,
0.011242935433983803,
0.03440338000655174,
0.024734457954764366,
-0.000948622648138552... | [
"_compute_stability_score",
"def",
"dtype",
"int16",
"int32",
"intersections",
"mask_threshold",
"masks",
"return",
"stability_score_offset",
"stability_scores",
"sum",
"torch",
"unions"
] |
sam/image_processing_sam.py:_batched_mask_to_box | [
-0.00005730432167183608,
-0.02777203731238842,
0.009742609225213528,
-0.028667908161878586,
-0.0002922083076555282,
0.030235685408115387,
-0.011422369629144669,
-0.07480532675981522,
0.01119840145111084,
0.00879074539989233,
-0.006859021261334419,
0.018701331689953804,
-0.005571204703301191,... | [
"None",
"_",
"_batched_mask_to_box",
"arange",
"bottom_edges",
"def",
"device",
"dim",
"empty_filter",
"height",
"if",
"in_height",
"in_height_coords",
"in_width",
"in_width_coords",
"left_edges",
"masks",
"max",
"min",
"numel",
"out",
"reshape",
"return",
"right_edges"... |
sam/image_processing_sam.py:_is_box_near_crop_edge | [
-0.0002852178877219558,
-0.01790953055024147,
0.020090818405151367,
-0.04270734265446663,
-0.001413532649166882,
0.03421179577708244,
-0.011480468325316906,
-0.0596984326839447,
0.003731152042746544,
0.03237491846084595,
-0.00019911436538677663,
0.03122687339782715,
0.001499636098742485,
-... | [
"None",
"_",
"_is_box_near_crop_edge",
"any",
"as_tensor",
"atol",
"boxes",
"crop_box",
"crop_box_torch",
"def",
"device",
"dim",
"dtype",
"float",
"if",
"isclose",
"left",
"len",
"logical_and",
"near_crop_edge",
"near_image_edge",
"offset",
"orig_box",
"orig_box_torch"... |
sam/image_processing_sam.py:_pad_masks | [
-0.000021583815396297723,
-0.025450589135289192,
0.009990472346544266,
-0.03884563595056534,
-0.00018487955094315112,
0.04130139574408531,
-0.02946910262107849,
-0.07501226663589478,
0.015627555549144745,
0.022771580144762993,
-0.02132044918835163,
0.015292678959667683,
0.0000610451388638466... | [
"_pad_masks",
"and",
"bottom",
"crop_box",
"def",
"functional",
"if",
"left",
"masks",
"nn",
"orig_height",
"orig_width",
"pad",
"pad_x",
"pad_y",
"return",
"right",
"top",
"torch",
"value"
] |
sam/image_processing_sam.py:_generate_crop_boxes | [
-0.00032523489790037274,
0.017114583402872086,
0.004394284915179014,
-0.013645411469042301,
-0.0015322178369387984,
0.046718187630176544,
0.003989548422396183,
-0.04486796259880066,
0.0045966533944010735,
0.021046312525868416,
-0.0029632514342665672,
-0.02983488142490387,
-0.0019947742111980... | [
"Only",
"ValueError",
"_build_point_grid",
"_generate_crop_boxes",
"_generate_crop_images",
"_generate_per_layer_crops",
"allowed",
"append",
"crop",
"crop_boxes",
"crop_n_layers",
"crop_n_points_downscale_factor",
"cropped_images",
"def",
"dtype",
"float",
"for",
"generation",
"... |
sam/image_processing_sam.py:_generate_per_layer_crops | [
-0.00018473531235940754,
0.008202601224184036,
0.012501896359026432,
0,
-0.000558625441044569,
0.043219223618507385,
-0.008994576521217823,
-0.04208783060312271,
0.005260978825390339,
0.025908907875418663,
0.011823059991002083,
-0.03643086552619934,
-0.0005055913934484124,
-0.0400513224303... | [
"_generate_per_layer_crops",
"append",
"box",
"ceil",
"crop_box_x0",
"crop_box_y0",
"crop_boxes",
"crop_height",
"crop_n_layers",
"crop_width",
"def",
"for",
"i",
"i_layer",
"im_height",
"im_width",
"in",
"int",
"layer_idxs",
"left",
"math",
"min",
"n_crops_per_side",
"... |
sam/image_processing_sam.py:_build_point_grid | [
-0.000060851580201415345,
-0.014910375699400902,
-0.013853296637535095,
0.0181372482329607,
-0.00017386165563948452,
0.015466732904314995,
0.043840955942869186,
-0.05519064515829086,
0.012462403625249863,
0.05786116048693657,
-0.0027817864902317524,
-0.02614879421889782,
-0.00293478486128151... | [
"None",
"_build_point_grid",
"def",
"dim",
"linspace",
"n_per_side",
"offset",
"points",
"points_one_side",
"points_x",
"points_y",
"reshape",
"return",
"stack",
"tile",
"torch"
] |
sam/image_processing_sam.py:_generate_crop_images | [
-0.00022432254627346992,
0.01952049508690834,
-0.008625335060060024,
-0.013448713347315788,
-0.0011490988545119762,
0.009419773705303669,
-0.00783089641481638,
-0.04176478087902069,
0.005192224867641926,
0.02757837437093258,
-0.00817137025296688,
-0.0011136329267174006,
0.0006135620642453432... | [
"None",
"_generate_crop_images",
"_normalize_coordinates",
"append",
"bottom",
"crop_box",
"crop_boxes",
"cropped_im",
"cropped_im_size",
"cropped_images",
"def",
"dims",
"enumerate",
"flip",
"for",
"i",
"image",
"in",
"input_data_format",
"layer_idxs",
"left",
"normalized_... |
sam/image_processing_sam.py:_normalize_coordinates | [
-0.00018344115233048797,
0.03100769780576229,
0.029659537598490715,
-0.009774165228009224,
-0.0008706871303729713,
-0.005167949479073286,
0.01224579382687807,
-0.05842030048370361,
0.012807527557015419,
0.05931907519698143,
0,
0.005224123131483793,
0.0004704519233200699,
0.0012287923600524... | [
"False",
"_normalize_coordinates",
"coords",
"deepcopy",
"def",
"float",
"if",
"int",
"is_bounding_box",
"max",
"new_height",
"new_width",
"old_height",
"old_width",
"original_size",
"reshape",
"return",
"scale",
"target_size"
] |
sam/image_processing_sam.py:_rle_to_mask | [
-0.00014648611249867827,
-0.030454907566308975,
0.009431930258870125,
0.005909161176532507,
-0.000479409092804417,
0.06363712251186371,
-0.018750222399830818,
-0.07909184694290161,
0.01465926505625248,
-0.009886480867862701,
0.021363889798521996,
-0.021136615425348282,
0.001001432305201888,
... | [
"Any",
"False",
"_rle_to_mask",
"bool",
"count",
"counts",
"def",
"dtype",
"empty",
"for",
"height",
"idx",
"in",
"mask",
"not",
"parity",
"reshape",
"return",
"rle",
"size",
"torch",
"transpose",
"width"
] |
sam/image_processing_sam.py:_post_process_for_mask_generation | [
-0.00018671412544790655,
0.018296197056770325,
-0.012464284896850586,
0.010463138110935688,
-0.0008433403563685715,
0.06266447901725769,
-0.03682109713554382,
-0.05626080930233002,
0.015894822776317596,
-0.008404815569519997,
0.008004586212337017,
0.02161238342523575,
0.0013650679029524326,
... | [
"_post_process_for_mask_generation",
"_rle_to_mask",
"amg_crops_nms_thresh",
"batched_nms",
"boxes",
"def",
"float",
"for",
"i",
"idxs",
"in",
"iou_scores",
"iou_threshold",
"keep_by_nms",
"mask_boxes",
"masks",
"return",
"rle",
"rle_masks",
"scores",
"shape",
"torch",
"z... |
sam/image_processing_sam.py:_mask_to_rle | [
-0.0000482562136312481,
-0.024368727579712868,
0.01590736396610737,
0.004484522622078657,
-0.00010312287486158311,
0.050768181681632996,
-0.024368727579712868,
-0.062275636941194534,
0.014045864343643188,
-0.0005112073849886656,
0.041065819561481476,
-0.0021435455419123173,
0.001558301155455... | [
"_mask_to_rle",
"append",
"batch_size",
"btw_idxs",
"change_indices",
"continue",
"counts",
"cur_idxs",
"def",
"diff",
"else",
"flatten",
"for",
"height",
"i",
"if",
"in",
"input_mask",
"item",
"len",
"nonzero",
"out",
"permute",
"range",
"return",
"shape",
"size"... |
sam/image_processing_pil_sam.py:get_resize_output_image_size | [
-0.00023599238193128258,
0.03111550770699978,
0.06041404977440834,
0.026913778856396675,
-0.0011852850439026952,
0.03997320681810379,
0.011015343479812145,
-0.04224441200494766,
0.010958563536405563,
0.024756133556365967,
0.011867045424878597,
-0.04496985673904419,
0.0005003748228773475,
0... | [
"Model_image_size",
"Model_resize_output_image_size",
"None",
"def",
"else",
"height",
"if",
"input_data_format",
"input_image",
"int",
"longest_edge",
"new_height",
"new_width",
"ratio",
"return",
"width"
] |
sam/image_processing_pil_sam.py:SamImageProcessorKwargs | [
-0.00016278040129691362,
0.010076373815536499,
-0.025617897510528564,
-0.010759517550468445,
-0.001088760676793754,
0.03461262583732605,
0.0314246229827404,
-0.06011666730046272,
0.021746749058365822,
0.021063605323433876,
-0.0016936276806518435,
0.009222443215548992,
0.001964038936421275,
... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"class",
"int",
"mask_pad_size",
"mask_size",
"r",
"total"
] |
sam/image_processing_pil_sam.py:SamImageProcessorPil | [
-0.0002555709215812385,
0.02192230522632599,
-0.01300572045147419,
0.01976415142416954,
-0.0012494578259065747,
0.02328535169363022,
-0.012721752747893333,
-0.04543483257293701,
-0.0004898443003185093,
0.020332086831331253,
0.0011074739741161466,
0.002172352746129036,
-0.0013914416776970029,... | [
"BILINEAR",
"BatchFeature",
"ChannelDimension",
"F",
"FIRST",
"False",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"ImportError",
"Input",
"ModelImageProcessorKwargs",
"ModelImageProcessorPil",
"Modele",
"NEAREST",
"None",
"PILImageReModelpling",
"PilBackend",
"PyTorch",
"Si... |
sam/image_processing_pil_sam.py:_compute_stability_score | [
-0.00007422093767672777,
0.008713274262845516,
0.013997454196214676,
-0.03552767634391785,
-0.00018181934137828648,
0.03148021921515465,
-0.0025718214455991983,
-0.014615815132856369,
0.015290391631424427,
0.011242935433983803,
0.03440338000655174,
0.024734457954764366,
-0.000948622648138552... | [
"_compute_stability_score",
"def",
"dtype",
"int16",
"int32",
"intersections",
"mask_threshold",
"masks",
"return",
"stability_score_offset",
"stability_scores",
"sum",
"torch",
"unions"
] |
sam/image_processing_pil_sam.py:_batched_mask_to_box | [
-0.00005730432167183608,
-0.02777203731238842,
0.009742609225213528,
-0.028667908161878586,
-0.0002922083076555282,
0.030235685408115387,
-0.011422369629144669,
-0.07480532675981522,
0.01119840145111084,
0.00879074539989233,
-0.006859021261334419,
0.018701331689953804,
-0.005571204703301191,... | [
"None",
"_",
"_batched_mask_to_box",
"arange",
"bottom_edges",
"def",
"device",
"dim",
"empty_filter",
"height",
"if",
"in_height",
"in_height_coords",
"in_width",
"in_width_coords",
"left_edges",
"masks",
"max",
"min",
"numel",
"out",
"reshape",
"return",
"right_edges"... |
sam/image_processing_pil_sam.py:_is_box_near_crop_edge | [
-0.0002852178877219558,
-0.01790953055024147,
0.020090818405151367,
-0.04270734265446663,
-0.001413532649166882,
0.03421179577708244,
-0.011480468325316906,
-0.0596984326839447,
0.003731152042746544,
0.03237491846084595,
-0.00019911436538677663,
0.03122687339782715,
0.001499636098742485,
-... | [
"None",
"_",
"_is_box_near_crop_edge",
"any",
"as_tensor",
"atol",
"boxes",
"crop_box",
"crop_box_torch",
"def",
"device",
"dim",
"dtype",
"float",
"if",
"isclose",
"left",
"len",
"logical_and",
"near_crop_edge",
"near_image_edge",
"offset",
"orig_box",
"orig_box_torch"... |
sam/image_processing_pil_sam.py:_pad_masks | [
-0.000021583815396297723,
-0.025450589135289192,
0.009990472346544266,
-0.03884563595056534,
-0.00018487955094315112,
0.04130139574408531,
-0.02946910262107849,
-0.07501226663589478,
0.015627555549144745,
0.022771580144762993,
-0.02132044918835163,
0.015292678959667683,
0.0000610451388638466... | [
"_pad_masks",
"and",
"bottom",
"crop_box",
"def",
"functional",
"if",
"left",
"masks",
"nn",
"orig_height",
"orig_width",
"pad",
"pad_x",
"pad_y",
"return",
"right",
"top",
"torch",
"value"
] |
sam/image_processing_pil_sam.py:_generate_crop_boxes | [
-0.0002905020082835108,
0.017903530970215797,
0.007345038000494242,
-0.010845407843589783,
-0.0013413302367553115,
0.045676954090595245,
-0.0008679195307195187,
-0.04820181429386139,
0.0032421457581222057,
0.020313620567321777,
-0.0005881768884137273,
-0.029150620102882385,
-0.00112614349927... | [
"Only",
"ValueError",
"_build_point_grid",
"_generate_crop_boxes",
"_generate_crop_images",
"_generate_per_layer_crops",
"allowed",
"append",
"array",
"astype",
"axes",
"crop",
"crop_boxes",
"crop_n_layers",
"crop_n_points_downscale_factor",
"cropped_images",
"def",
"dtype",
"flo... |
sam/image_processing_pil_sam.py:_generate_per_layer_crops | [
-0.00018473531235940754,
0.008202601224184036,
0.012501896359026432,
0,
-0.000558625441044569,
0.043219223618507385,
-0.008994576521217823,
-0.04208783060312271,
0.005260978825390339,
0.025908907875418663,
0.011823059991002083,
-0.03643086552619934,
-0.0005055913934484124,
-0.0400513224303... | [
"_generate_per_layer_crops",
"append",
"box",
"ceil",
"crop_box_x0",
"crop_box_y0",
"crop_boxes",
"crop_height",
"crop_n_layers",
"crop_width",
"def",
"for",
"i",
"i_layer",
"im_height",
"im_width",
"in",
"int",
"layer_idxs",
"left",
"math",
"min",
"n_crops_per_side",
"... |
sam/image_processing_pil_sam.py:_build_point_grid | [
-0.000010390551324235275,
-0.0233966913074255,
-0.013146712444722652,
0.01905159093439579,
0.00008878208609530702,
0.013536657206714153,
0.03698905557394028,
-0.05191837251186371,
0.016043445095419884,
0.054815106093883514,
0.005292108748108149,
-0.025402123108506203,
-0.0008982658619061112,... | [
"None",
"_build_point_grid",
"axis",
"def",
"linspace",
"n_per_side",
"np",
"offset",
"points",
"points_one_side",
"points_x",
"points_y",
"reshape",
"return",
"stack",
"tile"
] |
sam/image_processing_pil_sam.py:_generate_crop_images | [
-0.0002244697097921744,
0.02021469548344612,
-0.01084552425891161,
-0.007665684912353754,
-0.0011498527601361275,
0.010675176046788692,
-0.011583701707422733,
-0.044744886457920074,
0.004741367883980274,
0.024530190974473953,
-0.004883325193077326,
0,
0.0010717762634158134,
-0.032479789108... | [
"None",
"_generate_crop_images",
"_normalize_coordinates",
"append",
"array",
"bottom",
"crop_box",
"crop_boxes",
"cropped_im",
"cropped_im_size",
"cropped_images",
"def",
"enumerate",
"for",
"i",
"image",
"in",
"input_data_format",
"layer_idxs",
"left",
"normalized_points",
... |
sam/image_processing_pil_sam.py:_normalize_coordinates | [
-0.00015197842731140554,
0.02750285342335701,
0.03644686937332153,
-0.0076583148911595345,
-0.0006498387665487826,
-0.007015463896095753,
0.00821731612086296,
-0.06260812282562256,
0.01352782640606165,
0.05612371116876602,
0.0025714049115777016,
0.006763913203030825,
0.0008315141312777996,
... | [
"False",
"_normalize_coordinates",
"astype",
"coords",
"deepcopy",
"def",
"float",
"if",
"int",
"is_bounding_box",
"max",
"new_height",
"new_width",
"old_height",
"old_width",
"original_size",
"reshape",
"return",
"scale",
"target_size"
] |
sam/image_processing_pil_sam.py:_rle_to_mask | [
-0.00011093261127825826,
-0.034532878547906876,
0.01238185353577137,
0.01862957887351513,
-0.0004756790294777602,
0.05679749697446823,
-0.025218088179826736,
-0.07860773056745529,
0.015676109120249748,
-0.019197553396224976,
0.022151023149490356,
-0.0229461882263422,
0.001725223963148892,
... | [
"Any",
"False",
"_rle_to_mask",
"bool",
"count",
"counts",
"def",
"dtype",
"empty",
"for",
"height",
"idx",
"in",
"mask",
"not",
"np",
"parity",
"reshape",
"return",
"rle",
"size",
"transpose",
"width"
] |
sam/image_processing_pil_sam.py:_post_process_for_mask_generation | [
-0.00027585210045799613,
0.02330859936773777,
-0.015000584535300732,
0.009923463687300682,
-0.001377457519993186,
0.05492521449923515,
-0.023885546252131462,
-0.05815611034631729,
0.01396208256483078,
-0.004413633607327938,
0.00755798676982522,
0.02250087633728981,
-0.0003732116601895541,
... | [
"ImportError",
"PyTorch",
"_post_process_for_mask_generation",
"_rle_to_mask",
"amg_crops_nms_thresh",
"batched_nms",
"boxes",
"def",
"float",
"for",
"i",
"idxs",
"if",
"in",
"iou_scores",
"iou_threshold",
"is",
"is_torch_available",
"keep_by_nms",
"mask_boxes",
"masks",
"n... |
sam/image_processing_pil_sam.py:_mask_to_rle | [
-0.0000482562136312481,
-0.024368727579712868,
0.01590736396610737,
0.004484522622078657,
-0.00010312287486158311,
0.050768181681632996,
-0.024368727579712868,
-0.062275636941194534,
0.014045864343643188,
-0.0005112073849886656,
0.041065819561481476,
-0.0021435455419123173,
0.001558301155455... | [
"_mask_to_rle",
"append",
"batch_size",
"btw_idxs",
"change_indices",
"continue",
"counts",
"cur_idxs",
"def",
"diff",
"else",
"flatten",
"for",
"height",
"i",
"if",
"in",
"input_mask",
"item",
"len",
"nonzero",
"out",
"permute",
"range",
"return",
"shape",
"size"... |
perceiver/image_processing_perceiver.py:PerceiverImageProcessor | [
-0.00023414524912368506,
0.04394184425473213,
0.006788451690226793,
0.025013050064444542,
-0.0009577068267390132,
0.008675697259604931,
-0.010591111145913601,
-0.023435650393366814,
0.004957541357725859,
0.03560416027903557,
0.02636510692536831,
0.019942836835980415,
0.001274595153518021,
... | [
"BICUBIC",
"BatchFeature",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"ModelImageProcessor",
"None",
"PILImageResampling",
"SizeDict",
"TorchvisionBackend",
"True",
"__init__",
"_preprocess",
"center_crop",
"class",
"crop_size",
"cropped_height",
"cropped_images",
"cropped_im... |
perceiver/image_processing_pil_perceiver.py:PerceiverImageProcessorPil | [
-0.00026190694188699126,
0.03284454718232155,
0.0012812204658985138,
0.035109687596559525,
-0.001167963375337422,
-0.0018404271686449647,
0.004020625725388527,
-0.027521464973688126,
0.005719481501728296,
0.03420363366603851,
0.014496903866529465,
0.0071918233297765255,
0.0000231159428949467... | [
"BICUBIC",
"BatchFeature",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"ModelImageProcessorPil",
"None",
"PILImageResampling",
"PilBackend",
"SizeDict",
"True",
"__init__",
"_preprocess",
"append",
"center_crop",
"class",
"crop_size",
"cropped_height",
"cropped_width",
"data... |
tvp/image_processing_tvp.py:TvpImageProcessorKwargs | [
-0.00029806021484546363,
0.010112500749528408,
0.0027004973962903023,
0.004165661055594683,
-0.0013215199578553438,
0.011893680319190025,
0.02826903574168682,
-0.07354546338319778,
0.0185012798756361,
0.026315486058592796,
0.002614311408251524,
0.004194389563053846,
0.001544167404063046,
0... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"None",
"bool",
"class",
"constant_values",
"do_flip_channel_order",
"float",
"list",
"pad_mode",
"r",
"str",
"total"
] |
tvp/image_processing_tvp.py:TvpImageProcessor | [
-0.00015166625962592661,
0.041057974100112915,
0.0016108001582324505,
0.031016619876027107,
-0.00039921345887705684,
0.014950457029044628,
-0.0004027000395581126,
-0.05801669880747795,
0.0011714911088347435,
0.04752906411886215,
0.024433955550193787,
0.01907856948673725,
0.001464363769628107... | [
"BILINEAR",
"BatchFeature",
"False",
"IMAGENET_STANDARD_MEAN",
"IMAGENET_STANDARD_STD",
"ModelImageProcessor",
"ModelImageProcessorKwargs",
"None",
"PILImageResampling",
"SizeDict",
"TorchvisionBackend",
"True",
"__init__",
"_flip_channel_order",
"_prepare_images_structure",
"_preproce... |
tvp/image_processing_pil_tvp.py:get_resize_output_image_size | [
-0.0000781380949774757,
0.045147232711315155,
0.04693524166941643,
0.016092082485556602,
-0.00033350562443956733,
0.01989160105586052,
0.008716545067727566,
-0.04335922375321388,
0.01687433570623398,
0.035089679062366486,
0.009051796048879623,
-0.04179471358656883,
0.0009079733863472939,
0... | [
"Model_image_size",
"Model_resize_output_image_size",
"None",
"def",
"else",
"height",
"if",
"input_data_format",
"input_image",
"int",
"max_size",
"new_height",
"new_width",
"ratio",
"return",
"size",
"width"
] |
tvp/image_processing_pil_tvp.py:TvpImageProcessorKwargs | [
-0.00029806021484546363,
0.010112500749528408,
0.0027004973962903023,
0.004165661055594683,
-0.0013215199578553438,
0.011893680319190025,
0.02826903574168682,
-0.07354546338319778,
0.0185012798756361,
0.026315486058592796,
0.002614311408251524,
0.004194389563053846,
0.001544167404063046,
0... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"None",
"bool",
"class",
"constant_values",
"do_flip_channel_order",
"float",
"list",
"pad_mode",
"r",
"str",
"total"
] |
tvp/image_processing_pil_tvp.py:TvpImageProcessorPil | [
-0.00015705471741966903,
0.024682020768523216,
-0.01066576037555933,
0.04266304150223732,
-0.0005758673069067299,
0.002847925527021289,
0.007482784800231457,
-0.05852207913994789,
-0.0004502235387917608,
0.03283490613102913,
0.013960419222712517,
0.008543776348233223,
-0.0003158545005135238,... | [
"BILINEAR",
"BatchFeature",
"CONSTANT",
"ChannelDimension",
"FIRST",
"False",
"IMAGENET_STANDARD_MEAN",
"IMAGENET_STANDARD_STD",
"ImportError",
"ModelImageProcessorKwargs",
"ModelImageProcessorPil",
"None",
"PILImageResampling",
"PaddingMode",
"PilBackend",
"PyTorch",
"SizeDict",
"... |
deit/image_processing_deit.py:DeiTImageProcessor | [
-0.0003131600678898394,
0.0391630083322525,
0.015665203332901,
0.028450774028897285,
-0.0016053953440859914,
0.02511039935052395,
0.014225387014448643,
-0.03179114684462547,
0.01019390020519495,
0.043540049344301224,
0.02430410124361515,
0.0032107906881719828,
-0.0004787389771081507,
0.000... | [
"BICUBIC",
"IMAGENET_STANDARD_MEAN",
"IMAGENET_STANDARD_STD",
"ModelImageProcessor",
"PILImageResampling",
"TorchvisionBackend",
"True",
"class",
"crop_size",
"do_center_crop",
"do_normalize",
"do_rescale",
"do_resize",
"height",
"image_mean",
"image_std",
"resample",
"size",
"wi... |
deit/image_processing_pil_deit.py:DeiTImageProcessorPil | [
-0.0003412037040106952,
0.024740898981690407,
0.0052269501611590385,
0.04018944129347801,
-0.0018221730133518577,
0.013067375868558884,
0.016029315069317818,
-0.031594011932611465,
0.008363120257854462,
0.04135098680853844,
0.016726240515708923,
-0.0008457496296614408,
-0.0012922183377668262... | [
"BICUBIC",
"IMAGENET_STANDARD_MEAN",
"IMAGENET_STANDARD_STD",
"ModelImageProcessorPil",
"PILImageResampling",
"PilBackend",
"True",
"class",
"crop_size",
"do_center_crop",
"do_normalize",
"do_rescale",
"do_resize",
"height",
"image_mean",
"image_std",
"resample",
"size",
"width"
... |
llava/image_processing_llava.py:LlavaImageProcessor | [
-0.00020649266662076116,
0.026767048984766006,
-0.0020579269621521235,
0.03830263763666153,
-0.0007244742591865361,
0.003261884208768606,
-0.021391239017248154,
-0.03651070222258568,
0.0036398705560714006,
0.037182677537202835,
0.026655053719878197,
0.03270283713936806,
0.0016659408574923873... | [
"BICUBIC",
"BatchFeature",
"False",
"InterpolationMode",
"ModelImageProcessor",
"None",
"OPENAI_CLIP_MEAN",
"OPENAI_CLIP_STD",
"PILImageResampling",
"TorchvisionBackend",
"True",
"ValueError",
"__init__",
"_preprocess",
"background_color",
"center_crop",
"channels",
"class",
"cro... |
llava/image_processing_pil_llava.py:LlavaImageProcessorPil | [
-0.00026041342061944306,
0.019369129091501236,
-0.004138462245464325,
0.044143594801425934,
-0.0008058740058913827,
-0.011092204600572586,
-0.016441237181425095,
-0.04121570289134979,
0.0007143773837015033,
0.038963478058576584,
0.024324022233486176,
0.022297021001577377,
0.00061584258219227... | [
"BICUBIC",
"BatchFeature",
"False",
"ModelImageProcessorPil",
"OPENAI_CLIP_MEAN",
"OPENAI_CLIP_STD",
"PILImageResampling",
"PilBackend",
"True",
"ValueError",
"__init__",
"_preprocess",
"append",
"background_color",
"center_crop",
"channels",
"class",
"color",
"crop_size",
"dat... |
pixtral/image_processing_pil_pixtral.py:PixtralImageProcessorKwargs | [
-0.00006810607737861574,
0.015747882425785065,
-0.027108855545520782,
-0.005596122704446316,
-0.0003901819291058928,
0.003908849321305752,
0.03891976550221443,
-0.026096491143107414,
0.014623033814132214,
0.015522913075983524,
-0.003936970606446266,
0.0026996370870620012,
-0.0013638791861012... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"class",
"int",
"patch_size",
"total"
] |
pixtral/image_processing_pil_pixtral.py:_num_image_tokens | [
0.0000842344670672901,
-0.0042678797617554665,
0.014712953940033913,
-0.05076530575752258,
0.0002720071352086961,
-0.001951431855559349,
0.04155566915869713,
-0.033918410539627075,
0.021564023569226265,
-0.004801364615559578,
0.019093146547675133,
0.011343575082719326,
-0.00342553504742682,
... | [
"_num_image_tokens",
"def",
"else",
"height",
"if",
"image_size",
"int",
"isinstance",
"list",
"num_height_tokens",
"num_width_tokens",
"patch_height",
"patch_size",
"patch_width",
"return",
"tuple",
"width"
] |
pixtral/image_processing_pil_pixtral.py:get_resize_output_image_size | [
-0.00006570689583895728,
0.03965737670660019,
0.022279424592852592,
-0.0029937976505607367,
-0.00046995660522952676,
0.000276752223726362,
0.017712142318487167,
-0.015150008723139763,
0.007742099929600954,
0.022836409509181976,
-0.007018018513917923,
-0.020831262692809105,
-0.003759652841836... | [
"Model_image_size",
"Model_resize_output_image_size",
"None",
"_num_image_tokens",
"def",
"else",
"floor",
"height",
"if",
"input_data_format",
"input_image",
"int",
"isinstance",
"list",
"math",
"max",
"max_height",
"max_width",
"num_height_tokens",
"num_width_tokens",
"patc... |
pixtral/image_processing_pil_pixtral.py:PixtralImageProcessorPil | [
-0.00019291244097985327,
0.023458153009414673,
-0.006032898090779781,
0.041753266006708145,
-0.0009259796934202313,
-0.005668118130415678,
-0.005948718171566725,
-0.027611032128334045,
-0.00048403485561721027,
0.03412095084786415,
0.009540396742522717,
0.006930817849934101,
-0.00117851968389... | [
"BICUBIC",
"BatchFeature",
"CONSTANT",
"ChannelDimension",
"FIRST",
"ModelImageProcessorKwargs",
"ModelImageProcessorPil",
"None",
"PILImageResampling",
"PaddingMode",
"PilBackend",
"SizeDict",
"True",
"__init__",
"_pad_for_batching",
"_preprocess",
"and",
"append",
"auto_docstri... |
pixtral/image_processing_pixtral.py:_num_image_tokens | [
0.0000842344670672901,
-0.0042678797617554665,
0.014712953940033913,
-0.05076530575752258,
0.0002720071352086961,
-0.001951431855559349,
0.04155566915869713,
-0.033918410539627075,
0.021564023569226265,
-0.004801364615559578,
0.019093146547675133,
0.011343575082719326,
-0.00342553504742682,
... | [
"_num_image_tokens",
"def",
"else",
"height",
"if",
"image_size",
"int",
"isinstance",
"list",
"num_height_tokens",
"num_width_tokens",
"patch_height",
"patch_size",
"patch_width",
"return",
"tuple",
"width"
] |
pixtral/image_processing_pixtral.py:get_resize_output_image_size | [
-0.00006570689583895728,
0.03965737670660019,
0.022279424592852592,
-0.0029937976505607367,
-0.00046995660522952676,
0.000276752223726362,
0.017712142318487167,
-0.015150008723139763,
0.007742099929600954,
0.022836409509181976,
-0.007018018513917923,
-0.020831262692809105,
-0.003759652841836... | [
"Model_image_size",
"Model_resize_output_image_size",
"None",
"_num_image_tokens",
"def",
"else",
"floor",
"height",
"if",
"input_data_format",
"input_image",
"int",
"isinstance",
"list",
"math",
"max",
"max_height",
"max_width",
"num_height_tokens",
"num_width_tokens",
"patc... |
pixtral/image_processing_pixtral.py:PixtralImageProcessorKwargs | [
-0.00006810607737861574,
0.015747882425785065,
-0.027108855545520782,
-0.005596122704446316,
-0.0003901819291058928,
0.003908849321305752,
0.03891976550221443,
-0.026096491143107414,
0.014623033814132214,
0.015522913075983524,
-0.003936970606446266,
0.0026996370870620012,
-0.0013638791861012... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"class",
"int",
"patch_size",
"total"
] |
pixtral/image_processing_pixtral.py:PixtralImageProcessor | [
-0.00019349076319485903,
0.03205117583274841,
-0.0001287019986193627,
0.02958570048213005,
-0.0006233729654923081,
0.0038663132581859827,
-0.01406441442668438,
-0.01905139908194542,
0.0017020183149725199,
0.03048223815858364,
0.017482459545135498,
0.011879106983542442,
-0.0001882376236608252... | [
"BICUBIC",
"BatchFeature",
"ModelImageProcessor",
"ModelImageProcessorKwargs",
"None",
"PILImageResampling",
"SizeDict",
"TorchvisionBackend",
"True",
"__init__",
"_pad_for_batching",
"_preprocess",
"and",
"auto_docstring",
"batch_image_sizes",
"center_crop",
"class",
"crop_size",
... |
levit/image_processing_pil_levit.py:LevitImageProcessorPil | [
-0.00024300854420289397,
0.02735885977745056,
0.004569270182400942,
0.04086800664663315,
-0.0012274591717869043,
0.010273762978613377,
0.004427367355674505,
-0.034737806767225266,
0.0064140064641833305,
0.03882460668683052,
0.010217001661658287,
0.002171112922951579,
-0.0012345543364062905,
... | [
"BICUBIC",
"ChannelDimension",
"FIRST",
"False",
"Got",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"ModelImageProcessorPil",
"None",
"PILImageResampling",
"PilBackend",
"Size",
"SizeDict",
"True",
"ValueError",
"__init__",
"and",
"class",
"crop_size",
"def",
"default_to... |
levit/image_processing_levit.py:LevitImageProcessor | [
-0.00021069734066259116,
0.04784504696726799,
0.02019873447716236,
0.031370099633932114,
-0.0010437893215566874,
0.023922523483633995,
-0.0008921577828004956,
-0.03182147070765495,
0.005783156957477331,
0.04784504696726799,
0.01805473491549492,
0.007898946292698383,
0.0015233681770041585,
... | [
"BICUBIC",
"ChannelDimension",
"FIRST",
"False",
"Got",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"ModelImageProcessor",
"None",
"PILImageResampling",
"Size",
"SizeDict",
"TorchvisionBackend",
"True",
"ValueError",
"__init__",
"and",
"class",
"crop_size",
"def",
"defau... |
pp_ocrv6_small_rec/image_processing_pp_ocrv6_small_rec.py:PPOCRV6SmallRecImageProcessorKwargs | [
-0.00020953181956429034,
-0.009999725967645645,
0.002225372474640608,
0.006502711679786444,
-0.0012571909464895725,
0.0418485626578331,
0.04970961809158325,
-0.03375630080699921,
0.013988055288791656,
0.022542733699083328,
0.023814376443624496,
0.004797556437551975,
-0.0019363630563020706,
... | [
"False",
"ImagesKwargs",
"Model",
"character_list",
"class",
"int",
"max_image_width",
"r",
"str",
"total"
] |
pp_ocrv6_small_rec/image_processing_pp_ocrv6_small_rec.py:PPOCRV6SmallRecImageProcessor | [
-0.00034310173941776156,
0.017566807568073273,
-0.004825093783438206,
0.030279630795121193,
-0.0015168708050623536,
0.02808377891778946,
0.01369517669081688,
-0.06518210470676422,
0.0027014745865017176,
0.01132596842944622,
0.03397790715098381,
0.025194501504302025,
-0.00041533366311341524,
... | [
"BILINEAR",
"BatchFeature",
"False",
"IMAGENET_STANDARD_MEAN",
"IMAGENET_STANDARD_STD",
"Model",
"ModelKwargs",
"PILImageResampling",
"SizeDict",
"TorchvisionBackend",
"True",
"_preprocess",
"and",
"antialias",
"append",
"batch_size",
"bool",
"ceil",
"center_crop",
"character_l... |
swin2sr/image_processing_swin2sr.py:Swin2SRImageProcessorKwargs | [
-0.00016005588986445218,
0.014295981265604496,
-0.018911220133304596,
-0.011369245126843452,
-0.0005839401856064796,
0.009005342610180378,
0.04277537763118744,
-0.036471638828516006,
0.009399326518177986,
0.0276914294809103,
-0.010975261218845844,
-0.002926736371591687,
-0.001378943095915019... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"class",
"int",
"size_divisor",
"total"
] |
swin2sr/image_processing_swin2sr.py:Swin2SRImageProcessor | [
-0.00023098729434423149,
0.021950792521238327,
-0.007167605683207512,
0.011927343904972076,
-0.0007909564883448184,
0.012599307112395763,
0.000664963445160538,
-0.04636545106768608,
0.0018618976464495063,
0.03158226236701012,
0.001476918812841177,
0.00411577383056283,
0.001217933022417128,
... | [
"BatchFeature",
"ModelImageProcessor",
"ModelImageProcessorKwargs",
"None",
"TorchvisionBackend",
"True",
"__init__",
"_preprocess",
"auto_docstring",
"class",
"crop_size",
"data",
"def",
"disable_grouping",
"do_center_crop",
"do_normalize",
"do_pad",
"do_rescale",
"do_resize",
... |
swin2sr/image_processing_pil_swin2sr.py:Swin2SRImageProcessorKwargs | [
-0.00016005588986445218,
0.014295981265604496,
-0.018911220133304596,
-0.011369245126843452,
-0.0005839401856064796,
0.009005342610180378,
0.04277537763118744,
-0.036471638828516006,
0.009399326518177986,
0.0276914294809103,
-0.010975261218845844,
-0.002926736371591687,
-0.001378943095915019... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"class",
"int",
"size_divisor",
"total"
] |
swin2sr/image_processing_pil_swin2sr.py:Swin2SRImageProcessorPil | [
-0.0002179409348173067,
0.012323728762567043,
-0.004509364254772663,
0.02419932186603546,
-0.0009802966378629208,
-0.005181567743420601,
0.006049830466508865,
-0.050191186368465424,
0.0009172775316983461,
0.026664067059755325,
-0.003753135446459055,
-0.002716821851208806,
0.00006433196540456... | [
"BatchFeature",
"ChannelDimension",
"FIRST",
"ModelImageProcessorKwargs",
"ModelImageProcessorPil",
"None",
"PilBackend",
"True",
"__init__",
"_preprocess",
"append",
"auto_docstring",
"class",
"crop_size",
"data",
"data_format",
"def",
"do_center_crop",
"do_normalize",
"do_pad... |
nougat/image_processing_pil_nougat.py:NougatImageProcessorKwargs | [
-0.0003149878466501832,
0.017479093745350838,
-0.018644366413354874,
-0.005418519023805857,
-0.0017988900654017925,
0.037521786987781525,
0.02225671336054802,
-0.048242297023534775,
0.017595620825886726,
0.02540295012295246,
0.0042532458901405334,
0.020159222185611725,
0.0021411890629678965,... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"bool",
"class",
"do_align_long_axis",
"do_crop_margin",
"do_thumbnail",
"r",
"total"
] |
nougat/image_processing_pil_nougat.py:NougatImageProcessorPil | [
-0.00018782695406116545,
0.013762273825705051,
-0.005476823076605797,
0.022693708539009094,
-0.0008566313190385699,
0.01404313649982214,
-0.008201191201806068,
-0.040219541639089584,
0.002527764532715082,
0.015728313475847244,
0.0004564019327517599,
0.0208961870521307,
0.001214731251820922,
... | [
"BICUBIC",
"BILINEAR",
"BatchFeature",
"ChannelDimension",
"FIRST",
"False",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"L",
"LAST",
"ModelImageProcessorKwargs",
"ModelImageProcessorPil",
"None",
"PILImageResampling",
"PilBackend",
"SizeDict",
"True",
"__init__",
"_preproce... |
nougat/image_processing_nougat.py:NougatImageProcessorKwargs | [
-0.0003149878466501832,
0.017479093745350838,
-0.018644366413354874,
-0.005418519023805857,
-0.0017988900654017925,
0.037521786987781525,
0.02225671336054802,
-0.048242297023534775,
0.017595620825886726,
0.02540295012295246,
0.0042532458901405334,
0.020159222185611725,
0.0021411890629678965,... | [
"False",
"ImagesKwargs",
"ModelImageProcessorKwargs",
"bool",
"class",
"do_align_long_axis",
"do_crop_margin",
"do_thumbnail",
"r",
"total"
] |
nougat/image_processing_nougat.py:NougatImageProcessor | [
-0.00011268144589848816,
0.02661029063165188,
-0.00026729085948318243,
0.008721020072698593,
-0.0006428956985473633,
0.027616562321782112,
-0.009950906969606876,
-0.03689662367105484,
0.004779789596796036,
0.022473396733403206,
0.01023042667657137,
0.0337659977376461,
0.0021662788931280375,
... | [
"BICUBIC",
"BILINEAR",
"BatchFeature",
"ChannelDimension",
"FIRST",
"False",
"IMAGENET_DEFAULT_MEAN",
"IMAGENET_DEFAULT_STD",
"InterpolationMode",
"ModelImageProcessor",
"ModelImageProcessorKwargs",
"None",
"PILImageResampling",
"SizeDict",
"TorchvisionBackend",
"True",
"__init__",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.