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

Add wandb support #16

Merged
merged 20 commits into from
Jan 10, 2023
Merged

Add wandb support #16

merged 20 commits into from
Jan 10, 2023

Conversation

adamwawrzynski
Copy link
Collaborator

@adamwawrzynski adamwawrzynski commented Dec 30, 2022

Description

This PR introduces support for Weights and Biases as experiment tracking tool. It adds custom callback class which logs artefacts from XAI algorithms to the W&B experiment. It also adds example script to run test training on MNIST dataset with wandb callback.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • manual testing

Checklist:

  • I have updated all related pyproject.toml files.
  • I have updated lock files.
  • I have set an Assignee and Reviewers.
  • I have labeled the PR correctly.
  • I have performed a self-review of my own code.
  • I have covered my code and changes with unit tests.
  • I have annotated types as extensively as possible.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • All code references and dependencies will work.

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Adam Wawrzyński added 7 commits December 30, 2022 12:00
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…ir parameters

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…of content

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Outdated Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Outdated Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Outdated Show resolved Hide resolved
autoxai/explainer_helper.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Show resolved Hide resolved
Adam Wawrzyński added 4 commits January 4, 2023 12:39
…ix installing from wheel

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
…docs

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
autoxai/callbacks/wandb_callback.py Outdated Show resolved Hide resolved
autoxai/explainer_helper.py Outdated Show resolved Hide resolved
autoxai/cli/experiment_update.py Outdated Show resolved Hide resolved
autoxai/cli/experiment_update.py Outdated Show resolved Hide resolved
autoxai/callbacks/wandb_callback.py Outdated Show resolved Hide resolved
autoxai/explainer_helper.py Outdated Show resolved Hide resolved
Adam Wawrzyński added 4 commits January 9, 2023 13:27
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Copy link
Collaborator

@kamilrzechowski kamilrzechowski left a comment

Choose a reason for hiding this comment

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

LGTM

Adam Wawrzyński added 2 commits January 10, 2023 08:41
…ration

Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
Signed-off-by: Adam Wawrzyński <adam.wawrzynski@reasonfieldlab.com>
@adamwawrzynski adamwawrzynski merged commit b2c38fa into main Jan 10, 2023
@kamilrzechowski kamilrzechowski deleted the feature/wandb_callback branch January 10, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants