Skip to content

Commit

Permalink
Issue #10 removed from utils import * and changed layers to single lists
Browse files Browse the repository at this point in the history
  • Loading branch information
i-gayo committed Aug 11, 2023
1 parent 550a314 commit dafe07a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demos/cartpole_single_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
action_size = num_actions,
action_space = action_space,
policy_type = 'fcn',
layers = [[], [64, 32, 14]])
layers = [64, 32, 14])

reinforce = REINFORCE(env, policy_network, artificial_truncation=512)

Expand Down
2 changes: 1 addition & 1 deletion demos/dummy_single_agent_continuous.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from spurl.algorithms.reinforce.continuous import REINFORCE
from spurl.utils import *
from spurl.utils import save_model, load_model, save_environment_render, build_policy_network
from spurl.core import train, test

import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion demos/dummy_single_agent_discrete.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from spurl.algorithms.reinforce.discrete import REINFORCE

from spurl.core import train, test
from spurl.utils import *
from spurl.utils import save_model, load_model, save_environment_render, build_policy_network

import tensorflow as tf
import gymnasium as gym
Expand Down
2 changes: 1 addition & 1 deletion demos/pendulum_single_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
action_size = action_size,
action_space = action_space,
policy_type = 'fcn',
layers = [[], [128, 64, 32]],
layers = [128, 64, 32],
activation_fn = 'tanh')

# for linearly annealing scale
Expand Down

0 comments on commit dafe07a

Please sign in to comment.