-
Notifications
You must be signed in to change notification settings - Fork 728
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
ValueError: Exception encrounted when calling layer "QNetwork" (type QNetwork) #713
Comments
Hmmm, I got it to work by turning the But now I'm getting the previous issue I had with OpenAI Gym How would I flatten a trajectory? |
It weird because TensorFlow environment automatically generates an observation of It should only generate a 1D array and not a 2D matrix. |
When I remove TFPyEnviroment from the RubricCubeEnv, I get the 1D array, but now I'm back on the original problem. |
ValueError: The agent was configured to expect a |
Hey @dretechtips, I have encountered a similar problem but with TD3 Agent. Did you solve your problem? |
TF-Agent Version: 0.12.0
TF Version: 2.8.0
Python Version:3.7
So I'm trying to create a Q-Learning network for to train a computer to learn how to solve a rubrix cube. However, I have the issue where my input only takes 2 input instead of 1 input representing the action.
Initialization of Rubrix Cube
Here is how I setup my Q-Network
Expectation:
I create a q learning nerual network that accepts one input from range 0-17 and spits out a prediction state of an array containing integers from 0-5 with a size of 54 to represent the state of each rubrix cube piece.
What I'm getting:
Error I get when creating my TensorFlow training.
I do not know why it taking 2 input when the action generate provides 1 input.
The text was updated successfully, but these errors were encountered: