MCPcopy Create free account

hub / github.com/crowsonkb/style_transfer / functions

Functions206 in github.com/crowsonkb/style_transfer

↓ 1 callersFunctionTe
(e,t,n,r,i,o)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionUt
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionXt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersMethod__del__
(self)
style_transfer.py:183
↓ 1 callersMethod__del__
(self)
style_transfer.py:279
↓ 1 callersFunction_resize
(a, b)
num_utils.py:93
↓ 1 callersFunction_stderr_supports_color
()
log_utils.py:11
↓ 1 callersFunctionadd_args
(parser, args)
config_system.py:37
↓ 1 callersMethodarray_like
(self, arr)
style_transfer.py:352
↓ 1 callersFunctionat
()
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionbe
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctiondetect_devices
()
config_system.py:17
↓ 1 callersMethoddisplay
(self, image)
display_image.py:10
↓ 1 callersMethoddump
(self)
style_transfer.py:121
↓ 1 callersMethodeval_features_once
Computes the set of feature maps for an image.
style_transfer.py:429
↓ 1 callersMethodeval_features_tile
Computes a single tile in a set of feature maps.
style_transfer.py:421
↓ 1 callersMethodeval_sc_grad
Evaluates the summed style and content gradients.
style_transfer.py:614
↓ 1 callersMethodeval_sc_grad_tile
Evaluates an individual style+content gradient tile.
style_transfer.py:556
↓ 1 callersFunctionffloat
Parses fractional or floating point input strings.
config_system.py:27
↓ 1 callersMethodformat
(self, record)
log_utils.py:66
↓ 1 callersMethodformatTime
(self, record, datefmt=None)
log_utils.py:87
↓ 1 callersFunctionft
(e,t)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersMethodget_image
Gets the current model input (or provided alternate input) as a PIL image.
style_transfer.py:378
↓ 1 callersFunctionget_image_comment
Makes a comment string to write into the output image.
style_transfer.py:1003
↓ 1 callersMethodinv_hv
Computes the product of a vector with an approximation of the inverse Hessian.
optimizers.py:105
↓ 1 callersFunctionjt
(e,t,n,r)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionl
()
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionlt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionmain
CLI interface for style transfer.
style_transfer.py:1076
↓ 1 callersFunctionpad_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 callersFunctionparse_args
Parses command line arguments.
config_system.py:42
↓ 1 callersFunctionpe
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersFunctionpil_to_data_url
(image, format='png', **kwargs)
web_interface.py:36
↓ 1 callersFunctionprintargs
Prints out all command-line parameters.
style_transfer.py:979
↓ 1 callersFunctionprocess_events
(app)
web_interface.py:85
↓ 1 callersMethodprocess_one_request
Receives one request from the master process and acts on it.
style_transfer.py:215
↓ 1 callersFunctionpt
(e,t,n)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersMethodresize_image
Resamples the current model input to a different size.
style_transfer.py:399
↓ 1 callersMethodroll
Rolls the optimizer's internal state.
optimizers.py:44
↓ 1 callersFunctionsend_message
(app, msg)
web_interface.py:74
↓ 1 callersFunctionsetWithDataURL
(url, elem)
web_static/main.js:7
↓ 1 callersMethodset_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 callersMethodset_steps
(self, steps)
style_transfer.py:959
↓ 1 callersMethodset_thread_count
Sets the MKL thread count per worker process.
style_transfer.py:334
↓ 1 callersFunctionsscal
Sets x = a*x for float a and float32 array x, and returns x.
num_utils.py:39
↓ 1 callersFunctionssymm
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 callersFunctionssyrk
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 callersMethodstore_curvature_pair
Updates the L-BFGS memory with a new curvature pair.
optimizers.py:95
↓ 1 callersFunctionswt_norm
Computes the p-norm of the SWT detail coefficients of the input and its gradient.
num_utils.py:179
↓ 1 callersFunctionte
(e)
web_static/jquery-3.3.1.min.js:2
↓ 1 callersMethodtransfer
Performs style transfer from style_image to content_image.
style_transfer.py:738
↓ 1 callersMethodtransfer_multiscale
Performs style transfer from style_image to content_image at the given sizes.
style_transfer.py:832
↓ 1 callersFunctiontv_norm
Computes the total variation norm and its gradient. From jcjohnson/cnn-vis and [3].
num_utils.py:150
↓ 1 callersMethodupdate_current_it
(self, **kwargs)
style_transfer.py:109
↓ 1 callersMethodupdate_new_it
(self, **kwargs)
style_transfer.py:113
↓ 1 callersFunctionwsConnect
()
web_static/main.js:24
FunctionD
(e,t)
web_static/jquery-3.3.1.min.js:2
FunctionHe
(e)
web_static/jquery-3.3.1.min.js:2
FunctionI
(e)
web_static/jquery-3.3.1.min.js:2
FunctionOe
(e)
web_static/jquery-3.3.1.min.js:2
FunctionQ
()
web_static/jquery-3.3.1.min.js:2
FunctionTt
(e)
web_static/jquery-3.3.1.min.js:2
FunctionV
(e,t)
web_static/jquery-3.3.1.min.js:2
FunctionW
(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
Functionct
(e,t,n)
web_static/jquery-3.3.1.min.js:2
Methoddefault
(self, o)
web_interface.py:46
Functionee
(e,t,n)
web_static/jquery-3.3.1.min.js:2
Methodeval_c_grad
(layer, content)
style_transfer.py:575
Methodeval_loss_and_grad
Returns the summed loss and gradient.
style_transfer.py:700
Methodeval_s_grad
(layer, style)
style_transfer.py:582
Functionhandle_websocket
(request)
web_interface.py:57
Functioninit_model
Puts the list of layer shapes into resp_q. To be run in a separate process.
style_transfer.py:1013
Functionke
()
web_static/jquery-3.3.1.min.js:2
Functionre
()
web_static/jquery-3.3.1.min.js:2
Methodroll
Rolls the optimizer's internal state.
optimizers.py:123
← previousnext →101–200 of 206, ranked by callers