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

☄️ comet integration #129

Merged
merged 29 commits into from Nov 12, 2021
Merged

☄️ comet integration #129

merged 29 commits into from Nov 12, 2021

Conversation

aniketmaurya
Copy link
Contributor

@aniketmaurya aniketmaurya commented Nov 10, 2021

Changes

Fixes #125

Type of change

  • 📚 Documentation Update
  • 🧪 Tests Cases
  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • 🔬 New feature (non-breaking change which adds functionality)
  • 🚨 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 This change requires a documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • 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
  • Did you update CHANGELOG in case of a major change?

@aniketmaurya aniketmaurya added this to the 0.0.7 milestone Nov 10, 2021
@aniketmaurya aniketmaurya added this to In progress in Kanban via automation Nov 10, 2021
@aniketmaurya aniketmaurya self-assigned this Nov 10, 2021
@aniketmaurya aniketmaurya added the enhancement New feature or request label Nov 10, 2021
@aniketmaurya aniketmaurya changed the title Feature/comet integration ☄️ comet integration Nov 10, 2021
@github-actions github-actions bot added the test label Nov 10, 2021
@codecov
Copy link

codecov bot commented Nov 10, 2021

Codecov Report

Merging #129 (1c203bd) into main (d8e3019) will decrease coverage by 0.10%.
The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   96.35%   96.24%   -0.11%     
==========================================
  Files          64       64              
  Lines        1838     1839       +1     
==========================================
- Hits         1771     1770       -1     
- Misses         67       69       +2     
Flag Coverage Δ
unittests 96.24% <90.90%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gradsflow/core/base.py 100.00% <ø> (ø)
gradsflow/callbacks/gpu.py 93.75% <83.33%> (+0.41%) ⬆️
gradsflow/callbacks/logger/comet.py 96.36% <91.30%> (-3.64%) ⬇️
gradsflow/models/tracker.py 94.80% <100.00%> (-0.32%) ⬇️
tests/models/test_tracker.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8e3019...1c203bd. Read the comment docs.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 10, 2021
@aniketmaurya aniketmaurya added API design and removed documentation Improvements or additions to documentation example labels Nov 10, 2021
@github-actions github-actions bot added documentation Improvements or additions to documentation example labels Nov 10, 2021
@github-actions github-actions bot removed example test documentation Improvements or additions to documentation labels Nov 10, 2021
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 10, 2021
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Nov 10, 2021
@github-actions github-actions bot added the test label Nov 10, 2021
@mcullan
Copy link

mcullan commented Nov 11, 2021

Hi, ML Engineer at Comet here! This is looking great. There are a few things that come to mind, for me.

  1. In CometCallback.__init__ , I would recommend adding an optional workspace argument that gets passed to comet_ml.Experiment/comet_ml.OfflineExperiment. Without a workspace argument, an experiment is placed in a user's default workspace, i.e. their username. See here: https://www.comet.ml/docs/python-sdk/Experiment/#experiment__init__
  2. You may find it useful to allow for logging to an existing experiment using our ExistingExperiment class, if you think it would be suitable for working in Gradsflow. You could do this by adding an optional experiment_key argument to the initializer. For an example of implementation, check out Catalyst's Comet integration: https://github.com/catalyst-team/catalyst/blob/master/catalyst/loggers/comet.py . For more info on logging to existing experiments: https://www.comet.ml/docs/python-sdk/ExistingExperiment/

@sonarcloud
Copy link

sonarcloud bot commented Nov 11, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@aniketmaurya
Copy link
Contributor Author

Thank you for your time to review this @mcullan. I have applied your suggestions for both workspace and loading previous experiment. Thanks for the feedback!

@aniketmaurya aniketmaurya merged commit 3874739 into main Nov 12, 2021
Kanban automation moved this from In progress to Done Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

Comet integration
2 participants