Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

dense_Dense1 to have shape [,57,10], but got array with shape [1,1960,1]. #1

Open
plska opened this issue Jul 14, 2018 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@plska
Copy link

plska commented Jul 14, 2018

Hi I always get
tf.js:5899 Uncaught (in promise) Error: Error when checking target: expected dense_Dense1 to have shape [,57,10], but got array with shape [1,1960,1].

@Lipe991
Copy link

Lipe991 commented Jul 15, 2018

+1

@Thoughtscript
Copy link
Owner

Hey! Yes, this is a WIP! It'll be the first TensorFlow.js stock prediction example!

@Thoughtscript
Copy link
Owner

Thoughtscript commented Jul 22, 2018

Please also see: llSourcell/Financial_Forecasting_with_TensorflowJS#1 which is "forked" from this repo!

@Thoughtscript Thoughtscript self-assigned this Jul 22, 2018
@Thoughtscript Thoughtscript added the bug Something isn't working label Jul 22, 2018
@Thoughtscript
Copy link
Owner

Thoughtscript commented Sep 30, 2018

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 - see this.

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. Unfortunately, the company decided to move in another direction with it's 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!

@Thoughtscript
Copy link
Owner

PS - maybe try:

  1. Normalizing the values
  2. Correcting the shapes
  3. Correctly configuring the convolutional neural net
  4. Leveraging parallel processing and WebGL since that shit's gonna break on single-threaded JS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants