Skip to content

Commit

Permalink
adjusted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mytolo committed Jul 19, 2023
1 parent 82f77f4 commit 309fbf5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function RLCore.Experiment(
is_enable_double_DQN=true
)
rng = StableRNG(seed)
env = discrete2standard_discrete(PettingzooEnv("mpe.simple_v2"; seed=seed))
env = discrete2standard_discrete(PettingZooEnv("mpe.simple_v2"; seed=seed))
ns, na = length(state(env)), length(action_space(env))

agent = Agent(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module ReinforcementLearningExperiments

using Reexport
using Requires

@reexport using ReinforcementLearningCore, ReinforcementLearningBase, ReinforcementLearningZoo

Expand All @@ -20,6 +21,9 @@ include(joinpath(EXPERIMENTS_DIR, "JuliaRL_VPG_CartPole.jl"))
include(joinpath(EXPERIMENTS_DIR, "JuliaRL_TRPO_CartPole.jl"))
include(joinpath(EXPERIMENTS_DIR, "JuliaRL_MPO_CartPole.jl"))
include(joinpath(EXPERIMENTS_DIR, "IDQN_TicTacToe.jl"))
@require PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" include(
joinpath(EXPERIMENTS_DIR, "DQN_mpe_simple.jl")
)

# dynamic loading environments
function __init__() end
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions src/ReinforcementLearningExperiments/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ using CUDA

using Requires

const EXPERIMENTS_DIR = joinpath(@__DIR__, "experiments")
@require PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" include(
joinpath(EXPERIMENTS_DIR, "DQN_mpe_simple.jl")
)


CUDA.allowscalar(false)
Expand Down

0 comments on commit 309fbf5

Please sign in to comment.