I am trying to record the learning process to a file, I want to be able to store the weights of STDP synapses. Ideally I want to access them at different times, but accessing once after the simulation is ended is fine as well. I have tried following solution given here. However, I keep on getting this error:
Connections are only set after run has been called, even if you are trying to see the data before changes have been made. Try examining the [‘weight’] after the call to run.
I assume it is because weights are dynamic and “first I have to learn them, then record” or the TF is loaded before the projection is accessible? I get the following error when I try to use a TF which accesses globally defined projection. How do I solve this? Am I supposed to use virtual coach, SMACH? Thank you for your help.