Skip to content

Commit

Permalink
Retrain with more and normalized data
Browse files Browse the repository at this point in the history
  • Loading branch information
mryndzionek committed Aug 24, 2024
1 parent 71dfb64 commit 3bee999
Show file tree
Hide file tree
Showing 5 changed files with 1,214 additions and 1,214 deletions.
50 changes: 25 additions & 25 deletions include/fastgrnn_fc_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@
// clang-format off

const float FC_W[6][32] = {
{-1.01876640e+00, 8.82426918e-01, 7.97044218e-01, 5.27679920e-01, -1.14344847e+00, -1.31566274e+00, 7.15613186e-01, -1.28947929e-01,
5.01945210e+00, 4.21062201e-01, 9.31112170e-01, 6.79761589e-01, 1.15256655e+00, 1.28910160e+00, 5.57762802e-01, 7.81024277e-01,
7.21558690e-01, 2.67299294e-01, 1.02604985e+00, 4.28639591e-01, 7.90530443e-01, -1.31585836e+00, 1.16346478e+00, -9.85148013e-01,
-5.66399932e-01, -1.04637861e+00, 6.02218091e-01, -1.48391590e-01, 6.42307472e+00, -2.52311174e-02, -1.23022032e+00, -1.55368531e+00},
{-1.25427425e+00, -1.66530430e+00, -5.43561459e-01, -1.35160112e+00, -1.32696712e+00, 1.77822375e+00, 1.31966674e+00, 4.21014801e-02,
-6.46677136e-01, -9.56940591e-01, 6.45243049e-01, 8.43990445e-01, -1.94800973e+00, -5.43887496e-01, 1.15205801e+00, -5.93377411e-01,
-1.48179853e+00, -3.78203303e-01, -1.34070599e+00, -3.09097469e-01, 7.85409570e-01, 2.44408321e+00, 5.59893429e-01, -1.81799638e+00,
3.29088140e+00, 2.63714409e+00, -9.56666529e-01, 3.33350301e-02, -5.59695482e-01, -7.39123970e-02, 2.12939501e+00, 2.30068731e+00},
{ 5.78333974e-01, 3.16753238e-02, -2.39198279e+00, -1.01460624e+00, 1.75333631e+00, -3.83902240e+00, 1.07053173e+00, 3.54576856e-02,
-5.51588833e-01, -1.21621287e+00, 9.05550957e-01, 5.19581795e-01, 1.72610462e+00, -4.02662605e-01, 4.07919466e-01, -1.53603661e+00,
-1.49774957e+00, -1.35032147e-01, -1.41260982e+00, -2.42641911e-01, -1.31413519e+00, 2.68658662e+00, 7.31695116e-01, -1.75883973e+00,
2.95835304e+00, -1.21206427e+00, 1.98149955e+00, 4.75245975e-02, -7.29115069e-01, -6.62436113e-02, 2.49015093e+00, -1.92826092e+00},
{ 7.42799640e-01, 1.21900928e+00, 1.51864123e+00, 1.31053436e+00, 1.31531549e+00, 1.68824041e+00, 5.76339722e-01, 2.51926817e-02,
-4.95115489e-01, -6.43838763e-01, -2.00257039e+00, -2.95299363e+00, 1.53174365e+00, -8.94445240e-01, -1.49706408e-01, -2.40024224e-01,
9.30686176e-01, -1.90558285e-01, -1.29019797e+00, -1.00127332e-01, 1.86089373e+00, 1.57411122e+00, 1.26331913e+00, 2.34774494e+00,
-1.98311925e+00, 5.11944711e-01, -1.34446871e+00, -2.61959195e-01, -7.14899778e-01, -1.91109642e-01, -2.35936832e+00, 1.17363012e+00},
{ 8.84727657e-01, -1.00527132e+00, 1.64455259e+00, 1.38610256e+00, -1.46349773e-01, 1.48515928e+00, -2.14640713e+00, -1.98136374e-01,
-7.12713659e-01, 7.96206534e-01, 7.62133718e-01, 4.91376817e-01, -1.62145495e+00, -1.72134507e+00, 1.14214802e+00, -7.84285247e-01,
-3.27581763e-01, 1.33891270e-01, 1.14514685e+00, 7.21121430e-02, -1.11065495e+00, -1.69165683e+00, -3.60303140e+00, 2.91850901e+00,
-8.93901229e-01, -8.98680091e-01, -1.14152527e+00, 1.32426441e-01, -6.85515046e-01, 4.06753570e-01, 2.48427248e+00, -4.25367117e-01},
{ 6.61175549e-01, 3.94189298e-01, -1.60646665e+00, -1.21165514e+00, 7.31573343e-01, 1.17580032e+00, -2.07723832e+00, 8.87461379e-02,
-6.39063239e-01, 1.07070529e+00, -1.67370975e+00, -7.20046163e-02, -1.53324711e+00, 4.37054038e-01, -4.01756191e+00, 7.70933032e-01,
2.03344727e+00, 2.64906324e-02, 1.31983054e+00, -6.47743046e-01, -2.05142808e+00, -1.10451698e+00, 9.87885237e-01, 2.17547631e+00,
-8.95749867e-01, 2.24909973e+00, 1.51246405e+00, 6.61935136e-02, -5.84801316e-01, 4.66600321e-02, -1.84143424e+00, 2.02170253e+00},
{ 2.20075428e-01, 4.19540405e-01, 1.27604052e-01, 3.74314308e-01, 5.56950033e-01, 5.07091403e-01, 1.90455362e-01, -2.08922520e-01,
2.71546721e+00, 1.74020910e+00, 5.07763505e-01, 2.13501036e-01, -6.00566030e-01, -2.33038962e-01, -5.86215816e-02, 4.92269427e-01,
2.08808804e+00, 2.91504174e-01, -9.41568673e-01, -3.87064159e-01, -4.81383651e-01, -6.40411437e-01, 5.63290596e-01, -4.55971360e-01,
-5.71559221e-02, 6.37868822e-01, 6.06390476e-01, 9.29213524e-01, 3.76115218e-02, 6.73595488e-01, -3.90059829e-01, -4.18037921e-01},
{-1.36310712e-01, 3.97855282e-01, 1.06168501e-01, -1.01094353e+00, -9.21948969e-01, -5.82065105e-01, -1.51510596e-01, 4.76005822e-01,
-4.18258160e-01, -6.69235647e-01, 5.83975434e-01, -5.61422110e-01, 9.60119665e-01, 1.08128250e-01, 1.06073582e+00, -9.74764764e-01,
-3.26731622e-01, 6.80982530e-01, 1.01445687e+00, 1.10170795e-02, -7.88970292e-01, 3.33887547e-01, 2.23867878e-01, 8.13439712e-02,
-4.67374206e-01, -2.00400487e-01, 8.33849967e-01, 7.65734792e-01, -1.91304398e+00, -6.59527898e-01, -7.56387115e-01, 1.23988426e+00},
{ 2.74159815e-02, 3.58085066e-01, 2.01630890e-01, 4.22653139e-01, -1.22801828e+00, -7.23958850e-01, -3.79806943e-02, 7.14746952e-01,
-4.79710460e-01, -8.78863096e-01, 1.97018728e-01, -5.17167330e-01, 1.35985124e+00, -2.83201367e-01, -1.51948142e+00, -7.77341723e-01,
-3.81748736e-01, 8.74854743e-01, -6.84660673e-01, -3.47791135e-01, -8.46411347e-01, 4.74337727e-01, -2.15515304e+00, -4.62251514e-01,
3.56864870e-01, 1.18479800e+00, -9.52771068e-01, 5.69153965e-01, 6.17639363e-01, 6.73712611e-01, 1.37961292e+00, 1.14496267e+00},
{-2.55108148e-01, -9.11700606e-01, 1.02184005e-01, -8.71201336e-01, 5.32426178e-01, 7.67262399e-01, -2.50768095e-01, -2.35554874e-01,
-5.26839197e-01, 1.15002882e+00, -1.22110569e+00, 7.24442601e-01, 1.01007926e+00, 6.57213688e-01, 6.12716079e-01, -6.07138753e-01,
-2.81477243e-01, 6.39078259e-01, 6.40094936e-01, 4.53078389e-01, 1.18458104e+00, 2.81234860e-01, 4.88062531e-01, -5.46246886e-01,
9.59623992e-01, -5.60255229e-01, 2.22428679e-01, -7.92678118e-01, 5.20552695e-01, -5.38368464e-01, 1.19220591e+00, -1.19064116e+00},
{ 1.92033220e-02, 4.64432865e-01, -1.07298446e+00, 3.67614031e-01, 5.01664758e-01, 7.88700521e-01, 4.56944061e-03, -7.20634833e-02,
-5.26616991e-01, -9.57175910e-01, 5.37966251e-01, -6.09024465e-01, -7.07741380e-01, -1.62846670e-01, -1.27069545e+00, 6.10039234e-01,
-3.55940133e-01, -1.46804011e+00, -7.09802687e-01, 8.03648293e-01, 1.36720562e+00, 2.34459609e-01, 5.74516356e-01, 8.84378254e-01,
-4.03855681e-01, -7.09354281e-01, -7.96690941e-01, -9.16347504e-01, -2.31368411e-02, 5.33264458e-01, -3.44479740e-01, 9.82225090e-02},
{-7.66041651e-02, -1.00174904e+00, 1.22002356e-01, 5.85281551e-01, 6.43760145e-01, -9.66128588e-01, -1.26030490e-01, -2.29844034e-01,
-4.20755863e-01, -5.71098268e-01, -1.03414905e+00, 8.97161067e-01, -6.60991967e-01, 7.20689774e-01, 6.50427878e-01, 1.07782447e+00,
-2.84590870e-01, -1.57751691e+00, 1.22777903e+00, -3.64775985e-01, 1.69351593e-01, -6.41315162e-01, -1.07481408e+00, 1.04698730e+00,
-7.17207432e-01, -3.68270457e-01, -6.54324114e-01, -9.79849815e-01, 7.63811707e-01, -8.65397155e-01, -2.15224579e-01, -7.55367160e-01},
};

const float FC_B[6] =
{ 1.35292435e+00, -4.69823301e-01, -7.47131765e-01, -6.62152648e-01, -1.54967412e-01, -7.17667997e-01};
{ 1.11417031e+00, -1.59542128e-01, -9.18950796e-01, 8.21367949e-02, -2.83133864e-01, -7.87725568e-01};

// clang-format on

Expand Down
Loading

0 comments on commit 3bee999

Please sign in to comment.