Closed mbu93 closed 5 years ago
Hi @mbu93, thanks for this great report. Could you try out #34? I currently do not have X11 available, and not sure about plotting is fixed or not.
Hi @iblis17!
The example works with fix #34! Thank you for your quick reply.
Expectation
With the latest release of Reinforce.jl and a higher julia version than julia 0.6 the Mountain Car Example should work and produce a plot like element
Actual Behaviour
Using the current Julia version will cause the old version of src files (including linspace instead of range) to be installed. Even for installing the git version with Pkg.clone([url]) for most current files the example seems to be broken. Running it from within julia will throw the follwing message:
This is due to the shortcut defined in line 84 of __mountain_car.jl__
since this operation will not work for the vector in line 100:
Anyways, eliminating this error using a vectorized function call and LinRange instead of range like this
will cause compilation to fail with the following message:
Obviously now there is some line where a none elementwise addition of the now array like ys will cause an error. Since I am new to Julia that*s basically all I coudl figure out. A little help (or a fix) would be really much appreciated!
Steps to reproduce
Specifications
The following setup was used