MCPcopy Create free account

hub / github.com/CSAILVision/gandissect / functions

Functions1,505 in github.com/CSAILVision/gandissect

↓ 1 callersMethod_init
()
client/ts/vis/BarchartCanvas.ts:51
↓ 1 callersMethod_init
()
client_dist/ganpaint.js:1194
↓ 1 callersMethod_init
()
client_dist/ganclient.js:1268
↓ 1 callersMethod_lazy_init
(self, incoming)
netdissect/runningstats.py:159
↓ 1 callersMethod_next_capacity
(self)
netdissect/runningstats.py:356
↓ 1 callersMethod_paintFinished
()
client/ts/vis/GanPaintView.ts:259
↓ 1 callersMethod_paintFinished
()
client_dist/ganpaint.js:1335
↓ 1 callersMethod_postprocess_forward
The internal method called by the hooked layers after they are run.
netdissect/nethook.py:193
↓ 1 callersMethod_shift
(self)
netdissect/runningstats.py:224
↓ 1 callersMethod_unhook_layer
Internal method to remove a hook, restoring the original forward method.
netdissect/nethook.py:170
↓ 1 callersMethod_wrangle
(data: AblationData)
client/ts/vis/AblationView.ts:367
↓ 1 callersMethod_wrangle
(data)
client_dist/ganpaint.js:1353
↓ 1 callersMethod_wrangle
(data)
client_dist/ganclient.js:1285
↓ 1 callersFunctionablation_values
(recipe)
client/ts/ganpaint.ts:148
↓ 1 callersFunctionablation_values
(recipe)
client_dist/ganpaint.js:777
↓ 1 callersMethodactionChangeAblationValue
(i, v)
client/ts/vis/AblationView.ts:281
↓ 1 callersFunctionactivation_surface
Generates an upsampled activation sample. Params: target_shape Shape of the output array. source_shape The centered shape of
netdissect/actviz.py:57
↓ 1 callersFunctionactivation_visualization
Makes a visualiztion image of activation data overlaid on the image. Params: image The original image. data The single channe
netdissect/actviz.py:5
↓ 1 callersMethodadd
(self, incoming)
netdissect/runningstats.py:181
↓ 1 callersMethodadd
(self, condition, incoming)
netdissect/runningstats.py:486
↓ 1 callersFunctionadd_ace_ranking_to_dissection
(outdir, layer, classname, total_scores)
netdissect/aceoptimize.py:888
↓ 1 callersMethodallProjects
()
client_dist/ganpaint.js:258
↓ 1 callersMethodallProjects
()
client_dist/ganclient.js:203
↓ 1 callersFunctionannotate_model_shapes
(model, gen=False, imgsize=None)
netdissect/modelconfig.py:104
↓ 1 callersFunctionapportion
(v, w, ancestor)
client_dist/vendor.js:12268
↓ 1 callersFunctionarr_to_obj
(arr:any)
client/ts/etc/Util.ts:36
↓ 1 callersFunctionascendingComparator
(f)
client_dist/vendor.js:229
↓ 1 callersFunctionband
()
client_dist/vendor.js:16468
↓ 1 callersFunctionbase642img
(stringdata)
netdissect/serverstate.py:493
↓ 1 callersMethodbasicURL
()
client/ts/etc/URLHandler.ts:7
↓ 1 callersMethodbasicURL
()
client_dist/ganpaint.js:497
↓ 1 callersMethodbasicURL
()
client_dist/ganclient.js:442
↓ 1 callersFunctionbasis
(t1, v0, v1, v2, v3)
client_dist/vendor.js:12863
↓ 1 callersFunctionbest_sub_rect
Finds the smallest subrectangle containing all the nonzeros of mask, matching the aspect ratio of shape, and where the zoom-up ratio is no mor
netdissect/actviz.py:121
↓ 1 callersFunctionbounding_rect
Returns (r, b, l, r) boundaries so that all nonzero pixels in mask have locations (i, j) with t <= i < b, and l <= j < r.
netdissect/actviz.py:110
↓ 1 callersFunctionboundsRingPoint
(lambda, phi)
client_dist/vendor.js:7126
↓ 1 callersFunctionbuild_numpy_category_map
Input: set of rows with 'number' fields (or another field name key). Output: array such that a[number] = the row with the given number.
netdissect/broden.py:155
↓ 1 callersFunctioncalendar
(year, month, week, day, hour, minute, second, millisecond, format)
client_dist/vendor.js:17523
↓ 1 callersFunctioncellHalfedgeAngle
(cell, edge)
client_dist/vendor.js:25828
↓ 1 callersFunctioncellHalfedgeEnd
(cell, edge)
client_dist/vendor.js:25843
↓ 1 callersFunctioncellHalfedgeStart
(cell, edge)
client_dist/vendor.js:25839
↓ 1 callersFunctioncentroidPointRing
(x, y)
client_dist/vendor.js:9119
↓ 1 callersFunctioncentroidRingPoint
(lambda, phi)
client_dist/vendor.js:7364
↓ 1 callersFunctioncircleStream
(stream, radius, delta, direction, t0, t1)
client_dist/vendor.js:7434
↓ 1 callersFunctionclassedAdd
(node, names)
client_dist/vendor.js:18380
↓ 1 callersFunctionclassedRemove
(node, names)
client_dist/vendor.js:18385
↓ 1 callersFunctionclear_global_shared_files
(filenames)
netdissect/dissection.py:628
↓ 1 callersFunctionclipAntimeridianIntersect
(lambda0, phi0, lambda1, phi1)
client_dist/vendor.js:7573
↓ 1 callersFunctionclipEdge
(edge, x0, y0, x1, y1)
client_dist/vendor.js:26258
↓ 1 callersFunctioncollect_bincounts
Returns label_counts, category_activation_counts, and intersection_counts, across the data set, counting the pixels of intersection between u
netdissect/dissection.py:743
↓ 1 callersFunctioncollect_covariance
Returns label_mean, label_variance, unit_mean, unit_variance, and cross_covariance across the data set. label_mean, label_variance (inde
netdissect/dissection.py:1187
↓ 1 callersFunctioncollect_iqr
Returns iqr and iqr_level. This is a performance-sensitive function. Best performance is achieved with a counting scheme which assumes
netdissect/dissection.py:1049
↓ 1 callersFunctioncollect_maxiou
Returns maxiou and maxiou_level across the data set, one per layer. This is a performance-sensitive function. Best performance is achie
netdissect/dissection.py:1008
↓ 1 callersFunctioncollect_quantiles_and_topk
Collects (estimated) quantile information and (exact) sorted top-K lists for every channel in the retained layers of the model. Returns
netdissect/dissection.py:680
↓ 1 callersFunctioncollinear
(a, b, c)
client_dist/vendor.js:3500
↓ 1 callersFunctioncompareValue
(compare)
client_dist/vendor.js:2072
↓ 1 callersFunctioncompute_candidate_locations
(args, corpus, cache_filename, model, segmenter, classnum, second_sample)
netdissect/aceoptimize.py:304
↓ 1 callersFunctioncompute_feature_quantiles
(args, corpus, cache_filename, model, full_sample)
netdissect/aceoptimize.py:277
↓ 1 callersFunctioncompute_mean_present_features
(args, corpus, cache_filename, model)
netdissect/aceoptimize.py:248
↓ 1 callersFunctioncompute_present_locations
(args, corpus, cache_filename, model, segmenter, classnum, full_sample)
netdissect/aceoptimize.py:192
↓ 1 callersFunctionconnectEdge
(edge, x0, y0, x1, y1)
client_dist/vendor.js:26322
↓ 1 callersFunctioncontextListener
(listener, index, group)
client_dist/vendor.js:19094
↓ 1 callersFunctioncontour
(values, value)
client_dist/vendor.js:3579
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
netdissect/upsegmodel/models.py:136
↓ 1 callersFunctionconv3x3
3x3 convolution with padding
netdissect/segmodel/models.py:51
↓ 1 callersFunctioncopy
(source, target)
client_dist/vendor.js:16663
↓ 1 callersFunctioncopy_lightbox_to
(dirname)
netdissect/tool/allunitsample.py:155
↓ 1 callersFunctioncopy_lightbox_to
(dirname)
netdissect/tool/makesample.py:158
↓ 1 callersFunctioncount
(node)
client_dist/vendor.js:11218
↓ 1 callersMethodcovariance
(self)
netdissect/runningstats.py:643
↓ 1 callersFunctioncreate
(node, id, self)
client_dist/vendor.js:25088
↓ 1 callersFunctioncreate_temp_mmap_grid
(shape, dtype, fill)
netdissect/dissection.py:611
↓ 1 callersFunctioncubehelixConvert
(o)
client_dist/vendor.js:3087
↓ 1 callersFunctioncurrent_copy_ids
()
client/ts/ganpaint.ts:400
↓ 1 callersFunctioncurrent_copy_ids
()
client_dist/ganpaint.js:956
↓ 1 callersFunctioncurveRadial
(curve)
client_dist/vendor.js:21395
↓ 1 callersFunctioncustomConverter
(columns, f)
client_dist/vendor.js:4424
↓ 1 callersFunctiondecode_index_dict
(row)
netdissect/broden.py:192
↓ 1 callersFunctiondecode_intervention
(intervention, layer_shapes)
netdissect/serverstate.py:441
↓ 1 callersFunctiondeinterpolateClamp
(deinterpolate)
client_dist/vendor.js:16619
↓ 1 callersMethoddereference
Translate output sample indices (small numbers indexing the sample) to input sample indices (larger number indexing the original full
netdissect/sampler.py:38
↓ 1 callersFunctiondilation_scale_offset
Composes a list of (k, s, p) into a single total scale and offset.
netdissect/__main__.py:360
↓ 1 callersFunctiondilations
(modulelist)
netdissect/actviz.py:173
↓ 1 callersFunctiondilations
Converts a list of modules to (kernel_size, stride, padding)
netdissect/__main__.py:371
↓ 1 callersFunctioneaseConstant
(id, value)
client_dist/vendor.js:24741
↓ 1 callersFunctionedit_layer_output
Overrides the forward method of the given layer, to replace the output with a convex combination of the output and the given value, as sp
netdissect/nethook.py:285
↓ 1 callersFunctionedit_layers
Creates 'ablation' and 'replacement' properties on the model. The output of each layer is replaced by the convex combination of the actua
netdissect/nethook.py:339
↓ 1 callersFunctionencloseBasis
(B)
client_dist/vendor.js:11636
↓ 1 callersFunctionencloseBasis1
(a)
client_dist/vendor.js:11644
↓ 1 callersFunctionensure_upp_segmenter_downloaded
(directory)
netdissect/segmenter.py:542
↓ 1 callersFunctionentries
(map, depth)
client_dist/vendor.js:2552
↓ 1 callersFunctionexecuteShifts
(v)
client_dist/vendor.js:12128
↓ 1 callersMethodexpand_segment_quad
(self, segs, segdiv='quad')
netdissect/segmenter.py:257
↓ 1 callersMethodexpand_segment_quad
(self, segs, num_seg_labels, segdiv='quad')
netdissect/segmenter.py:431
↓ 1 callersFunctionexponential
(a, b, y)
client_dist/vendor.js:12934
↓ 1 callersFunctionextendBasis
(B, p)
client_dist/vendor.js:11588
↓ 1 callersMethodfeature_maps
(self, z_batch, intervention=None, layers=None, quantiles=True)
netdissect/serverstate.py:345
↓ 1 callersMethodfeature_stats
(self, z_batch, masks=None, intervention=None, layers=None)
netdissect/serverstate.py:279
↓ 1 callersFunctionfitExtent
(projection, extent, object)
client_dist/vendor.js:10047
↓ 1 callersFunctionforce
()
client_dist/vendor.js:5330
← previousnext →401–500 of 1,505, ranked by callers