Skip to content

Conversation

Philmod
Copy link
Contributor

@Philmod Philmod commented Jul 5, 2023

@Philmod Philmod requested a review from rosbo July 6, 2023 20:36
def test_inference(self):
classifier = keras_cv.models.ImageClassifier.from_preset(
'efficientnetv2_b0_imagenet_classifier',
load_weights=False, # load randomly initialized model from preset architecture with weights
Copy link
Contributor

Choose a reason for hiding this comment

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

Smart way to avoid having to download weights which can't be done in these isolated tests :)

@Philmod Philmod merged commit a1efcff into main Jul 6, 2023
@Philmod Philmod deleted the keras-cv branch July 6, 2023 21:53
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.

2 participants