... | ... | @@ -118,11 +118,12 @@ Removing a parameter works simply the same way. Select a parameter and click on |
|
|
|
|
|
#### Prototxt editor
|
|
|
|
|
|
To allow the user to alter directly the prototxt-files, **Barista** offers a prototxt editor which can be invoked in the menu bar under **Edit -> Edit Network/Solver as Prototxt**.
|
|
|
To allow the user to directly alter the prototxt-files, **Barista** offers a prototxt editor which can be invoked in the menu bar under **Edit -> Edit Network/Solver as Prototxt**.
|
|
|
|
|
|
Here, the underlying prototxt-files of the network and the solver can be directly edited.
|
|
|
|
|
|
![image](/uploads/bf33aa7ecb9f57f34cee442fcd6fec93/image.png)
|
|
|
![PrototxtEditorScreenshot_from_2017-11-29_13-30-26](/uploads/5691b3a4606dce71e5a18590150d1fcd/PrototxtEditorScreenshot_from_2017-11-29_13-30-26.png)
|
|
|
|
|
|
Syntax highlighting has been implemented to improve readability.
|
|
|
|
|
|
The magnitude of the text can be manipulated via the slider in the bottom right corner.
|
... | ... | @@ -130,7 +131,9 @@ The magnitude of the text can be manipulated via the slider in the bottom right |
|
|
If the alteration to the prototxt-file have been done, the user can save it by clicking on the **Save**- or **Save & Close**-button. The changes are automatically applied to the network/solver.
|
|
|
|
|
|
To prevent no 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.
|
|
|
![image](/uploads/cc0f7edf146fe624633a95a822a869fe/image.png)
|
|
|
|
|
|
![ErrorPrototxtScreenshot_from_2017-11-29_13-29-47](/uploads/7f9fb93cabcfd33ac1f630409ccdf034/ErrorPrototxtScreenshot_from_2017-11-29_13-29-47.png)
|
|
|
|
|
|
|
|
|
## Prototxt-Export
|
|
|
Barista supports exporting your data in the prototxt format at all times during runtime. If you only need a file containing your network definition (without the solver), click **File -> Export Network** in the top menu and specify a desired output path in the shown file dialog.
|
... | ... | |