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
↓ 1 callers
Function
Te
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Ut
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
Xt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Method
__del__
(self)
style_transfer.py:183
↓ 1 callers
Method
__del__
(self)
style_transfer.py:279
↓ 1 callers
Function
_resize
(a, b)
num_utils.py:93
↓ 1 callers
Function
_stderr_supports_color
()
log_utils.py:11
↓ 1 callers
Function
add_args
(parser, args)
config_system.py:37
↓ 1 callers
Method
array_like
(self, arr)
style_transfer.py:352
↓ 1 callers
Function
at
()
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
be
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
detect_devices
()
config_system.py:17
↓ 1 callers
Method
display
(self, image)
display_image.py:10
↓ 1 callers
Method
dump
(self)
style_transfer.py:121
↓ 1 callers
Method
eval_features_once
Computes the set of feature maps for an image.
style_transfer.py:429
↓ 1 callers
Method
eval_features_tile
Computes a single tile in a set of feature maps.
style_transfer.py:421
↓ 1 callers
Method
eval_sc_grad
Evaluates the summed style and content gradients.
style_transfer.py:614
↓ 1 callers
Method
eval_sc_grad_tile
Evaluates an individual style+content gradient tile.
style_transfer.py:556
↓ 1 callers
Function
ffloat
Parses fractional or floating point input strings.
config_system.py:27
↓ 1 callers
Method
format
(self, record)
log_utils.py:66
↓ 1 callers
Method
formatTime
(self, record, datefmt=None)
log_utils.py:87
↓ 1 callers
Function
ft
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Method
get_image
Gets the current model input (or provided alternate input) as a PIL image.
style_transfer.py:378
↓ 1 callers
Function
get_image_comment
Makes a comment string to write into the output image.
style_transfer.py:1003
↓ 1 callers
Method
inv_hv
Computes the product of a vector with an approximation of the inverse Hessian.
optimizers.py:105
↓ 1 callers
Function
jt
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
l
()
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
lt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
main
CLI interface for style transfer.
style_transfer.py:1076
↓ 1 callers
Function
pad_width
Returns the amount to pad each axis of an array on in order to be divisible by its corresponding divisor. It is intended to be used to generate th
num_utils.py:165
↓ 1 callers
Function
parse_args
Parses command line arguments.
config_system.py:42
↓ 1 callers
Function
pe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Function
pil_to_data_url
(image, format='png', **kwargs)
web_interface.py:36
↓ 1 callers
Function
printargs
Prints out all command-line parameters.
style_transfer.py:979
↓ 1 callers
Function
process_events
(app)
web_interface.py:85
↓ 1 callers
Method
process_one_request
Receives one request from the master process and acts on it.
style_transfer.py:215
↓ 1 callers
Function
pt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Method
resize_image
Resamples the current model input to a different size.
style_transfer.py:399
↓ 1 callers
Method
roll
Rolls the optimizer's internal state.
optimizers.py:44
↓ 1 callers
Function
send_message
(app, msg)
web_interface.py:74
↓ 1 callers
Function
setWithDataURL
(url, elem)
web_static/main.js:7
↓ 1 callers
Method
set_params
Sets params to the supplied array (a possibly-resized or altered last non-averaged iterate), resampling the optimizer's internal state if the
optimizers.py:53
↓ 1 callers
Method
set_steps
(self, steps)
style_transfer.py:959
↓ 1 callers
Method
set_thread_count
Sets the MKL thread count per worker process.
style_transfer.py:334
↓ 1 callers
Function
sscal
Sets x = a*x for float a and float32 array x, and returns x.
num_utils.py:39
↓ 1 callers
Function
ssymm
Sets c = a @ b for C-contiguous float32 matrices a, b, and c. a is symmetric and only the lower triangular part will be looked at.
num_utils.py:60
↓ 1 callers
Function
ssyrk
Returns alpha * a @ a.T for float alpha and float32 C-contiguous matrix a. The result is the lower triangular part of a symmetric matrix.
num_utils.py:53
↓ 1 callers
Method
store_curvature_pair
Updates the L-BFGS memory with a new curvature pair.
optimizers.py:95
↓ 1 callers
Function
swt_norm
Computes the p-norm of the SWT detail coefficients of the input and its gradient.
num_utils.py:179
↓ 1 callers
Function
te
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callers
Method
transfer
Performs style transfer from style_image to content_image.
style_transfer.py:738
↓ 1 callers
Method
transfer_multiscale
Performs style transfer from style_image to content_image at the given sizes.
style_transfer.py:832
↓ 1 callers
Function
tv_norm
Computes the total variation norm and its gradient. From jcjohnson/cnn-vis and [3].
num_utils.py:150
↓ 1 callers
Method
update_current_it
(self, **kwargs)
style_transfer.py:109
↓ 1 callers
Method
update_new_it
(self, **kwargs)
style_transfer.py:113
↓ 1 callers
Function
wsConnect
()
web_static/main.js:24
Function
D
(e,t)
web_static/jquery-3.3.1.min.js:2
Function
He
(e)
web_static/jquery-3.3.1.min.js:2
Function
I
(e)
web_static/jquery-3.3.1.min.js:2
Function
Oe
(e)
web_static/jquery-3.3.1.min.js:2
Function
Q
()
web_static/jquery-3.3.1.min.js:2
Function
Tt
(e)
web_static/jquery-3.3.1.min.js:2
Function
V
(e,t)
web_static/jquery-3.3.1.min.js:2
Function
W
(e)
web_static/jquery-3.3.1.min.js:2
Function
_
()
web_static/jquery-3.3.1.min.js:2
Method
__call__
(self, step=-1, update_size=np.nan, loss=np.nan, tv_loss=np.nan, image=None)
style_transfer.py:932
Method
__contains__
(self, key)
config_system.py:174
Method
__getattr__
(self, name)
config_system.py:156
Method
__getitem__
(self, key)
style_transfer.py:142
Method
__init__
(self)
style_transfer.py:104
Method
__init__
(self, net, attr)
style_transfer.py:139
Method
__init__
(self, req_q, resp_q, model, device=-1, caffe_path=None)
style_transfer.py:172
Method
__init__
(self, model, devices, caffe_path=None)
style_transfer.py:270
Method
__init__
(self)
style_transfer.py:343
Method
__init__
(self, deploy, weights, mean=(0, 0, 0), shapes=None, placeholder=False)
style_transfer.py:359
Method
__init__
(self, model)
style_transfer.py:667
Method
__init__
(self, transfer, url=None, browser=None, steps=-1, save_every=0, web_if=None, cli=None, callb
style_transfer.py:921
Method
__init__
(self)
display_image.py:5
Method
__init__
(self)
web_interface.py:97
Method
__init__
(self, *args, **kwargs)
config_system.py:33
Method
__init__
(self, state_obj, **kwargs)
config_system.py:152
Method
__init__
r""" :arg bool color: Enables color support. :arg string fmt: Log message format. It will be applied to the attributes dict
log_utils.py:34
Method
__init__
Initializes the optimizer.
optimizers.py:13
Method
__init__
(self, params, initial_step=0.1, n_corr=10)
optimizers.py:66
Method
__iter__
(self)
config_system.py:171
Method
__repr__
(self)
config_system.py:177
Method
__setattr__
(self, name, value)
config_system.py:165
Method
__setitem__
(self, key, value)
style_transfer.py:145
Function
_swt_norm
Computes the p-norm of the SWT detail coefficients of the input and its gradient.
num_utils.py:184
Function
ct
(e,t,n)
web_static/jquery-3.3.1.min.js:2
Method
default
(self, o)
web_interface.py:46
Function
ee
(e,t,n)
web_static/jquery-3.3.1.min.js:2
Method
eval_c_grad
(layer, content)
style_transfer.py:575
Method
eval_loss_and_grad
Returns the summed loss and gradient.
style_transfer.py:700
Method
eval_s_grad
(layer, style)
style_transfer.py:582
Function
handle_websocket
(request)
web_interface.py:57
Function
init_model
Puts the list of layer shapes into resp_q. To be run in a separate process.
style_transfer.py:1013
Function
ke
()
web_static/jquery-3.3.1.min.js:2
Function
re
()
web_static/jquery-3.3.1.min.js:2
Method
roll
Rolls the optimizer's internal state.
optimizers.py:123
← previous
next →
101–200 of 206, ranked by callers