Giter VIP home page Giter VIP logo

Comments (10)

vincenzodentamaro avatar vincenzodentamaro commented on July 24, 2024 1

same error here

from keras-resnet.

gitergreat avatar gitergreat commented on July 24, 2024

Yeah, it also confuse me a lot.

from keras-resnet.

andresdigiovanni avatar andresdigiovanni commented on July 24, 2024

Same error.

In keras_resnet/models/_id.py

x = keras.layers.Conv1D(64, (7, 7), strides=(2, 2), use_bias=False, name="conv1")(x)
and
x = keras.layers.MaxPooling1D((3, 3), strides=(2, 2), padding="same", name="pool1")(x)

should be:

x = keras.layers.Conv1D(64, 7, strides=2, use_bias=False, name="conv1")(x)
and
x = keras.layers.MaxPooling1D(3, strides=2, padding="same", name="pool1")(x)

from keras-resnet.

vincenzodentamaro avatar vincenzodentamaro commented on July 24, 2024

I have proposed a fix by uploading the code I have modified to work with 1D time series.

from keras-resnet.

unnir avatar unnir commented on July 24, 2024

so, this is the issue.

from keras-resnet.

aadnesd avatar aadnesd commented on July 24, 2024

I have a dataset with 1600 rows and 103 columns, when I used Conv1D in a sequential model I reshaped my data to (1600,103,1) and put the input_shape=(103,1) it worked fine. But when I use this model, after adding the fix in regards to kernel and strides, and shape (103,1) I get this error:
ValueError: Input 0 of layer conv1 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: (None, 103, 1)

@tackoo

from keras-resnet.

aadnesd avatar aadnesd commented on July 24, 2024

@tackoo there is still the dimension problem after the fixes

from keras-resnet.

vincenzodentamaro avatar vincenzodentamaro commented on July 24, 2024

from keras-resnet.

aadnesd avatar aadnesd commented on July 24, 2024

Is it possible to install this fork?

from keras-resnet.

vincenzodentamaro avatar vincenzodentamaro commented on July 24, 2024

from keras-resnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.