Commit d99bb3cb authored by Avisek Naug's avatar Avisek Naug 🎨
Browse files

fix file removal

parent 03fe0703
......@@ -7,11 +7,11 @@ period = 12 # ie period*5 minutes eg 12*5 60 minutes
# Remove previous Results Plot
try:
os.mkdir('ResultsPlot')
os.mkdir('ResultPlots')
except FileExistsError:
files = os.listdir('ResultsPlot/')
files = os.listdir('ResultPlots/')
for f in files:
os.remove('ResultsPlot/' + f)
os.remove('ResultPlots/' + f)
# Remove model training log file infos
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment