kandi X-RAY | CodingPractice Summary
kandi X-RAY | CodingPractice Summary
CodingPractice
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 codingpractice
CodingPractice Key Features
CodingPractice Examples and Code Snippets
Community Discussions
Trending Discussions on codingpractice
QUESTION
I asked this question on GitHub, and I thought I would post it here as well. My apologies if this is posted in the wrong location. If that is the case, any guidance as to where I can ask this question would be greatly appreciated. I am new to coding and StackOverflow, but have found many answers to posts on this forum very helpful. I am trying to setup a code to utilize the Keras model for deep learning with a 3d dataset, and am uncertain how to deal with the error I'm receiving (in the title). I have found a similar error reported on this forum, but the response was that it would be fixed in TensorFlow v 2.1. I am using v2.4.0, so I expect I'm probably doing something wrong here. The code I am using is as follows:
...ANSWER
Answered 2020-Dec-31 at 14:45Input_dim argument of the first Dense layer is 7. It means that your model expecting the last dimension of your data is 7. But you are feeding (152, 7, 169), where 169 is the last dimension.
Try to transpose it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CodingPractice
You can use CodingPractice like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
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