Difference between revisions of "Train one net.m"
(→See also) |
(Update function See also links and function index membership) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:train_one_net.m}} | + | {{DISPLAYTITLE:train_one_net.m}} __NOTOC__ |
| − | + | Trains a network and writes a file with the specified number. If the specified file exists, the function will load that network file and continue training. | |
==Syntax== | ==Syntax== | ||
| − | + | train_one_net(parameters,batch_size,file_number) | |
| − | == | + | ==Parameters== |
| − | + | parameters - library and network specification struc- | |
| − | + | ture (see [[deer_lib_gen.m]]) | |
| − | + | batch_size - the number of training examples randomly | |
| − | + | generated at each iteration; must fit in | |
| − | + | memory | |
| − | |||
| − | + | file_number - the network object will be saved into a | |
| − | + | file with this number as the name | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Outputs== | ==Outputs== | ||
| − | This function writes a MAT file with the network object and the parameters | + | This function writes a MAT file with the network object and the parameters structure. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Notes== | ==Notes== | ||
| − | # A | + | # A strong NVidia GPU is required - at least a Titan V |
# If the file pre-exists, the network will be loaded and used as the initial guess. | # If the file pre-exists, the network will be loaded and used as the initial guess. | ||
==See also== | ==See also== | ||
| − | [[Neural network module]] | + | [[deer_lib_gen.m]], [[deernet.m]], [[dist_range.m]], [[elexsys2deernet.m]], [[process_using.m]], [[Neural network module]], [[Built-in_experiments]] |
| − | |||
| − | [[Built-in_experiments | ||
| − | |||
| − | ''Version 2. | + | ''Version 2.8, authors: [[Ilya Kuprov]], [[Steve Worswick]], [[Jake Keeley]], [[Tajwar Choudhury]]'' |
Latest revision as of 18:42, 6 June 2026
Trains a network and writes a file with the specified number. If the specified file exists, the function will load that network file and continue training.
Syntax
train_one_net(parameters,batch_size,file_number)
Parameters
parameters - library and network specification struc-
ture (see deer_lib_gen.m)
batch_size - the number of training examples randomly
generated at each iteration; must fit in
memory
file_number - the network object will be saved into a
file with this number as the name
Outputs
This function writes a MAT file with the network object and the parameters structure.
Notes
- A strong NVidia GPU is required - at least a Titan V
- If the file pre-exists, the network will be loaded and used as the initial guess.
See also
deer_lib_gen.m, deernet.m, dist_range.m, elexsys2deernet.m, process_using.m, Neural network module, Built-in_experiments
Version 2.8, authors: Ilya Kuprov, Steve Worswick, Jake Keeley, Tajwar Choudhury