This repository was archived by the owner on Nov 3, 2022. It is now read-only.
This repository was archived by the owner on Nov 3, 2022. It is now read-only.
NASNet misleading ValueError when include_top=False and weights #78
Open
Description
Setting a different image size with include_top = False and weights = 'imagenet' as below,
base_model_transfer = NASNetLarge(input_shape=(image_shape[0],image_shape[1],3), include_top=False,\
weights='imagenet', input_tensor=None, \
pooling='max', classes=train_generator.num_classes)
I obtain a ValueError
ValueError: When setting
include_top=Trueand loading
imagenetweights,
input_shape should be (331, 331, 3).
Seems strange when include_top is set to False. Should this not work?
Metadata
Metadata
Assignees
Labels
No labels