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

[FeatureAnalyzer] Support More TF-based outputs #43

Merged
merged 3 commits into from
Feb 5, 2023

Conversation

DavidLandup0
Copy link
Owner

Functional and subclassing models typically return a tf.Tensor, while functional subclassing models typically return a dictionary with a tf.Tensor belonging to some key, such as 'output'. Since all TF-based DeepVision models will be made using functional subclassing, the FeatureAnalyzer accepts both formats and either takes the raw output values or obtains the values tied to an 'output' key in the returned dictionary.

TODO: Should it be customizable which key is queried?

@DavidLandup0 DavidLandup0 merged commit 1f88453 into main Feb 5, 2023
@DavidLandup0 DavidLandup0 deleted the feature_analyzer branch February 6, 2023 20:23
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.

None yet

1 participant