Skip to content
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

Fix Conv1D dimensions. Fix model loading. v2 #71

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

ttopac
Copy link

@ttopac ttopac commented Apr 15, 2021

#64 #61 #60 sorry about problematic PR earlier.

@ttopac ttopac changed the title Customobjects_fix_2 Fix Conv1D dimensions. Fix model loading. v2 Apr 15, 2021
@@ -129,20 +150,20 @@ class ResNet1D18(ResNet1D):

>>> import keras_resnet.models

>>> shape, classes = (224, 224, 3), 1000
>>> shape, classes = (224, 3), 1000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running this with the fixed file still gives this error:
ValueError: Input 0 of layer conv1 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: (None, 224, 3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants