summaryrefslogtreecommitdiff
path: root/detection/tool/ProgramInit.py
diff options
context:
space:
mode:
Diffstat (limited to 'detection/tool/ProgramInit.py')
-rw-r--r--detection/tool/ProgramInit.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/detection/tool/ProgramInit.py b/detection/tool/ProgramInit.py
index a6b19b1..39338bd 100644
--- a/detection/tool/ProgramInit.py
+++ b/detection/tool/ProgramInit.py
@@ -11,14 +11,11 @@ import os
def dataFilerClear():
# Clear detection1 data
# print(os.path.join(os.getcwd()))
- toolFunction.clear('PsiphonServerIP.txt')
- toolFunction.clear_dir('logs/', git_keep=True)
- toolFunction.clear_dir('data/feature', git_keep=True)
- toolFunction.clear_dir('data/result', git_keep=True)
- toolFunction.clear_dir('data/model/pic')
+ Functions.clear('PsiphonServerIP.txt')
+ Functions.clear_dir('logs/', git_keep=True)
+ # toolFunction.clear_dir('data/feature', git_keep=True)
+ # toolFunction.clear_dir('data/result', git_keep=True)
+ # toolFunction.clear_dir('data/model/pic')
-def modelClear():
- os.remove("data/model/originModel.model")
- os.remove('data/model/RFmodel.model')
dataFilerClear()