Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crowsonkb/style_transfer
/ functions
Functions
206 in github.com/crowsonkb/style_transfer
⨍
Functions
206
◇
Types & classes
21
↓ 40 callers
Function
g
(t)
web_static/jquery-3.3.1.min.js:2
↓ 39 callers
Function
w
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 19 callers
Function
$
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 18 callers
Function
t
(n,i)
web_static/jquery-3.3.1.min.js:2
↓ 16 callers
Function
a
(t,n,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 14 callers
Function
ye
()
web_static/jquery-3.3.1.min.js:2
↓ 12 callers
Function
se
(e)
web_static/jquery-3.3.1.min.js:2
↓ 12 callers
Function
ue
(e)
web_static/jquery-3.3.1.min.js:2
↓ 11 callers
Function
i
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 11 callers
Function
n
(e)
web_static/jquery-3.3.1.min.js:2
↓ 11 callers
Function
roll2
Translates an array in-place by the shift xy, wrapping at the edges.
num_utils.py:136
↓ 11 callers
Function
saxpy
Sets y = a*x + y for float a and float32 arrays x, y; returns y.
num_utils.py:26
↓ 10 callers
Method
array
(self, shape, dtype)
style_transfer.py:346
↓ 10 callers
Function
k
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 10 callers
Method
roll
Rolls the image, feature maps.
style_transfer.py:657
↓ 9 callers
Function
N
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 9 callers
Function
s
(e)
web_static/jquery-3.3.1.min.js:2
↓ 9 callers
Function
x
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callers
Function
G
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callers
Function
make_msg_type
Makes dataclass-based message types for IPC.
style_transfer.py:149
↓ 8 callers
Function
r
(e)
web_static/jquery-3.3.1.min.js:2
↓ 8 callers
Method
update
Returns a step's parameter update given a loss/gradient evaluation function.
optimizers.py:26
↓ 8 callers
Function
z
(e,t,n,r,i,o,a)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
O
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
fe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
he
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
mt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
sdot
Returns the dot product of two float32 arrays with the same shape.
num_utils.py:20
↓ 7 callers
Function
ve
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
vt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 7 callers
Function
y
(t)
web_static/jquery-3.3.1.min.js:2
↓ 6 callers
Function
ae
()
web_static/jquery-3.3.1.min.js:2
↓ 6 callers
Method
layers
Returns the layer names of the network.
style_transfer.py:403
↓ 6 callers
Function
o
(o,a,s,u,c)
web_static/jquery-3.3.1.min.js:2
↓ 5 callers
Function
Fe
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 5 callers
Function
Re
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 5 callers
Method
layer_info
Returns the scale factor vs. the image and the number of channels.
style_transfer.py:415
↓ 5 callers
Method
set_image
Sets the current model input to a PIL image.
style_transfer.py:395
↓ 5 callers
Function
xe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
$e
(t)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
Y
(e)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
me
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
norm2
Returns 1/2 the L2 norm squared.
num_utils.py:69
↓ 4 callers
Function
oe
(e,t,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
resize
Resamples an image array in CxHxW format to a new HxW size. The interpolation is performed in floating point and the result dtype is numpy.float32
num_utils.py:90
↓ 4 callers
Function
resize_to_fit
Resizes image to fit into a size-by-size square.
style_transfer.py:963
↓ 4 callers
Function
roll_by_1
Rolls a 3D array in-place by a shift of one element. Axes 1 and 2 only.
num_utils.py:111
↓ 4 callers
Function
ut
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 4 callers
Function
we
(e,t,n,r,i)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
C
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
S
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
Ze
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
ce
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
consume
Consume the iterable.
num_utils.py:199
↓ 3 callers
Function
ge
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
j
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
le
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
normalize
Normalizes an array in-place to have an L1 norm equal to its size.
num_utils.py:85
↓ 3 callers
Method
parse_weights
Parses a list of name:number pairs into a normalized dict of weights.
style_transfer.py:685
↓ 3 callers
Method
preprocess_images
Performs preprocessing tasks on the input images.
style_transfer.py:488
↓ 3 callers
Method
roll_features
Rolls an individual set of feature maps in-place.
style_transfer.py:647
↓ 3 callers
Method
run
This method runs in the new process.
style_transfer.py:187
↓ 3 callers
Function
setup_exceptions
()
style_transfer.py:69
↓ 3 callers
Function
u
()
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
xt
(e)
web_static/jquery-3.3.1.min.js:2
↓ 3 callers
Function
zt
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
De
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Ft
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Ie
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Je
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Le
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
P
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Pe
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
Se
()
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
_e
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
_t
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
de
(e)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Method
ensure_healthy
Checks for abnormal pool process termination.
style_transfer.py:300
↓ 2 callers
Function
et
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
eval_config
(config_file)
config_system.py:184
↓ 2 callers
Function
gram_matrix
Computes the Gram matrix corresponding to a feature map.
num_utils.py:143
↓ 2 callers
Function
m
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
ne
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
p_norm
Returns the pth power of the p-norm and its gradient.
num_utils.py:74
↓ 2 callers
Method
pil_to_image
Preprocesses a PIL image into params format.
style_transfer.py:388
↓ 2 callers
Method
prepare_features
Averages the set of feature maps for an image over multiple passes to obscure tiling.
style_transfer.py:466
↓ 2 callers
Method
put_event
(self, event)
web_interface.py:121
↓ 2 callers
Method
request
Enqueues a request.
style_transfer.py:284
↓ 2 callers
Method
reset_next_worker
Sets the worker which will process the next request to worker 0.
style_transfer.py:290
↓ 2 callers
Function
sasum
Returns the sum of the absolute values of the given float32 array.
num_utils.py:33
↓ 2 callers
Method
set_contents_and_styles
Propagates feature maps and Gram matrices to all TileWorkers.
style_transfer.py:309
↓ 2 callers
Function
set_thread_count
Sets the maximum number of MKL threads for this process.
style_transfer.py:87
↓ 2 callers
Function
st
()
web_static/jquery-3.3.1.min.js:2
↓ 2 callers
Function
terminal_bg
Returns the first argument if the terminal has a light background, the second if it has a dark background, and the third if it cannot determine.
style_transfer.py:58
↓ 1 callers
Function
Ce
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Ee
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Ke
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Me
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Qe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
R
(e)
web_static/jquery-3.3.1.min.js:2
next →
1–100 of 206, ranked by callers