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

Different Objectives #29

Open
Sparkier opened this issue Oct 26, 2021 · 0 comments
Open

Different Objectives #29

Sparkier opened this issue Oct 26, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Sparkier
Copy link
Owner

Sparkier commented Oct 26, 2021

Is your feature request related to a problem? Please describe.
We currently have the filter and layer objective:

def visualize(
image,
model,
layer,
optimization_parameters,
filter_index=None,
transformation=None,
regularization=None,
threshold=None,
minimize=False
):
"""Create a feature visualization for a filter in a layer or a whole layer of the model.
Args:
image (array): the image to be modified by the feature vis process.
model (object): the model to be used for the feature visualization.
layer (string): the name of the layer to be used in the visualization.
optimization_parameters (OptimizationParameters): the optimizer class to be applied.
filter_index (number): the index of the filter to be visualized. Whole layer if None.
transformations (function): a function defining the transformations to be perfromed.
regularization (function): customized regularizers to be applied. Defaults to None.
threshold (list): Intermediate steps for visualization. Defaults to None.
minimize (bool): whether or not to apply minimize as opposed to calling apply_gradient()
for adam optimizer.
Returns:
tuple: activation and result image for the process.
"""

We should also implement a neuron objective.

@Sparkier Sparkier added enhancement New feature or request good first issue Good for newcomers labels Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant