-
Notifications
You must be signed in to change notification settings - Fork 84
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
Console error expected dense_Dense1 to have shape [,57,10] #1
Comments
Same, I've tried changing a lot of parameters and modifying the data structure, but I can't get rid of it. |
I would love a thorough explanation for why this happens in this case in particular. I've been banging my head against it for a while now and the head is losing. |
I implement this in Python and Js, same error with data shapes in Dense Layer. |
glad I'm not the only one seeing this error. |
I'm afraid it's my fault - I wrote the original (and as yet uncompleted) code! The CNN wasn't fully implemented yet! NINJA EDIT - 9.30.18: Very sorry all please see the comment added below. Also, forgive the excessive |
no fix ? |
did anyone manage to figure this out... |
There are major errors with the code. It is not in a functioning state and that makes me wonder it was even tested before the video was recorded? Firstly,
then comes the reshaping part. Why not reshape it prior when the dates are being converted to epoch?
That does not make sense. ( https://js.tensorflow.org/api/0.12.5/#reshape ) and then the part that left me speechless was this...
Why would you map a price series that way? Not even sure what was the goal... Could someone enlighten me. I'm not sure how the reshaped list should look like. |
It wasn't tested, it's just an idea but that wasn't made very clear in the video. |
Same problems here! |
Same here, kinda disappointment. |
@llSourcell Hi, do you notice this issue? |
Hi All! I'm @Thoughtscript - I wanted to apologize about the confusion this has caused! Yikes! First, let me be very clear that I'm not in any way affiliated with @llSourcell. This code was NOT PRODUCTION WORTHY and INCOMPLETE - as noted on the original repo listed here - it's a WORK IN PROGRESS. Actually, I'm not sure how it ended up in a video or attracting any interest whatsoever. The code was being completed for an article to be posted on the top-ranked consulting firm X-Team's blog. Unfortunately, the company decided to move in another direction with its writing and I've since moved over to Microsoft (though I remain affiliated with X-Team's great community). Every other repo listed under my @Thoughtscript account without a WIP flag should be fully functional (with any issues, if they exist, noted). This particular project (which you'll note bears my name on in the pictures), is actually no longer maintained. Any questions, feel free to send me an email at [email protected]. Sorry for any confusion this has caused. Cheers! |
PS - maybe try:
|
Hi @Thoughtscript , thanks for your kind explanation and mostly for noticing this issue! Now the big question is, what was the working demo which @llSourcell showed us in his Live stream. Anyway, I think this is not a proper learning material after all. |
exactly - this is generating a lot of confusion. for beginners this whole subject is hard to grasp and it is made even harder with all the other backend stuff going on. siraj makes stuff look really easy by skipping a lot of difficult and crucial steps and this repo here is the perfect example |
I tried to use the code but it didn't worked for me. So the closest working solution that I got was this one: https://towardsdatascience.com/stock-price-prediction-system-using-1d-cnn-with-tensorflow-js-machine-learning-easy-and-fun-fe5323e68ffb Hope that helps. |
I've got an error trying to run your code,
Uncaught (in promise) Error: Error when checking target: expected dense_Dense1 to have shape [,57,10], but got array with shape [1,1960,1].
The text was updated successfully, but these errors were encountered: