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

Extract features and endpoints in one pass #316

Open
jsetty opened this issue Jan 17, 2022 · 0 comments
Open

Extract features and endpoints in one pass #316

jsetty opened this issue Jan 17, 2022 · 0 comments

Comments

@jsetty
Copy link

jsetty commented Jan 17, 2022

Hi,

I would like to extract features and the endpoints in one pass like in the original implementation.

import efficientnet_builder
features, endpoints = efficientnet_builder.build_model_base(images, 'efficientnet-b0')

Can I call extract_features(self, inputs) and extract_endpoints(self, inputs) separately without affecting the computational graph? If yes, does the order of call make a difference? If not, How to do it? My idea is to use both features and these endpoints for my task. Any help is appreciated!

Thanks!

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

No branches or pull requests

1 participant