Comments (2)
I'm also getting error trying dqn.fit. ValueError: setting an array element with a sequence. It seems like it comes keras/backend.py. But this repo seems dead so I doubt there is any hopes for fixes.
from keras-rl.
I had the same issue and traced the error to if not np.isreal(value):
on rl/core.py.
This section checks each value in the info
object, but seems to break when given arrays. I'm not sure if it was an issue with using arrays in general or the values that I used.
However, my use case didn't require me to pass arrays into the info
object, so I simply removed them and the issue went away.
from keras-rl.
Related Issues (20)
- [Question] Custom Environment HOT 1
- ValueError: probabilities contain NaN in policy.py HOT 5
- Module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects' HOT 2
- Undocumented version requirements for python, tensorflow, and keras HOT 3
- Training performance is quite slow HOT 3
- Issue importing keras-rl on tensorflow-macos HOT 4
- ImportError: cannot import name 'PrioritizedMemory' from 'rl.memory' HOT 1
- how to implement a custom environment? HOT 1
- which version the tensorflow and numpy it is inDQN_carpole? HOT 1
- <rl.agents.dqn.DQNAgent object at 0x000001FE98873A88> HOT 1
- How to set the "nb_steps_warmup" and "nb_steps" properly? HOT 1
- Multiple Actions in DQN (binary action vector)
- gym.Env.reset() no longer returns observation of type np.array but a tuple of (observation, info)
- Keras-RL2 DQN agent fails to learn on some environments
- Frame Skipping in DQN
- ValueError: Could not interpret optimizer identifier: <keras.src.optimizers.adam.Adam object at 0x79d9071160e0>
- Recommendation to synchronize tf, keras and keras rl versions? HOT 3
- info action masks fails
- AttributeError: Tensor.op is meaningless when eager execution is enabled. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras-rl.