... | ... | @@ -45,7 +45,7 @@ Center view on specific layer - Right click a layer in the **Network Layers**-do |
|
|
|
|
|
### Managing layers
|
|
|
|
|
|
![FinalDragAndDropScreenshot_from_2017-11-23_15-05-10](/uploads/abe6a2c349b518dae549aa68599f052c/FinalDragAndDropScreenshot_from_2017-11-23_15-05-10.png)
|
|
|
![DragAndDrop](DragAndDrop.png)
|
|
|
|
|
|
To create a new layer node, drag the layer type name from the **Layers**-dock into the graph editor. This creates a new layer of the given type with the default name **[type] #[number]**. The new layer has no [top/bottom blobs](https://ivv5git.uni-muenster.de/klemms/PS-2016-NN/wikis/manual-network#blobs-and-connections). Default parameters get added if available (e.g. *convolution_param* for *Convolution* layers)
|
|
|
By dropping the layer type name on an existing layer node, you can choose to replace the existing layer with the new layer type. This will **remove all parameters** from the layer with the exception of top/bottom blobs and their connections.
|
... | ... | @@ -58,14 +58,14 @@ Selected layers can be deleted by pressing **Del**. All connections, to and from |
|
|
|
|
|
All layers currently in the network are listed in the **Network Layers**-Dock. The list can get sorted by order, name or type in ascending or descending order, by clicking the captions. Order represents the connection hierarchy of the layers, where for every two layers connected with at least one blob the creating layer (the connecting blob is a top blob) is in front of the consuming layer (the connecting blob is a bottom blob). In cases where layers process blobs in parallel, the order is ambiguous.
|
|
|
|
|
|
![NetworkLayersScreenshot_from_2017-11-27_14-37-45](/uploads/e566887f2784126f67ae844e22fe9c50/NetworkLayersScreenshot_from_2017-11-27_14-37-45.png)
|
|
|
![NetworkLayers](NetworkLayers.png)
|
|
|
|
|
|
### Blobs and connections
|
|
|
To add a top or bottom blob to a layer, **right click** the node and select **Add top** or **Add bottom**. When creating a top blob, a dialog will ask for the blobs name.
|
|
|
Alternatively, blobs can be added using the **Layer Properties**-dock by selecting **bottom** or **top** in the right layer, and click on **Add**. If the layer has no top/bottom blob, choose **top [list]** or **bottom [list]** in the selection-menu at the bottom of the Layer Properties-dock and use the **Add**-Button to create the blob. If creating a top blob, type the name in the new input field. The name of bottom blobs can be changed manually too, but if attached connections exist, these will be deleted, since the connected top and bottom blobs always have to be named equally. Otherwise the name of added bottom blobs will get updated automatically when connecting to a top blob.
|
|
|
|
|
|
The rectangles in the lower part of the layer node represent the top and bottom blobs, data flows through the network from left to right. Hence, connectors on the left represent bottom blobs, connectors on the right represent top blobs.
|
|
|
![manual-nodeedit-blobs](/uploads/1ffb56384fbc9bdcc7a5b31ace260a23/manual-nodeedit-blobs.png)
|
|
|
![BlobsAndConnections](BlobsAndConnections.png)
|
|
|
|
|
|
To change a top blobs name, select the blob in the **Layer Properties**-dock then click on the name and type a name of your choice. This will also update all bottom blob names, connected to the changed top blob.
|
|
|
|
... | ... | @@ -77,7 +77,7 @@ If a layer has a top and a bottom blob with the same name, the border of the lay |
|
|
|
|
|
| **Wrong!** | **Correct!** |
|
|
|
| :------------: | :------------: |
|
|
|
| ![manual-nodeedit-in-place-wrong](/uploads/f9fc1aadec9278919f22c72a03552d28/manual-nodeedit-in-place-wrong.png) | ![manual-nodeedit-in-place-right](/uploads/269d08c706297b46da11b85d231c90f2/manual-nodeedit-in-place-right.png) |
|
|
|
| ![nodeedit-in-place-wrong](nodeedit-in-place-wrong.png) | ![nodeedit-in-place-right](nodeedit-in-place-right.png) |
|
|
|
|
|
|
To remove a connection between two blobs, either select the connection and hit **Del** or right click it and select **Remove** in the opening context-menu.
|
|
|
|
... | ... | @@ -88,7 +88,7 @@ To add, remove and alter the parameters of the different layers and the solver, |
|
|
|
|
|
The dock **Layer Properties** lists the parameters of a selected layer in the **Graph View**, the dock **Solver Properties** lists the parameters of the Solver. If multiple layers are selected, a tab for each one is shown on the top of the *Layer Properties* dock, from which the user can choose one.
|
|
|
|
|
|
![MultipleLayersScreenshot_from_2017-11-29_13-02-10](/uploads/824c830a8130e2e6bc6e8651810e3786/MultipleLayersScreenshot_from_2017-11-29_13-02-10.png)
|
|
|
![MultipleLayers](MultipleLayers.png)
|
|
|
|
|
|
|
|
|
The parameters are listed in a nested way, which directly reflects their definition in the underlying prototxt-file.
|
... | ... | @@ -101,14 +101,14 @@ In **Barista**, a **primitive** parameter is shown with its name on the left sid |
|
|
|
|
|
**Group** parameters are marked with a multiple adjuster as an icon. They also have a tiny arrow beside them, pointing either to the right when the content of the group parameter is hidden, or down when the content is shown.
|
|
|
|
|
|
![ParameterScreenshot_from_2017-11-28_17-24-53](/uploads/366103a2152c2eb95c929d2a92108553/ParameterScreenshot_from_2017-11-28_17-24-53.png)
|
|
|
![LayerPropertiesDetail](LayerPropertiesDetail.png)
|
|
|
|
|
|
|
|
|
#### Adding parameters
|
|
|
To add a new parameter, select the Group Parameter the required (sub)parameter should be part of, then choose the parameter in the selection-menu and click on **Add**.
|
|
|
The selection-menu automatically shows only the suitable parameters when you selected a Group parameter before.
|
|
|
|
|
|
![jsjgdrScreenshot_from_2017-11-29_12-04-56](/uploads/ab2a359a57a150d4c0d6bc7012c7a3d6/jsjgdrScreenshot_from_2017-11-29_12-04-56.png)
|
|
|
![LayerPropertiesAdd](LayerPropertiesAdd.png)
|
|
|
|
|
|
|
|
|
#### Altering/Removing parameters
|
... | ... | @@ -117,7 +117,7 @@ Depending on the type of a primitive parameter, you can choose an option from a |
|
|
|
|
|
Removing a parameter works the same way. Select a parameter and click on the **Remove**-Button. Some parameters like the name or the type of a layer are not removable, if so the **Remove**-Button is deactivated.
|
|
|
|
|
|
![RemoveParametersScreenshot_from_2017-11-29_12-48-48](/uploads/9b8a29da701e3d1c28901c6b0053678a/RemoveParametersScreenshot_from_2017-11-29_12-48-48.png)
|
|
|
![LayerPropertiesRemove](LayerPropertiesRemove.png)
|
|
|
|
|
|
|
|
|
#### Prototxt editor
|
... | ... | @@ -126,7 +126,7 @@ To allow the user to directly alter the prototxt-files, **Barista** offers a pro |
|
|
|
|
|
Here, the underlying prototxt-files of the network and the solver can be edited directly.
|
|
|
|
|
|
![PrototxtEditorScreenshot_from_2017-11-29_13-30-26](/uploads/5691b3a4606dce71e5a18590150d1fcd/PrototxtEditorScreenshot_from_2017-11-29_13-30-26.png)
|
|
|
![PrototxtEditor](PrototxtEditor.png)
|
|
|
|
|
|
Syntax highlighting has been implemented to improve readability.
|
|
|
|
... | ... | @@ -136,7 +136,7 @@ If the prototxt-file has been changed, you can save it by clicking the **Save**- |
|
|
|
|
|
To prevent erroneous alterations which could leave the project in an inconsistent state, trying to save an invalid prototxt-file results in an error-message, which shows the line in which the problem occurred.
|
|
|
|
|
|
![ErrorPrototxtScreenshot_from_2017-11-29_13-29-47](/uploads/7f9fb93cabcfd33ac1f630409ccdf034/ErrorPrototxtScreenshot_from_2017-11-29_13-29-47.png)
|
|
|
![ErrorPrototxt](ErrorPrototxt.png)
|
|
|
|
|
|
|
|
|
## Prototxt-Export
|
... | ... | @@ -144,6 +144,6 @@ Barista supports exporting your data in the prototxt format at all times during |
|
|
|
|
|
If you want to export your solver configuration as well, you get some more options by clicking **File -> Export Solver**. As shown in the following screenshot, you can choose how to link the required network with the solver. It can point to an existing file (see the previously-described step) or just include the full net definition inside of the solver's prototxt. The latter is quite handy, if you plan to export both at once.
|
|
|
|
|
|
![barista-export-screenshot](/uploads/72be08ccad825436a613315895e46aa3/barista-export-screenshot.png)
|
|
|
![baristaExport](baristaExport.png)
|
|
|
|
|
|
| [previous page](manual-overview) | [start page](manual) | [next page](manual-training) | |
|
|
\ No newline at end of file |