deepRL | deep reinforcement learning for personal research | Reinforcement Learning library
kandi X-RAY | deepRL Summary
kandi X-RAY | deepRL Summary
deep-q-learning for atari games with caffe ##Resource Pool Want to brew RL ? Click me !.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of deepRL
deepRL Key Features
deepRL Examples and Code Snippets
Community Discussions
Trending Discussions on deepRL
QUESTION
In following this tutorial, I am receiving the following error:
ValueError: prefix tensor must be either a scalar or vector, but saw tensor: Tensor("Placeholder_2:0", dtype=int32)
The error originates from these lines:
...ANSWER
Answered 2017-Jul-24 at 01:52I met the same problem with the version of tensorflow is 1.2.+.
When i changed it to 1.1.0, the problem resolved.
I think it because the API of rnn_cell.zero_state makes arg batch_size must be a scalar or vector, but not tensor.
So, if you change batch_size to scalar, e.g. 128, the problem also could be resolved.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install deepRL
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page