[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running a network outside of PDP++
On Wednesday 29 September 2004 11:53 pm, Matt Flax wrote:
> OK, I have made some headway .... still unsure of a really easy method
> to export a network's weights as binary data ... text data exports
> weights and biases with rounding errors....
The WriteWeights function on the network takes a second arg which
specifies the format: TEXT or BINARY, so just use BINARY. I think
everything is in the same order as TEXT, just the numbers are binary.
> > #Layer Layer_0
> > #Unit
> > 0.110906
> > #Unit
> > 0.130263
> >
> > As layer 0 is my input layer ... these unit values must be biases ?
yep.
> > Then layer 1 and 2 have the following type of content :
> > #Layer Layer_1
> > #Unit
> > -13.5269
> > #Con_Group 0
> > #Size 80
> > -1.92932
> > -1.39323
> > -2.97075
> > -3.88075
> > 0.200701
> >
> > I assume that the first value is the bias and the other 80 are
> > weights ?
yep.
- Randy