|
@@ -53,7 +53,7 @@ class ONNXDetector:
|
|
|
# 加载误报特征库
|
|
|
self.false_positive_features = {}
|
|
|
try:
|
|
|
- with open(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'data/false_positive/false_positive_features.pkl'), 'rb') as f:
|
|
|
+ with open(os.path.join(os.path.dirname(__file__), 'false_positive_features.pkl'), 'rb') as f:
|
|
|
self.false_positive_features = pickle.load(f)
|
|
|
except FileNotFoundError:
|
|
|
print("未找到误报特征库文件,跳过加载")
|