-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5_A3C Cartpole Script - AttributeError: 'Functional' object has no attribute '_make_predict_function' #101
Comments
make_predict_function() should work instead. |
That worked, but more issues now. I'm trying to run it in Colab. Changed the import of TF to this at the top:
...so that it would run version 1.X in accordance to the notes for this repo. Running it as is gives this error:
...so tried to change this line:
to
...then we get another error at the very next line, which is:
So I'm going to throw in the towel for now. Would be nice to see this repo updated! Any ideas? Thanks! |
@windowshopr there is nothing much to this.
as
|
Nope, there's no "self.model", either "self.actor" or "self.critic". So continuing on, I've attempted the following changes:
...which now gives the error:
Assuming this is a Keras version issue, I replaced the importing of Keras at the top with:
...which now gives these errors in the output:
As you can see, more effort is needed to debugging this thing than I'm willing to put in. I would urge you or anyone perhaps more knowledgeable than me to throw this into a Colab notebook to try and get it working yourself and document the necessary changes here in an effort to keep the code up to date, both for myself and anyone else who stumbles across this repo like I have and would like to see it working. Thanks! |
References a function that doesn't exist.
The text was updated successfully, but these errors were encountered: