hoiyoo / encog-java

Automatically exported from code.google.com/p/encog-java
0 stars 0 forks source link

Bug in TrainingContinuationPersistor #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save TrainingContinuation object from ResilientPropagation.pause() with
EncogPersistedCollection
2. Load saved object
3. Try ResilientPropagation.pause() with saved object

What version of the product are you using? On what operating system?
2.3.0

Please provide any additional information below.
This bug occurs because in TrainingContinuationPersistor line 136 you use
BasicNetworkPersistor.TAG_LAYERS instead of local TAG_ITEMS = "items".
So when you save the object. You have xml tag "layers" in the file. But
when you are trying to restore the object, the code looks for tag "items"
instead of "layers", so you have nothing.

P.S. Would be nice to have access to svn to be able contribute bug fix
instead of writing this boring report.

Original issue reported on code.google.com by cherva...@gmail.com on 29 Mar 2010 at 7:35

GoogleCodeExporter commented 9 years ago
* 3. Try ResilientPropagation.resume() with saved object

Original comment by cherva...@gmail.com on 29 Mar 2010 at 8:07

GoogleCodeExporter commented 9 years ago
Fixed sometime earlier

Original comment by heatonre...@gmail.com on 16 Aug 2010 at 7:24