Hey there,
Trying to replicate all the results and examples from the blogpost: https://fluxml.ai/2019/03/05/dp-vs-rl.html
These are the steps that I used, as described in the README. Zygote trows an error. Running Julia 1.1.1 on Linux, Ubuntu 18.04 LTS
doctoraat@doctoraat:~/Downloads/model-zoo-master/games/differentiable-programming/trebuchet$ ls
cuda DDPG.jl DiffRL.jl Manifest.toml Project.toml
doctoraat@doctoraat:~/Downloads/model-zoo-master/games/differentiable-programming/trebuchet$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.1.1 (2019-05-16)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Pkg; Pkg.activate("."); Pkg.instantiate()
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
julia> include("DiffRL.jl")
[ Info: Recompiling stale cache file /home/doctoraat/.julia/compiled/v1.1/Flux/QdkVy.ji for Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
[ Info: Recompiling stale cache file /home/doctoraat/.julia/compiled/v1.1/Trebuchet/nIiFf.ji for Trebuchet [98b73d46-197d-11e9-11eb-69a6ff759d3a]
[ Info: Recompiling stale cache file /home/doctoraat/.julia/compiled/v1.1/Zygote/4kbLI.ji for Zygote [e88e6eb3-aa80-5325-afca-941959d7151f]
ERROR: LoadError: LoadError: UndefVarError: Argument not defined
Stacktrace:
[1] include at ./boot.jl:326 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include at ./sysimg.jl:29 [inlined]
[4] include(::String) at /home/doctoraat/.julia/packages/Zygote/1Urp2/src/Zygote.jl:1
[5] top-level scope at none:0
[6] include at ./boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1038
[8] include(::Module, ::String) at ./sysimg.jl:29
[9] top-level scope at none:2
[10] eval at ./boot.jl:328 [inlined]
[11] eval(::Expr) at ./client.jl:404
[12] top-level scope at ./none:3
in expression starting at /home/doctoraat/.julia/packages/Zygote/1Urp2/src/compiler/reverse.jl:1
in expression starting at /home/doctoraat/.julia/packages/Zygote/1Urp2/src/Zygote.jl:24
ERROR: LoadError: Failed to precompile Zygote [e88e6eb3-aa80-5325-afca-941959d7151f] to /home/doctoraat/.julia/compiled/v1.1/Zygote/4kbLI.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
[3] _require(::Base.PkgId) at ./loading.jl:960
[4] require(::Base.PkgId) at ./loading.jl:858
[5] require(::Module, ::Symbol) at ./loading.jl:853
[6] include at ./boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1038
[8] include(::Module, ::String) at ./sysimg.jl:29
[9] include(::String) at ./client.jl:403
[10] top-level scope at none:0
in expression starting at /home/doctoraat/Downloads/model-zoo-master/games/differentiable-programming/trebuchet/DiffRL.jl:2
Any help to replicate the results would be much appreciated, highly interested in this topic.
Bonus question: is there code available to also generate the nice graphics from the blog post?