Skip to content

Commit

Permalink
update good params, fix pcore -- learn thr needed there
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Dec 21, 2023
1 parent f1c4274 commit 6c011a8
Show file tree
Hide file tree
Showing 36 changed files with 830 additions and 825 deletions.
2 changes: 1 addition & 1 deletion examples/bench_objrec/params_good/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Debug = false

[Run]
GPU = true
NData = 16
NData = 32
NThreads = 0
Run = 0
NRuns = 1
Expand Down
24 changes: 12 additions & 12 deletions examples/bench_objrec/params_good/params_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ Act: {
Clamp: { IsInput: true IsTarget: false Ge: 1.5 Add: false ErrThr: 0.5 }
Noise: { On: false GeHz: 100 Ge: 0.001 GiHz: 200 Gi: 0.001 }
VmRange: { Min: 0.1 Max: 1 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.2093637 DtMax: 0.001 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.209364 DtMax: 0.001 }
Sahp: { Gbar: 0.05 CaTau: 5 Off: 0.8 Slope: 0.02 TauMax: 1 CaDt: 0.2 DtMax: 1 }
KNa: { On: true TrialSlow: false Med: { On: true Rise: 0.02 Max: 0.2 Tau: 200 Dt: 0.005 } Slow: { On: true Rise: 0.001 Max: 0.2 Tau: 1000 Dt: 0.001
} }
NMDA: { Gbar: 0.006 Tau: 100 ITau: 1 MgC: 1.4 Voff: 0 }
MaintNMDA: { Gbar: 0.007 Tau: 200 ITau: 1 MgC: 1.4 Voff: 0 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811758 RiseDt: 0.022222223 DecayDt: 0.02 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811756 RiseDt: 0.022222223 DecayDt: 0.02 }
VGCC: { Gbar: 0.02 Ca: 25 }
AK: { Gbar: 0.1 Hf: 0.076 Mf: 0.075 Voff: 2 Vmax: -37 }
SKCa: { Gbar: 0 C50: 0.5 ActTau: 15 DeTau: 30 KCaR: 0.8 CaRDecayTau: 150 CaInThr: 0.01 CaInTau: 50 }
Expand All @@ -37,7 +37,7 @@ Learn: {
TrgAvgAct: { On: true GiBaseInit: 0 ErrLRate: 0.02 SynScaleRate: 0.0002 SubMean: 0 Permute: true Pool: true TrgRange: { Min: 0.5 Max: 2
} }
RLRate: { On: true SigmoidMin: 0.05 Diff: true SpkThr: 0.1 DiffThr: 0.02 Min: 0.001 }
NeuroMod: { DAMod: 0 Valence: 0 DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
NeuroMod: { DAMod: NoDAMod Valence: Positive DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
}
/////////////////////////////////////////////////
Layer: V4
Expand All @@ -52,13 +52,13 @@ Act: {
Clamp: { IsInput: false IsTarget: false Ge: 0.8 Add: false ErrThr: 0.5 }
Noise: { On: false GeHz: 100 Ge: 0.001 GiHz: 200 Gi: 0.001 }
VmRange: { Min: 0.1 Max: 1 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.2093637 DtMax: 0.001 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.209364 DtMax: 0.001 }
Sahp: { Gbar: 0.05 CaTau: 5 Off: 0.8 Slope: 0.02 TauMax: 1 CaDt: 0.2 DtMax: 1 }
KNa: { On: true TrialSlow: false Med: { On: true Rise: 0.02 Max: 0.2 Tau: 200 Dt: 0.005 } Slow: { On: true Rise: 0.001 Max: 0.2 Tau: 1000 Dt: 0.001
} }
NMDA: { Gbar: 0.006 Tau: 100 ITau: 1 MgC: 1.4 Voff: 0 }
MaintNMDA: { Gbar: 0.007 Tau: 200 ITau: 1 MgC: 1.4 Voff: 0 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811758 RiseDt: 0.022222223 DecayDt: 0.02 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811756 RiseDt: 0.022222223 DecayDt: 0.02 }
VGCC: { Gbar: 0.02 Ca: 25 }
AK: { Gbar: 0.1 Hf: 0.076 Mf: 0.075 Voff: 2 Vmax: -37 }
SKCa: { Gbar: 0 C50: 0.5 ActTau: 15 DeTau: 30 KCaR: 0.8 CaRDecayTau: 150 CaInThr: 0.01 CaInTau: 50 }
Expand All @@ -78,7 +78,7 @@ Learn: {
TrgAvgAct: { On: true GiBaseInit: 0 ErrLRate: 0.02 SynScaleRate: 0.0002 SubMean: 1 Permute: true Pool: true TrgRange: { Min: 0.5 Max: 2
} }
RLRate: { On: true SigmoidMin: 0.05 Diff: true SpkThr: 0.1 DiffThr: 0.02 Min: 0.001 }
NeuroMod: { DAMod: 0 Valence: 0 DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
NeuroMod: { DAMod: NoDAMod Valence: Positive DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
}
Burst: {
ThrRel: 0.1 ThrAbs: 0.1
Expand Down Expand Up @@ -136,13 +136,13 @@ Act: {
Clamp: { IsInput: false IsTarget: false Ge: 0.8 Add: false ErrThr: 0.5 }
Noise: { On: false GeHz: 100 Ge: 0.001 GiHz: 200 Gi: 0.001 }
VmRange: { Min: 0.1 Max: 1 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.2093637 DtMax: 0.001 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.209364 DtMax: 0.001 }
Sahp: { Gbar: 0.05 CaTau: 5 Off: 0.8 Slope: 0.02 TauMax: 1 CaDt: 0.2 DtMax: 1 }
KNa: { On: true TrialSlow: false Med: { On: true Rise: 0.02 Max: 0.2 Tau: 200 Dt: 0.005 } Slow: { On: true Rise: 0.001 Max: 0.2 Tau: 1000 Dt: 0.001
} }
NMDA: { Gbar: 0.006 Tau: 100 ITau: 1 MgC: 1.4 Voff: 0 }
MaintNMDA: { Gbar: 0.007 Tau: 200 ITau: 1 MgC: 1.4 Voff: 0 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811758 RiseDt: 0.022222223 DecayDt: 0.02 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811756 RiseDt: 0.022222223 DecayDt: 0.02 }
VGCC: { Gbar: 0.02 Ca: 25 }
AK: { Gbar: 0.1 Hf: 0.076 Mf: 0.075 Voff: 2 Vmax: -37 }
SKCa: { Gbar: 0 C50: 0.5 ActTau: 15 DeTau: 30 KCaR: 0.8 CaRDecayTau: 150 CaInThr: 0.01 CaInTau: 50 }
Expand All @@ -162,7 +162,7 @@ Learn: {
TrgAvgAct: { On: true GiBaseInit: 0 ErrLRate: 0.02 SynScaleRate: 0.0002 SubMean: 1 Permute: true Pool: true TrgRange: { Min: 0.5 Max: 2
} }
RLRate: { On: true SigmoidMin: 0.05 Diff: true SpkThr: 0.1 DiffThr: 0.02 Min: 0.001 }
NeuroMod: { DAMod: 0 Valence: 0 DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
NeuroMod: { DAMod: NoDAMod Valence: Positive DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
}
Burst: {
ThrRel: 0.1 ThrAbs: 0.1
Expand Down Expand Up @@ -220,13 +220,13 @@ Act: {
Clamp: { IsInput: false IsTarget: true Ge: 0.8 Add: false ErrThr: 0.5 }
Noise: { On: false GeHz: 100 Ge: 0.001 GiHz: 200 Gi: 0.001 }
VmRange: { Min: 0.1 Max: 1 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.2093637 DtMax: 0.001 }
Mahp: { Gbar: 0.02 Voff: -30 Vslope: 9 TauMax: 1000 Tadj: 3.209364 DtMax: 0.001 }
Sahp: { Gbar: 0.05 CaTau: 5 Off: 0.8 Slope: 0.02 TauMax: 1 CaDt: 0.2 DtMax: 1 }
KNa: { On: true TrialSlow: false Med: { On: true Rise: 0.02 Max: 0.2 Tau: 200 Dt: 0.005 } Slow: { On: true Rise: 0.001 Max: 0.2 Tau: 1000 Dt: 0.001
} }
NMDA: { Gbar: 0.006 Tau: 100 ITau: 1 MgC: 1.4 Voff: 0 }
MaintNMDA: { Gbar: 0.007 Tau: 200 ITau: 1 MgC: 1.4 Voff: 0 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811758 RiseDt: 0.022222223 DecayDt: 0.02 }
GabaB: { Gbar: 0.015 RiseTau: 45 DecayTau: 50 Gbase: 0.2 GiSpike: 10 MaxTime: 47.41225 TauFact: 2.5811756 RiseDt: 0.022222223 DecayDt: 0.02 }
VGCC: { Gbar: 0.02 Ca: 25 }
AK: { Gbar: 0.1 Hf: 0.076 Mf: 0.075 Voff: 2 Vmax: -37 }
SKCa: { Gbar: 0 C50: 0.5 ActTau: 15 DeTau: 30 KCaR: 0.8 CaRDecayTau: 150 CaInThr: 0.01 CaInTau: 50 }
Expand All @@ -246,7 +246,7 @@ Learn: {
TrgAvgAct: { On: true GiBaseInit: 0 ErrLRate: 0.02 SynScaleRate: 0.0002 SubMean: 0 Permute: true Pool: true TrgRange: { Min: 0.5 Max: 2
} }
RLRate: { On: true SigmoidMin: 0.05 Diff: true SpkThr: 0.1 DiffThr: 0.02 Min: 0.001 }
NeuroMod: { DAMod: 0 Valence: 0 DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
NeuroMod: { DAMod: NoDAMod Valence: Positive DAModGain: 0.5 DALRateSign: false DALRateMod: 0 AChLRateMod: 0 AChDisInhib: 0 BurstGain: 1 DipGain: 1 }
}
///////////////////////////////////////////////////
Prjn: ITToOutput
Expand Down
8 changes: 3 additions & 5 deletions examples/boa/params_good/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ Debug = false
OpenWts = ""

[Env]
Config = "4.uncertain_cs.toml"
NDrives = 4
CSPerDrive = 1
PctCortexStEpc = 10
PctCortexNEpc = 1
PctCortex = 0.0
SameSeed = false
[Env.Env]
NYReps = 4

[Params]
Sheet = ""
Expand All @@ -21,8 +19,8 @@ OpenWts = ""
Good = true

[Run]
GPU = true
NData = 16
GPU = false
NData = 1
NThreads = 0
Run = 0
NRuns = 5
Expand Down
5 changes: 3 additions & 2 deletions examples/boa/params_good/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"Layer.Learn.TrgAvgAct.GiBaseInit" = "0.5"
"Layer.VSPatch.Gain" = "3"
"Layer.VSPatch.ThrInit" = "0.15"
"Layer.VSPatch.ThrLRate" = "0.002"
"Layer.VSPatch.ThrLRate" = "0.001"
"Layer.VSPatch.ThrNonRew" = "10"

[[Base]]
Expand Down Expand Up @@ -187,6 +187,7 @@
Sel = ".MatrixPrjn"
Desc = ""
[Base.Params]
"Prjn.Learn.Trace.LearnThr" = "0.0"
"Prjn.Matrix.NoGateLRate" = "1"

[[Base]]
Expand All @@ -211,7 +212,7 @@
Sel = ".BLAAcqToGo"
Desc = "must dominate"
[Base.Params]
"Prjn.PrjnScale.Abs" = "3"
"Prjn.PrjnScale.Abs" = "2"
"Prjn.PrjnScale.Rel" = "1"

[[Base]]
Expand Down
Loading

0 comments on commit 6c011a8

Please sign in to comment.