pytorch-sbs/run_spikes.sh

20 lines
262 B
Bash
Raw Normal View History

2023-01-05 13:23:58 +01:00
python=~/P3.10GPU/bin/python3
if [ -f "./def.json" ]
then
echo "json file found"
else
echo "No json file exists"
exit
fi
$python learn_it.py def.json
status=$?
if [ $status != "0" ]
then
echo "Problem detected (learn_it.py)!!!"
exit 1
fi