GithubHelp home page GithubHelp logo

Comments (11)

yiyixuxu avatar yiyixuxu commented on August 24, 2024 2

@soumik12345 do you have an example that I can play with?

The main concern is that we want it as easy to use as possible. Assume a participant who never heard of Weights & biases before; our goal is to make sure:

  1. they can follow the instruction to create wandb account, run the example script and just be able to understand how to use the dashboard with only intuition
  2. able to read over the part of code that does wandb logging and have a rough idea of how it works; and able to adapt it for their training script without having too much of a learning curve

So I'm not in favor of adding a fancier logging feature to our example training script that will make the code harder to read and may require additional steps to interact on the dashboard. However, if you want to write a separate inference script with this, we are happy to link it :)

from community-events.

sayakpaul avatar sayakpaul commented on August 24, 2024 1

That is a bit hard for me to look through. Could you maybe try to do a git diff on the latest training script from this repository and provide the patch here?

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

cc: @sayakpaul

from community-events.

sayakpaul avatar sayakpaul commented on August 24, 2024

I am okay with the idea. Could you elaborate what are advantages of using wandb.Table() here as opposed to not using it?

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

With wandb.Table, it would become very easy to Interactively explore the results in the Weights & Biases UI, compared to the media panels, thanks to additional features such as query, group-by, filter, sort (reference). Since tables are stored as artifacts, the results also become part of the lineage.

from community-events.

sayakpaul avatar sayakpaul commented on August 24, 2024

Thanks for providing the additional context!

Having used tables before, I can definitely see where you are coming from!

That said, we want our scripts to be minimal in terms of the features we support so that they are easily customizable. Do you have a (git) patch view of the changes that might be needed here to incorporate tables?

def log_validation(controlnet, controlnet_params, tokenizer, args, rng, weight_dtype):

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

Hi @sayakpaul I have the changes on my fork here.

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

image

from community-events.

yiyixuxu avatar yiyixuxu commented on August 24, 2024

how do you compare different runs?

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

how do you compare different runs?

On your dashboard, tables from different runs are actually concatenated in the same table if they are logged under the same key. The best way to compare against different runs, therefore, is to add an additional column called Run or Experiment which with have the value wandb.run.id, and after the table is logged, you can group by this column to compare results across different runs.

Note that I prefer to log run.id in the table instead of run.name because the run name is subject to change as per the user's convenience in the UI even after the run has been completed. The run.id is a unique id assigned to each run and its updated run name can still be viewed upon hovering over the index column of a table with logs from multiple runs as shown below.

image

from community-events.

soumik12345 avatar soumik12345 commented on August 24, 2024

Hi, @sayakpaul @yiyixuxu
Please let me know your thoughts on this. I would love to raise a pull request if you give a green signal.

from community-events.

Related Issues (20)

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.