Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

JuliaRL_PPO_Pendulum action_space not defined error #164

Closed
albheim opened this issue Apr 7, 2021 · 2 comments
Closed

JuliaRL_PPO_Pendulum action_space not defined error #164

albheim opened this issue Apr 7, 2021 · 2 comments

Comments

@albheim
Copy link
Member

albheim commented Apr 7, 2021

julia> using ReinforcementLearning

julia> run(E`JuliaRL_PPO_Pendulum`)
ERROR: LoadError: UndefVarError: action_space not defined
Stacktrace:
 [1] Experiment(::Val{:JuliaRL}, ::Val{:PPO}, ::Val{:Pendulum}, ::Nothing; save_dir::Nothing, seed::Int64)
   @ ReinforcementLearningZoo ~/.julia/packages/ReinforcementLearningZoo/ma4P7/src/experiments/rl_envs/JuliaRL_PPO_Pendulum.jl:17
 [2] Experiment(::Val{:JuliaRL}, ::Val{:PPO}, ::Val{:Pendulum}, ::Nothing)
   @ ReinforcementLearningZoo ~/.julia/packages/ReinforcementLearningZoo/ma4P7/src/experiments/rl_envs/JuliaRL_PPO_Pendulum.jl:9
 [3] Experiment(s::String)
   @ ReinforcementLearningCore ~/.julia/packages/ReinforcementLearningCore/NWrFY/src/core/experiment.jl:35
 [4] var"@E_cmd"(__source__::LineNumberNode, __module__::Module, s::Any)
   @ ReinforcementLearningCore ~/.julia/packages/ReinforcementLearningCore/NWrFY/src/core/experiment.jl:25
in expression starting at REPL[2]:1

Running Pendulum with some other algorithm or running PPO with some other environment seems to work. I can't really see where the problem is but thought you would like to know something is amiss.

@findmyway
Copy link
Member

I guess it's just a name confliction.

Not sure why this experiment is not added in tests. PR is welcomed😀

@albheim
Copy link
Member Author

albheim commented Apr 7, 2021

Okay, went and did that. Closing this, see #165 for more info.

@albheim albheim closed this as completed Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants