Comments (10)
@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.
from mlf-core.
@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.
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.
from mlf-core.
@ggabernet and @KevinMenden any thoughts and ideas?
from mlf-core.
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.
@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.
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.
@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)
- MLProject path to python file wrong HOT 1
- Usage of insecure md5 sum method
- CI matrix for templates HOT 8
- Add pre-commit configuration to all templates
- Lint failure path is wrong when linting non deterministic functions
- MNIST dataset download failes with 503 using torchvision 0.8.2 HOT 8
- Add train_cpu.yml workflow to bump-version blacklisted files with tag controlled
- Branch protection must run on main and master
- Add example of using a MLflow model in a nextflow pipeline HOT 15
- Make cudatoolkit versions consistent for all templates
- Building container for updated dependencies if not yet on development branch
- Switch to release-drafter for all templates HOT 2
- log_input_data not working HOT 2
- Remove XGBoost Dask
- Project creation fails on developement HOT 3
- Switch from conda to mamba HOT 3
- Tensorflow libcudnn8 error
- Run gif & mlflow UI gif
- Use latest TF release in mlflow-tensorflow template
- TF CI fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlf-core.