Skip to content

Fix Conv1D dimensions. Fix model loading. v2#71

Open
ttopac wants to merge 25 commits intobroadinstitute:masterfrom
ttopac:customobjects_fix_notf
Open

Fix Conv1D dimensions. Fix model loading. v2#71
ttopac wants to merge 25 commits intobroadinstitute:masterfrom
ttopac:customobjects_fix_notf

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
>>> 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