Skip to content
Snippets Groups Projects
Commit e7264ba1 authored by Max Ramsay King's avatar Max Ramsay King
Browse files

deleted evo files

parent 223dfe89
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,10 @@ import sys ...@@ -24,8 +24,10 @@ import sys
sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('..'))
# import agents and its functions # import agents and its functions
from MetaAugment import UCB1_JC_py as UCB1_JC from ..MetaAugment import UCB1_JC_py as UCB1_JC
from MetaAugment import Evo_learner as Evo from ..MetaAugment.autoaugment_learners import evo_learner
import MetaAugment.controller_networks as cn
import MetaAugment.autoaugment_learners as aal
print('@@@ import successful') print('@@@ import successful')
# import agents and its functions # import agents and its functions
...@@ -158,9 +160,9 @@ def training(): ...@@ -158,9 +160,9 @@ def training():
best_q_values = np.array(best_q_values) best_q_values = np.array(best_q_values)
elif auto_aug_learner == 'Evolutionary Learner': elif auto_aug_learner == 'Evolutionary Learner':
network = Evo.Learner(fun_num=num_funcs, p_bins=1, m_bins=1, sub_num_pol=1) network = cn.evo_controller.evo_controller(fun_num=num_funcs, p_bins=1, m_bins=1, sub_num_pol=1)
child_network = Evo.LeNet() child_network = aal.evo.LeNet()
learner = Evo.Evolutionary_learner(network=network, fun_num=num_funcs, p_bins=1, mag_bins=1, sub_num_pol=1, ds = ds, ds_name=ds_name, exclude_method=exclude_method, child_network=child_network) learner = aal.evo.evo_learner(network=network, fun_num=num_funcs, p_bins=1, mag_bins=1, sub_num_pol=1, ds = ds, ds_name=ds_name, exclude_method=exclude_method, child_network=child_network)
learner.run_instance() learner.run_instance()
elif auto_aug_learner == 'Random Searcher': elif auto_aug_learner == 'Random Searcher':
pass pass
......
const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:3000',
changeOrigin: true,
})
);
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment