Sign inSign up

openml/croissant-converter

By openml

•Updated over 1 year ago

Converting dataset metadata from OpenML to Croissant format.

Image
0

1.0K

openml/croissant-converter repository overview

⁠croissant converter

⁠Usage

docker run --rm openml/croissant-converter generate_croissants.py --help
docker run --rm openml/croissant-converter upload_datasets_to_minio.py --help

Make sure you have a .env file to give to the uploader:

MINIO_ACCESS_KEY=[KEY]
MINIO_SECRET_KEY=[SECRET]

Example:

docker run --rm \
  -v ./data:/output \
  -v ~/.cache/openml:/home/unprivileged-user/.cache/openml \
  openml/croissant-converter:[VERSION] generate_croissants.py \
  --all \
  -o /output

docker run --rm \
  -v ./data:/input \
  --env-file .env \
  openml/croissant-converter:[VERSION] upload_datasets_to_minio.py \
  -i /input

⁠Build and publish

Update the version in pyproject.toml. Use the same version in the following script:

docker build -f docker/Dockerfile --tag openml/croissant-converter:[VERSION] .
docker push openml/croissant-converter:[VERSION]

Tag summary

Content type

Image

Digest

sha256:31dd71c30…

Size

377.6 MB

Last updated

over 1 year ago

docker pull openml/croissant-converter