Coder Social home page Coder Social logo

Track input data with md5 about mlf-core HOT 10 CLOSED

Zethson avatar Zethson commented on June 14, 2024
Track input data with md5

from mlf-core.

Comments (10)

edmundmiller avatar edmundmiller commented on June 14, 2024 1

@Zethson gotcha. That was what I was thinking as well. Do you want it just printed out or how do you want it logged into mlflow specifically? I've gotten the MD5_sum function from @KevinMenden nf-core module PR.

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

image

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

@emiller88 Just assigning it to you for now. If you want and have time you can tackle this after #220 .
But it's not urgent! So don't stress yourself, please.

from mlf-core.

edmundmiller avatar edmundmiller commented on June 14, 2024

Where do you want to track the md5 sums? And I'm guess this is more of an added mlf-core feature, not using mlflow.log_artifacts?

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

@ggabernet and @KevinMenden any thoughts and ideas?

from mlf-core.

KevinMenden avatar KevinMenden commented on June 14, 2024

Hmm Not immediately, I will give it some though ... I'm thinking you might have to do this in the data loader because that's usually the only one that sees the original data. But I also haven't had a coffee yet so :)

Coffee ✔️

Okay I like this but I think it should be kept simple. We could write a small functions that calculates for instance a list of md5 sums for a file system (in case of image data) or just one md5 sum in case it's just a file (might be the case for scRNA-seq data, for instance). And then just issue a warning and/or save the result in somewhere in the mlflow logs output?

This should cover the scenario where you really want to reproduce something by running the model with the same dataset. I don't think we need to cover other cases.
What do you think? Is this what you had in mind @Zethson ?

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

@KevinMenden @emiller88 yes exactly. This is what I had in mind as well.
There might just be many edge cases. Dataloaders downloading the data to somewhere. Downloading the data on the fly or accessing it from e.g. S3
We could force dataloaders at least to download to /data, but then we would need to ensure that the tensorboard logs are not in /data but somewhere else.

@emiller88 let's start simple. For now we can just provide the functionality and then slowly see how we can use it while we are developing the use-cases. I would suggest that you add a function to our shiny new MLFCore object which given a single path (string not Path to keep it simple) or a list of paths calculates the MD5 sums and logs them.

from mlf-core.

Zethson avatar Zethson commented on June 14, 2024

Must be logged with mlflow

Please refer to https://www.mlflow.org/docs/latest/tracking.html

Think that we should then also update our docs to note this to our users somewhere.

from mlf-core.

KevinMenden avatar KevinMenden commented on June 14, 2024

@Zethson gotcha. That was what I was thinking as well. Do you want it just printed out or how do you want it logged into mlflow specifically? I've gotten the MD5_sum function from @KevinMenden nf-core module PR.

(And I got it from the net :D )

from mlf-core.

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.