carrolm / visual-rbm

Automatically exported from code.google.com/p/visual-rbm
0 stars 0 forks source link

Unhandled Exception in Chart Area Axes while Training Gaussian RBM #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?  Unknown and not repeatable.

What is the expected output? What do you see instead?
Encountered crash.

What version of the product are you using? On what operating system?
Windows 7, latest build of Visual-RBM at time of writing (2012/09/28)

Please provide any additional information below.
Error Message:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Chart Area Axes - The minimum and maximum 
axis values have not been specified.
   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetDefaultFromData(Axis axis)
   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetDefaultAxesValues()
   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetData(Boolean initializeAxes, Boolean checkIndexedAligned)
   at System.Windows.Forms.DataVisualization.Charting.ChartArea.ReCalcInternal()
   at System.Windows.Forms.DataVisualization.Charting.ChartPicture.Paint(Graphics graph, Boolean paintTopLevelElementOnly)
   at System.Windows.Forms.DataVisualization.Charting.Chart.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VisualRBM
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Applications/VisualRBM/VisualRBM.exe
----------------------------------------
QuickBoltzmannInterop
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/Applications/VisualRBM/QuickBoltzmannInterop.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.278 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.282 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.DataVisualization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Original issue reported on code.google.com by jo.j...@gmail.com on 28 Sep 2012 at 3:57

GoogleCodeExporter commented 9 years ago
Can you give any more details on this?  What had you been doing before the 
crash?

Original comment by pospes...@gmail.com on 9 Oct 2012 at 2:04

GoogleCodeExporter commented 9 years ago
I was training a long run on image patches.  I have VS installed now, so I'll 
be able to give a post-mortem the next time it crashes (if it crashes).  I'll 
withdraw this issue until I see something like it again.

Original comment by jo.j...@gmail.com on 10 Oct 2012 at 3:45

GoogleCodeExporter commented 9 years ago
I know there is a race condition between the GUI and the trainer that needs to 
be fixed, but I wouldn't expect the chart to break in this fashion.  I'll dig 
in and see if there's anything obvious that sticks out.

Original comment by pospes...@gmail.com on 10 Oct 2012 at 4:17

GoogleCodeExporter commented 9 years ago
Alright, I finally had this happen.  I think what's going on is that messages 
from the UI to get weights/visible/hidden/reconstruction error are being 
handled improperly if they happen to get sent after a 'Stop' message is sent.  
So the RBMTrainer gets torn down, but the request messages go in and make 
requests on a now invalid trainer.  Should be an easy fix.

-Richard

Original comment by pospes...@gmail.com on 27 Nov 2012 at 7:53

GoogleCodeExporter commented 9 years ago
Fixed in Revision 127
http://code.google.com/p/visual-rbm/source/detail?r=127

Original comment by pospes...@gmail.com on 13 Dec 2012 at 5:25