machine-learning-exchange / mlx

Machine Learning eXchange (MLX). Data and AI Assets Catalog and Execution Engine
https://ml-exchange.org/
Apache License 2.0
205 stars 54 forks source link

Rework bootstrapper #23

Open ckadner opened 3 years ago

ckadner commented 3 years ago
$ grep -o -h -E "http.*yaml" bootstrapper/configmap.yaml | \
  while read url; do \
    curl -s -o /dev/null -w "%{http_code}" $url; echo ": ${url}"; \
  done | grep --color "404"
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-audio-classifier.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-breast-cancer-mitosis-detector.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-facial-age-estimator.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-image-segmenter.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-news-text-generator.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-sports-video-classifier.yaml
Tomcli commented 3 years ago

@ckadner Since we already have the API to populate the initial catalogs, can we move the bootstrapper init functions to the API so we don't have to maintain another configmap?

ckadner commented 3 years ago

We could just keep the bootstrapper/catalog_upload.json and add a small Python script to call the API.

I would then remove all of these files:

And rewrite the README.md

If you agree I will create a PR for that.

Tomcli commented 3 years ago

sure

GiriSrini commented 3 years ago

@ckadner I would like to work on this issue.