From 84d2443163705ccaa584df228d03b42e533e5dc4 Mon Sep 17 00:00:00 2001 From: troyyyyy Date: Thu, 16 Mar 2023 09:01:19 +0800 Subject: [PATCH] add HED_Abducer --- abl/abducer/abducer_base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/abl/abducer/abducer_base.py b/abl/abducer/abducer_base.py index b7edd4c..d5bff1e 100644 --- a/abl/abducer/abducer_base.py +++ b/abl/abducer/abducer_base.py @@ -10,13 +10,10 @@ # # ================================================================# -import sys -sys.path.append('/home/huwc/ABL-Package/abl') - import abc import numpy as np from zoopt import Dimension, Objective, Parameter, Opt -from utils.utils import confidence_dist, flatten, reform_idx, hamming_dist +from ..utils.utils import confidence_dist, flatten, reform_idx, hamming_dist class AbducerBase(abc.ABC): def __init__(self, kb, dist_func='hamming', zoopt=False):