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
I am trying to tune an ANN->SNN with a KB device. The example snn_toolbox/examples/mnist_keras_loihi.py tried to run a SLURM session, even though I removed lines 26 os.environ['SLURM'] = '1' and 27 os.environ['PYTHONUNBUFFERED'] = '1'.
Further inspection revealed that models/nxsdk_modules_ncl/snntoolbox/nx_backend.py also sets the SLURM environment in line 71 os.environ['SLURM'] = '1'.
Removing the line lead to successful execution. I thought it might be desired behavior that the environment will be set at top level of the program; maybe you want to remove that line in the repo?
Hi,
I am trying to tune an ANN->SNN with a KB device. The example
snn_toolbox/examples/mnist_keras_loihi.pytried to run a SLURM session, even though I removed lines 26os.environ['SLURM'] = '1'and 27os.environ['PYTHONUNBUFFERED'] = '1'.Further inspection revealed that
models/nxsdk_modules_ncl/snntoolbox/nx_backend.pyalso sets the SLURM environment in line 71os.environ['SLURM'] = '1'.Removing the line lead to successful execution. I thought it might be desired behavior that the environment will be set at top level of the program; maybe you want to remove that line in the repo?