-
Notifications
You must be signed in to change notification settings - Fork 18
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
Getting a shape error while trying to fit another dataset #1
Comments
Hi, sorry for the inconvenience.
|
Thank u so much. This worked really well! And I am so grateful for your help. I am going to implement this algorithm for my research project. Honestly speaking, I searched for many resources to implement this algorithm but couldn't find better than yours. |
You're welcome!
In theory yes. However, you may encounter problems in the case of models with a large number of parameters. |
Thank You and definitely, I will let you know as it is a part of my research project. Good luck and best wishes! |
Added expansion of 1-dimensional Tensors into 2-dimensional Tensors.
Hello,
I am trying to implement this algorithm by following the code. After preparing the model and dataset, whenever I try to fit another dataset which is the boston_housing dataset imported from Keras, I get a shape error. It says "Cannot convert a partially known tensor shape to a tensor(13,1, None)."I am in a confusion about how to fix the shape of any dataset to fit into this algorithm, especially for a regression problem. Please help me and hope to get your response.
The text was updated successfully, but these errors were encountered: