MCPcopy Create free account

hub / github.com/CSAILVision/gandissect / functions

Functions1,505 in github.com/CSAILVision/gandissect

↓ 2 callersFunctionload_url
(url, model_dir='./pretrained', map_location=None)
netdissect/upsegmodel/resnet.py:227
↓ 2 callersFunctionload_url
(url, model_dir='./pretrained', map_location=None)
netdissect/segmodel/resnet.py:227
↓ 2 callersFunctionlogp
(base)
client_dist/vendor.js:16941
↓ 2 callersFunctionmake_matching_tensor
Converts `valuedict[name]` to be a tensor with the same dtype, device, and dimension count as `data`, and caches the converted tensor.
netdissect/nethook.py:218
↓ 2 callersFunctionmask_to_numpy
(mask_record)
netdissect/serverstate.py:383
↓ 2 callersMethodminmax
(self)
netdissect/runningstats.py:300
↓ 2 callersFunctionnewParse
(specifier, newDate)
client_dist/vendor.js:22847
↓ 2 callersFunctionno_cp_units
()
client/ts/ganclient.ts:309
↓ 2 callersFunctionno_cp_units
()
client_dist/ganclient.js:833
↓ 2 callersFunctionno_rm_units
()
client/ts/ganclient.ts:308
↓ 2 callersFunctionno_rm_units
()
client_dist/ganclient.js:832
↓ 2 callersFunctionnow
()
client_dist/vendor.js:24213
↓ 2 callersFunctionobj_to_arr
(obj:object)
client/ts/etc/Util.ts:29
↓ 2 callersFunctionobjectConverter
(columns)
client_dist/vendor.js:4418
↓ 2 callersFunctionparseTypenames
(typenames, types)
client_dist/vendor.js:3939
↓ 2 callersFunctionpidfile_taken
Usage. To grab an exclusive lock for the remaining duration of the current process (and exit if another process already has the lock), d
netdissect/pidfile.py:24
↓ 2 callersFunctionpiecewise
(interpolate, values)
client_dist/vendor.js:13212
↓ 2 callersFunctionplace
(b, a, c)
client_dist/vendor.js:11804
↓ 2 callersFunctionpowp
(base)
client_dist/vendor.js:16935
↓ 2 callersMethodpredict_single_class
Given a batch of images (RGB, normalized to [-1...1]) and a specific segmentation class number, returns a tuple with (1) a
netdissect/segmenter.py:36
↓ 2 callersFunctionprogress_addbmm
Break up very large adbmm operations into batches so progress can be seen.
netdissect/runningstats.py:677
↓ 2 callersFunctionradiusLeaf
(radius)
client_dist/vendor.js:11752
↓ 2 callersFunctionrangeContains
(range, x)
client_dist/vendor.js:7160
↓ 2 callersMethodrankings
(project: string, layer: string)
client/ts/api/GanterAPI.ts:138
↓ 2 callersMethodraw_seg_prediction
Generates a segmentation by applying multiresolution voting on the segmentation model, using (rounded to 32 pixels) a set of
netdissect/segmenter.py:138
↓ 2 callersMethodraw_segment_batch
(self, tensor_images, downsample=1)
netdissect/segmenter.py:370
↓ 2 callersFunctionre_layout
(w = window.innerWidth, h = window.innerHeight)
client/ts/ganpaint.ts:635
↓ 2 callersFunctionre_layout
(w = window.innerWidth, h = window.innerHeight)
client_dist/ganpaint.js:1125
↓ 2 callersFunctionreflect
(f)
client_dist/vendor.js:16948
↓ 2 callersMethodremoveCanvas
(id: number, fireEvent = true)
client/ts/vis/GanPaintView.ts:223
↓ 2 callersMethodremoveCanvas
(id, fireEvent = true)
client_dist/ganpaint.js:1310
↓ 2 callersMethodrenderImages
(renderData: AblationData = this.renderData)
client/ts/vis/AblationView.ts:239
↓ 2 callersFunctionresampleLineTo
(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream)
client_dist/vendor.js:10566
↓ 2 callersMethodreset
(supressEvent = false)
client/ts/vis/PaintSelectView.ts:104
↓ 2 callersFunctionretain_layers
Creates a 'retained' property on the model which will keep a record of the layer outputs for the specified layers. Also computes the cum
netdissect/nethook.py:257
↓ 2 callersFunctionreverse_normalize_from_transform
Crawl around the transforms attached to a dataset looking for a Normalize transform, and return it a corresponding ReverseNormalize, or N
netdissect/dissection.py:1473
↓ 2 callersFunctionrgbSpline
(spline)
client_dist/vendor.js:13284
↓ 2 callersFunctionrgba
(r, g, b, a)
client_dist/vendor.js:2917
↓ 2 callersFunctionrgbn
(n)
client_dist/vendor.js:2913
↓ 2 callersFunctionrotationLambda
(deltaLambda)
client_dist/vendor.js:10762
↓ 2 callersFunctionrotationPhiGamma
(deltaPhi, deltaGamma)
client_dist/vendor.js:10768
↓ 2 callersFunctionsample_portion
(vec, p=0.5)
netdissect/runningstats.py:690
↓ 2 callersFunctionscore
(node)
client_dist/vendor.js:11833
↓ 2 callersMethodsegment_batch
Returns a multilabel segmentation for the given batch of (RGB [-1...1]) images. Each pixel of the result is a torch.long indicating
netdissect/segmenter.py:175
↓ 2 callersFunctionsegment_visualization
(seg, size)
netdissect/segviz.py:3
↓ 2 callersFunctionsel_opacity
()
client/ts/ganclient.ts:358
↓ 2 callersFunctionsel_opacity
()
client_dist/ganclient.js:871
↓ 2 callersFunctionsel_zoom
()
client/ts/ganclient.ts:348
↓ 2 callersFunctionsel_zoom
()
client_dist/ganclient.js:863
↓ 2 callersFunctionsetEdgeEnd
(edge, left, right, vertex)
client_dist/vendor.js:26245
↓ 2 callersMethodsetup
Override this method for any per-process initialization. Keywoard args are passed from WorkerPool constructor.
netdissect/workerpool.py:62
↓ 2 callersFunctionsign
(x)
client_dist/vendor.js:21171
↓ 2 callersFunctionslope2
(that, t)
client_dist/vendor.js:21189
↓ 2 callersFunctionslope3
(that, x2, y2)
client_dist/vendor.js:21179
↓ 2 callersFunctionstart
(name)
client_dist/vendor.js:24958
↓ 2 callersFunctionstate_dict_from_old_pt_dict
Conversion from the old pytorch model layer names.
netdissect/proggan.py:271
↓ 2 callersFunctionstop
()
client_dist/vendor.js:25184
↓ 2 callersFunctionstreamPolygon
(coordinates, stream)
client_dist/vendor.js:10884
↓ 2 callersFunctionstrip_output_from_cell
(cell)
notebooks/ipynb_drop_output.py:80
↓ 2 callersFunctiontest_main
Test the unified segmenter.
netdissect/segmenter.py:556
↓ 2 callersFunctiontick
()
client_dist/vendor.js:5897
↓ 2 callersFunctiontickInterval
(interval, start, stop, step)
client_dist/vendor.js:17568
↓ 2 callersMethodto_
Switches internal storage to specified device.
netdissect/runningstats.py:170
↓ 2 callersFunctiontoken
()
client_dist/vendor.js:4473
↓ 2 callersFunctiontranslateChild
(k)
client_dist/vendor.js:11777
↓ 2 callersMethodupdate
* Every time data has changed, update is called and * triggers wrangling and re-rendering * @param {Object} data data object * @return
client_dist/ganclient.js:1422
↓ 2 callersFunctionupdateMainImage
(image: number)
client/ts/ganpaint.ts:427
↓ 2 callersFunctionupdateMainImage
(image)
client_dist/ganpaint.js:975
↓ 2 callersFunctionupdateProjectOptions
(projects: string[])
client/ts/ganpaint.ts:349
↓ 2 callersFunctionupdateProjectOptions
(projects)
client_dist/ganpaint.js:926
↓ 2 callersFunctionupdateProjectSelector
()
client/ts/ganclient.ts:127
↓ 2 callersFunctionupdateProjectSelector
()
client_dist/ganclient.js:698
↓ 2 callersMethodupdateURLParam
(key, value, addToBrowserHistory = true)
client_dist/ganpaint.js:569
↓ 2 callersFunctionupdate_unit_images
(values: number[] = null, label_prefix = '', sort_fct = (a, b) => a - b)
client/ts/ganclient.ts:260
↓ 2 callersFunctionupdate_unit_images
(values = null, label_prefix = '', sort_fct = (a, b) => a - b)
client_dist/ganclient.js:796
↓ 2 callersFunctionupdate_units_ablation
()
client/ts/ganclient.ts:204
↓ 2 callersFunctionupdate_units_ablation
()
client_dist/ganclient.js:754
↓ 2 callersFunctionupdate_units_copy
()
client/ts/ganclient.ts:213
↓ 2 callersFunctionupdate_units_copy
()
client_dist/ganclient.js:759
↓ 2 callersMethodurlString
* Generates an URL string from a map of url parameters * @param {{}} urlParameters - the map of parameters * @returns {string} - an URI stri
client/ts/etc/URLHandler.ts:71
↓ 2 callersMethodurlString
* Generates an URL string from a map of url parameters * @param {{}} urlParameters - the map of parameters * @returns {string} - an URI stri
client_dist/ganpaint.js:551
↓ 2 callersMethodurlString
* Generates an URL string from a map of url parameters * @param {{}} urlParameters - the map of parameters * @returns {string} - an URI stri
client_dist/ganclient.js:496
↓ 2 callersMethodvariance
(self)
netdissect/runningstats.py:311
↓ 2 callersMethodwork
Override this method for one-time initialization. Args are passed from WorkerPool.add() arguments.
netdissect/workerpool.py:68
↓ 2 callersFunctionz_sample_for_model
(model, size=100, seed=1)
netdissect/zdataset.py:7
↓ 2 callersFunctionzoom_image
Zooms pixels from the source_rect of img to target_shape.
netdissect/actviz.py:136
↓ 1 callersMethod__init__
(self, d)
netdissect/autoeval.py:11
↓ 1 callersMethod__init__
(self, samples)
netdissect/sampler.py:23
↓ 1 callersMethod__init__
(self, block, layers, groups=32, num_classes=1000)
netdissect/upsegmodel/resnext.py:73
↓ 1 callersMethod__init__
(self, block, layers, groups=32, num_classes=1000)
netdissect/segmodel/resnext.py:72
↓ 1 callersMethod__iter__
(self)
netdissect/statedict.py:97
↓ 1 callersMethod__setitem__
(self, key, value)
netdissect/statedict.py:81
↓ 1 callersMethod_currentMouseGrid
()
client/ts/vis/GanPaintView.ts:66
↓ 1 callersMethod_currentMouseGrid
()
client_dist/ganpaint.js:1181
↓ 1 callersMethod_expand
(self)
netdissect/runningstats.py:318
↓ 1 callersMethod_hook_layer
Internal method to replace a forward method with a closure that intercepts the call, and tracks the hook so that it can be reverted.
netdissect/nethook.py:150
↓ 1 callersMethod_init
()
client/ts/vis/PaintSelectView.ts:33
↓ 1 callersMethod_init
()
client/ts/vis/GanPaintView.ts:82
↓ 1 callersMethod_init
()
client/ts/vis/ExampleView.ts:43
↓ 1 callersMethod_init
()
client/ts/vis/AblationView.ts:66
← previousnext →301–400 of 1,505, ranked by callers