Commit f93dbb69 authored by Alexis Brenon's avatar Alexis Brenon
Browse files

馃敡 Use a pretrained agent on real data

parent bbe3c83c
...@@ -30,46 +30,30 @@ local args = { ...@@ -30,46 +30,30 @@ local args = {
class = "smarthome.sweethome.GraphicalSensorSweetHome", class = "smarthome.sweethome.GraphicalSensorSweetHome",
params = { params = {
map_path = paths.concat("assets", "domus.svg"), map_path = paths.concat("assets", "domus.svg"),
data_path = paths.concat('data', 'SweetHomeRaw'),
history_length=3, history_length=3,
deterministic = true,
}, },
}, },
testing_environment = { testing_environment = {
class = "smarthome.sweethome.GraphicalSensorSweetHome", class = "smarthome.sweethome.GraphicalSensorSweetHome",
params = { params = {
map_path = paths.concat("assets", "domus.svg"), map_path = paths.concat("assets", "domus.svg"),
data_path = paths.concat('data', 'SweetHomeRaw-test'),
history_length = 3, history_length = 3,
deterministic = true,
}, },
}, },
-- Agent -- Agent
agent = { agent = {
class = "NeuralQLearner", dump = "/home/getalp/brenon/results/2017-07-17T13:20:22-synthetic-raw-full-1/10000000/agent_10000000.t7"
params = {
preprocess = {
class = "Downsample",
params = {
},
},
inference = {
class = "Inference",
params = {
},
},
experience_pool = {
pool_size = 100,
history_length=3,
},
}
}, },
-- Experiment -- Experiment
experiment = { experiment = {
class = "BaseExperiment", class = "BaseExperiment",
params = { params = {
steps = 10e6, steps = 400e3,
eval_freq = 100e3, eval_freq = 4e3,
eval_steps = 5000, eval_steps = 5000,
}, },
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment