|
|
# Network training
|
|
|
|
|
|
## Input Manager
|
|
|
|
|
|
Caffe allows the user to provide the test- and training-data in three different formats.
|
|
|
These formats consist of LMDB, LEVELDB and HDF5.
|
|
|
|
|
|
To help the user to manage different formats and paths **Barista** provides an input manager. With the help of the manager the user can see the properties of the database and assign it to a layer of the corresponding type.
|
|
|
|
|
|
The input manager can be found over the **"Input Manager"** entry in the **"Edit"** menu. New databases can be added over the file dialog behind the **"Add new Database"** button. The file dialog filter looks for files typical for LMDB or LEVELDB but also for *.hdf5 / *.h5 and *.txt files containing paths to hdf5 files. The filter can be changed from "all" to a specific database format.
|
|
|
|
|
|
Since Caffe expects txt files with paths to hdf5 instead of raw hdf5 files the input manager automatically converts the hdf5 file into txt files.
|
|
|
|
|
|
All paths are made relative to the *project path*. On training and testing these are changed dynamically relative to the *session path*. This includes paths inside a HDF5TXT file.
|
|
|
|
|
|
![InputManager](/uploads/aad69da355477369e21ce57afa5519a2/InputManager.png)
|
|
|
|
|
|
The **Input Manager** provides some useful meta information for all loaded databases. This includes the format or whether the database path is valid and the data can be read. Additional information like the number and dimensions of elements inside the database.
|
|
|
|
|
|
Every database can be renamed inside the **Input Manager** by clicking the **Edit** button. This changes only the displayed name, not the database itself. Refreshment of the displayed information is executed on the **Reload** button.
|
|
|
|
|
|
Assignment of databases to layer can be accomplished by the **RIGHT** arrow assign button. The **Input Manager** will automatically search the net for **input layer** of the corresponding format and prompt the user with a list to select the desired layer.
|
|
|
![Select a layer](/uploads/cda40ade24eb90058fe9b60a30a6f147/Bildschirmfoto_von__2017-03-20_20_38_17_.png)
|
|
|
|
|
|
The **Input Manager** provides two additional functions for HDF5TXT databases. By clicking the **Open** button the txt files is opened in the local text-editor to make changes by hand. Existing HDF5TXT databases can be extended by adding new HDF5 files. All added file paths are automatically converted to relative paths.
|
|
|
|
|
|
The list of databases can be filtered by type. Selected databases can be deleted by clicking the **"Delete selected Database"** button. Databases can be sorted by using the **UP** and **DOWN** arrow buttons.
|
|
|
|
|
|
## Sessions
|
|
|
After creating a network in the network designer and defining data sources with training data you could start training the created model.
|
|
|
The training of a model is possible directly from within Barista. All you have to do is pressing '**Start Training**' in the Sessions dock.
|
... | ... | |