Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CSAILVision/gandissect
/ functions
Functions
1,505 in github.com/CSAILVision/gandissect
⨍
Functions
1,505
◇
Types & classes
131
↳
Endpoints
3
↓ 2 callers
Function
load_url
(url, model_dir='./pretrained', map_location=None)
netdissect/upsegmodel/resnet.py:227
↓ 2 callers
Function
load_url
(url, model_dir='./pretrained', map_location=None)
netdissect/segmodel/resnet.py:227
↓ 2 callers
Function
logp
(base)
client_dist/vendor.js:16941
↓ 2 callers
Function
make_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 callers
Function
mask_to_numpy
(mask_record)
netdissect/serverstate.py:383
↓ 2 callers
Method
minmax
(self)
netdissect/runningstats.py:300
↓ 2 callers
Function
newParse
(specifier, newDate)
client_dist/vendor.js:22847
↓ 2 callers
Function
no_cp_units
()
client/ts/ganclient.ts:309
↓ 2 callers
Function
no_cp_units
()
client_dist/ganclient.js:833
↓ 2 callers
Function
no_rm_units
()
client/ts/ganclient.ts:308
↓ 2 callers
Function
no_rm_units
()
client_dist/ganclient.js:832
↓ 2 callers
Function
now
()
client_dist/vendor.js:24213
↓ 2 callers
Function
obj_to_arr
(obj:object)
client/ts/etc/Util.ts:29
↓ 2 callers
Function
objectConverter
(columns)
client_dist/vendor.js:4418
↓ 2 callers
Function
parseTypenames
(typenames, types)
client_dist/vendor.js:3939
↓ 2 callers
Function
pidfile_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 callers
Function
piecewise
(interpolate, values)
client_dist/vendor.js:13212
↓ 2 callers
Function
place
(b, a, c)
client_dist/vendor.js:11804
↓ 2 callers
Function
powp
(base)
client_dist/vendor.js:16935
↓ 2 callers
Method
predict_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 callers
Function
progress_addbmm
Break up very large adbmm operations into batches so progress can be seen.
netdissect/runningstats.py:677
↓ 2 callers
Function
radiusLeaf
(radius)
client_dist/vendor.js:11752
↓ 2 callers
Function
rangeContains
(range, x)
client_dist/vendor.js:7160
↓ 2 callers
Method
rankings
(project: string, layer: string)
client/ts/api/GanterAPI.ts:138
↓ 2 callers
Method
raw_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 callers
Method
raw_segment_batch
(self, tensor_images, downsample=1)
netdissect/segmenter.py:370
↓ 2 callers
Function
re_layout
(w = window.innerWidth, h = window.innerHeight)
client/ts/ganpaint.ts:635
↓ 2 callers
Function
re_layout
(w = window.innerWidth, h = window.innerHeight)
client_dist/ganpaint.js:1125
↓ 2 callers
Function
reflect
(f)
client_dist/vendor.js:16948
↓ 2 callers
Method
removeCanvas
(id: number, fireEvent = true)
client/ts/vis/GanPaintView.ts:223
↓ 2 callers
Method
removeCanvas
(id, fireEvent = true)
client_dist/ganpaint.js:1310
↓ 2 callers
Method
renderImages
(renderData: AblationData = this.renderData)
client/ts/vis/AblationView.ts:239
↓ 2 callers
Function
resampleLineTo
(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream)
client_dist/vendor.js:10566
↓ 2 callers
Method
reset
(supressEvent = false)
client/ts/vis/PaintSelectView.ts:104
↓ 2 callers
Function
retain_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 callers
Function
reverse_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 callers
Function
rgbSpline
(spline)
client_dist/vendor.js:13284
↓ 2 callers
Function
rgba
(r, g, b, a)
client_dist/vendor.js:2917
↓ 2 callers
Function
rgbn
(n)
client_dist/vendor.js:2913
↓ 2 callers
Function
rotationLambda
(deltaLambda)
client_dist/vendor.js:10762
↓ 2 callers
Function
rotationPhiGamma
(deltaPhi, deltaGamma)
client_dist/vendor.js:10768
↓ 2 callers
Function
sample_portion
(vec, p=0.5)
netdissect/runningstats.py:690
↓ 2 callers
Function
score
(node)
client_dist/vendor.js:11833
↓ 2 callers
Method
segment_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 callers
Function
segment_visualization
(seg, size)
netdissect/segviz.py:3
↓ 2 callers
Function
sel_opacity
()
client/ts/ganclient.ts:358
↓ 2 callers
Function
sel_opacity
()
client_dist/ganclient.js:871
↓ 2 callers
Function
sel_zoom
()
client/ts/ganclient.ts:348
↓ 2 callers
Function
sel_zoom
()
client_dist/ganclient.js:863
↓ 2 callers
Function
setEdgeEnd
(edge, left, right, vertex)
client_dist/vendor.js:26245
↓ 2 callers
Method
setup
Override this method for any per-process initialization. Keywoard args are passed from WorkerPool constructor.
netdissect/workerpool.py:62
↓ 2 callers
Function
sign
(x)
client_dist/vendor.js:21171
↓ 2 callers
Function
slope2
(that, t)
client_dist/vendor.js:21189
↓ 2 callers
Function
slope3
(that, x2, y2)
client_dist/vendor.js:21179
↓ 2 callers
Function
start
(name)
client_dist/vendor.js:24958
↓ 2 callers
Function
state_dict_from_old_pt_dict
Conversion from the old pytorch model layer names.
netdissect/proggan.py:271
↓ 2 callers
Function
stop
()
client_dist/vendor.js:25184
↓ 2 callers
Function
streamPolygon
(coordinates, stream)
client_dist/vendor.js:10884
↓ 2 callers
Function
strip_output_from_cell
(cell)
notebooks/ipynb_drop_output.py:80
↓ 2 callers
Function
test_main
Test the unified segmenter.
netdissect/segmenter.py:556
↓ 2 callers
Function
tick
()
client_dist/vendor.js:5897
↓ 2 callers
Function
tickInterval
(interval, start, stop, step)
client_dist/vendor.js:17568
↓ 2 callers
Method
to_
Switches internal storage to specified device.
netdissect/runningstats.py:170
↓ 2 callers
Function
token
()
client_dist/vendor.js:4473
↓ 2 callers
Function
translateChild
(k)
client_dist/vendor.js:11777
↓ 2 callers
Method
update
* 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 callers
Function
updateMainImage
(image: number)
client/ts/ganpaint.ts:427
↓ 2 callers
Function
updateMainImage
(image)
client_dist/ganpaint.js:975
↓ 2 callers
Function
updateProjectOptions
(projects: string[])
client/ts/ganpaint.ts:349
↓ 2 callers
Function
updateProjectOptions
(projects)
client_dist/ganpaint.js:926
↓ 2 callers
Function
updateProjectSelector
()
client/ts/ganclient.ts:127
↓ 2 callers
Function
updateProjectSelector
()
client_dist/ganclient.js:698
↓ 2 callers
Method
updateURLParam
(key, value, addToBrowserHistory = true)
client_dist/ganpaint.js:569
↓ 2 callers
Function
update_unit_images
(values: number[] = null, label_prefix = '', sort_fct = (a, b) => a - b)
client/ts/ganclient.ts:260
↓ 2 callers
Function
update_unit_images
(values = null, label_prefix = '', sort_fct = (a, b) => a - b)
client_dist/ganclient.js:796
↓ 2 callers
Function
update_units_ablation
()
client/ts/ganclient.ts:204
↓ 2 callers
Function
update_units_ablation
()
client_dist/ganclient.js:754
↓ 2 callers
Function
update_units_copy
()
client/ts/ganclient.ts:213
↓ 2 callers
Function
update_units_copy
()
client_dist/ganclient.js:759
↓ 2 callers
Method
urlString
* 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 callers
Method
urlString
* 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 callers
Method
urlString
* 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 callers
Method
variance
(self)
netdissect/runningstats.py:311
↓ 2 callers
Method
work
Override this method for one-time initialization. Args are passed from WorkerPool.add() arguments.
netdissect/workerpool.py:68
↓ 2 callers
Function
z_sample_for_model
(model, size=100, seed=1)
netdissect/zdataset.py:7
↓ 2 callers
Function
zoom_image
Zooms pixels from the source_rect of img to target_shape.
netdissect/actviz.py:136
↓ 1 callers
Method
__init__
(self, d)
netdissect/autoeval.py:11
↓ 1 callers
Method
__init__
(self, samples)
netdissect/sampler.py:23
↓ 1 callers
Method
__init__
(self, block, layers, groups=32, num_classes=1000)
netdissect/upsegmodel/resnext.py:73
↓ 1 callers
Method
__init__
(self, block, layers, groups=32, num_classes=1000)
netdissect/segmodel/resnext.py:72
↓ 1 callers
Method
__iter__
(self)
netdissect/statedict.py:97
↓ 1 callers
Method
__setitem__
(self, key, value)
netdissect/statedict.py:81
↓ 1 callers
Method
_currentMouseGrid
()
client/ts/vis/GanPaintView.ts:66
↓ 1 callers
Method
_currentMouseGrid
()
client_dist/ganpaint.js:1181
↓ 1 callers
Method
_expand
(self)
netdissect/runningstats.py:318
↓ 1 callers
Method
_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 callers
Method
_init
()
client/ts/vis/PaintSelectView.ts:33
↓ 1 callers
Method
_init
()
client/ts/vis/GanPaintView.ts:82
↓ 1 callers
Method
_init
()
client/ts/vis/ExampleView.ts:43
↓ 1 callers
Method
_init
()
client/ts/vis/AblationView.ts:66
← previous
next →
301–400 of 1,505, ranked by callers