diff --git a/backend_react/react_app.py b/backend_react/react_app.py index 9fa264ae2003c422b7e928596e1fcd4efe302a22..5332518ce6305b5aeefe38e9a729d6ed1da1fe4e 100644 --- a/backend_react/react_app.py +++ b/backend_react/react_app.py @@ -12,12 +12,8 @@ torch.manual_seed(0) import os import sys sys.path.insert(0, os.path.abspath('..')) -import wapp_util - -# import agents and its functions -from MetaAugment import UCB1_JC_py as UCB1_JC -from MetaAugment import Evo_learner as Evo +import temp_util.wapp_util as wapp_util print('@@@ import successful') app = Flask(__name__) diff --git a/flask_mvp/auto_augmentation/progress.py b/flask_mvp/auto_augmentation/progress.py index 9d82a63424f112db3be30ffaea5fa2239faa3417..a0645a0105fb70d48088d9a752c53d341c2650e4 100644 --- a/flask_mvp/auto_augmentation/progress.py +++ b/flask_mvp/auto_augmentation/progress.py @@ -6,7 +6,7 @@ import torch torch.manual_seed(0) -import wapp_util +import temp_util.wapp_util as wapp_util bp = Blueprint("progress", __name__) diff --git a/flask_mvp/auto_augmentation/training.py b/flask_mvp/auto_augmentation/training.py index e20b5867a3ebc6c8ff48ccf4e18411c7cbe3d08f..be5c7254ca211e14096f077509d56e0d41a8eceb 100644 --- a/flask_mvp/auto_augmentation/training.py +++ b/flask_mvp/auto_augmentation/training.py @@ -5,7 +5,7 @@ import torch torch.manual_seed(0) -import wapp_util +import temp_util.wapp_util as wapp_util bp = Blueprint("training", __name__)