From 2d605871673c27ae8e3c2470464cd88f8be08148 Mon Sep 17 00:00:00 2001 From: troyyyyy Date: Thu, 16 Mar 2023 09:13:23 +0800 Subject: [PATCH] Update abducer examples --- 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 f24c60d..b0c0d8f 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):