You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will allow the GeNN caching system to reduce recompilations
it will avoid errors when the contents of GeNNworkspace are partially overwritten for different models
We need to find the optimal naming convention of the working directory that is model-specific.
The text was updated successfully, but these errors were encountered:
We use the following trick in PyNN GeNN to name the model after the name of the PyNN script (in the case of PyNN we do this in the setup(...) function to obtain the name of the python module which calls it):
importinspectcalframe=inspect.getouterframes(inspect.currentframe(), 1)
# Extract model name and pathmodel_name=os.path.splitext(os.path.basename(calframe[1][1]))[0]
model_name=sanitize_label(model_name)
This makes sense for at least two reasons:
We need to find the optimal naming convention of the working directory that is model-specific.
The text was updated successfully, but these errors were encountered: