| Table of Contents ▸ List of Commands ▸ Neural Networks ▸ nn_trainer | ◀ nn_transpose | nn_varname ▶ |
nn_trainer
Arguments:
- out,_loss,_optimizer,_"optimizer_params",_scheduler,_"scheduler_params"
Description:
Add a network trainer to the current network, with specified optimizer and scheduler.optimizer can be { adam | adamax | rmsprop | sgd }.
scheduler can be { constant | adaptive }.
Value of optimizer_params depends on the chosen optimizer:
adam, adamax: ( learning_rate,beta1,beta2,weight_decay,clip_gradient_min,clip_gradient_max ).rmsprop: ( learning_rate,momentum,beta,weight_decay,clip_gradient_min,clip_gradient_max ).
sgd: ( learning_rate,momentum,weight_decay,clip_gradient_min,clip_gradient_max ).
Value of scheduler_params depends on the chosen scheduler:
constant: (none).adaptive: ( lr_min,lr_max,nb_warmup_iterations,nb_cooldown_iterations,patience_down,factor_down,patience_up,factor_up ).
Default values:
loss=., optimizer=adam, optimizer_params=(default), scheduler=constant and scheduler_params=(default).


Home
Download
News
Mastodon
Bluesky
X
Summary - 18 Years
Summary - 17 Years
Summary - 16 Years
Summary - 15 Years
Summary - 13 Years
Summary - 11 Years
Summary - 10 Years
Resources
Technical Reference
Scripting Tutorial
Video Tutorials
Wiki Pages
Image Gallery
Color Presets
Using libgmic
G'MIC Online
Community
Discussion Forum (Pixls.us)
GimpChat
IRC
Report Issue