diff --git a/config.lua b/config.lua index 5742ee8..dce1815 100644 --- a/config.lua +++ b/config.lua @@ -13,8 +13,6 @@ local function intmap(x) end local common_cfg = { - defer_prints = true, - playable_mode = false, playback_mode = false, start_big = false, diff --git a/main.lua b/main.lua index 0eee2ca..6744f75 100644 --- a/main.lua +++ b/main.lua @@ -206,7 +206,6 @@ local function load_next_pair() if trial_i > 0 then if trial_neg then - if not cfg.defer_prints then print('trial', trial_i, 'positive') end local noise = trial_noise[trial_i] for i, v in ipairs(base_params) do W[i] = v + noise[i] @@ -214,7 +213,6 @@ local function load_next_pair() else trial_i = trial_i - 1 - if not cfg.defer_prints then print('trial', trial_i, 'positive') end local noise = trial_noise[trial_i] for i, v in ipairs(base_params) do W[i] = v - noise[i] @@ -222,8 +220,6 @@ local function load_next_pair() end trial_neg = not trial_neg - else - if not cfg.defer_prints then print("test trial") end end network:distribute(W) @@ -433,7 +429,7 @@ local function do_reset() -- be a little more descriptive. if state == 'dead' and game.get_timer() == 0 then state = 'timeup' end - if trial_i >= 0 and cfg.defer_prints then + if trial_i >= 0 then if trial_i == 0 then print('test trial reward:', reward, "("..state..")") elseif cfg.negate_trials then