Giter Site home page Giter Site logo

dberenbaum / dvclive-exp-tracking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iterative/dvclive-exp-tracking

0.0 0.0 0.0 8.78 MB

Example repo to show how to start tracking experiments in DVC by adding DVCLive to your Python code.

HTML 8.10% Jupyter Notebook 91.90%

dvclive-exp-tracking's Introduction

DVCLive Experiment Tracking

Example repo to show how to start tracking experiments in DVC by adding DVCLive to your Python code.

Based on https://pytorch-lightning.readthedocs.io/en/stable/starter/introduction.html.

Instructions

  1. Clone the repo:

    git clone [email protected]:iterative/dvclive-exp-tracking.git
    
  2. Install the requirements:

    pip install -r requirements.txt
    
  3. Run the code in dvclive-exp-tracking.ipynb and get live updates to your metrics and plots inside the notebook.

  4. Make some changes (for example, modify lr) and run again.

  5. Compare experiments:

    a. VS Code: Use the DVC extension.

    vs code

    b. Command line:

     # Show the experiments table.
     $ dvc exp show
     ───────────────────────────────────────────────────────────────────────────────────────────── 
     Experiment                 Created        train.loss   epoch   step   encoder_size   lr      
     ───────────────────────────────────────────────────────────────────────────────────────────── 
     workspace                  -                0.056163       4    999   64             0.001   
     main                       Apr 28, 2023     0.056488       4    999   64             -       
     ├── 2c232c6 [adunc-soja]   03:04 PM         0.056163       4    999   64             0.001   
     ├── 5c2dad6 [conic-keys]   03:03 PM         0.056009       4    999   64             0.0001  
     └── c28afc1 [ahull-chin]   03:03 PM          0.05897       4    999   64             0.01    
     ───────────────────────────────────────────────────────────────────────────────────────────── 
    
     # Plot the diff of all experiments.
     $ dvc plots diff $(dvc exp list --name-only)
    

    plots diff

dvclive-exp-tracking's People

Contributors

daavoo avatar dberenbaum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.