- RBM-Training has own thread

- realtime update of Weights and reconstruction during training
- realtime update of reconstruction on relevant parameters
- added progress bar


git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@26 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-10-14 23:06:34 +00:00
parent 7f4438d698
commit 005342e829
4 changed files with 36 additions and 11 deletions
+3
View File
@@ -41,6 +41,7 @@ class MainComponent : public Component,
public LayerArrayListener<VisibleLayer>,
public RbmListener,
public DrawListener,
public Thread,
public ButtonListener,
public SliderListener,
public LabelListener
@@ -87,6 +88,7 @@ private:
void onDraw(DrawComponent &obj);
void redrawReconstruction();
void redrawWeights(int index);
void run();
String m_baseDir;
double m_trainingProgress;
uint32_t m_numGibbs;
@@ -125,6 +127,7 @@ private:
ScopedPointer<ToggleButton> rbmDoSparseToggleButton;
ScopedPointer<Label> sparsityLabel;
ScopedPointer<Label> sigmaDecayLabel;
ScopedPointer<ProgressBar> m_progressBar;
//==============================================================================