Skip to content

Instantly share code, notes, and snippets.

@nschenone
nschenone / delete_project_models.py
Created April 6, 2023 21:33
Delete all models in an MLRun project
import mlrun
project = mlrun.get_or_create_project(name="dummy-classifier", context="./")
db = mlrun.get_run_db()
for model in project.list_models():
db.del_artifact(key=model.db_key, project=project.name)
@nschenone
nschenone / notion-quotes.json
Last active November 10, 2022 06:11
Notion quotes
[
{
"author": "Focus on High Leverage Activities",
"content": "Leverage = Impact Produced / Time Invested"
},
{
"author": "Focus on High Leverage Activities",
"content": "Focus on high leverage and not just easy wins"
},
{
@nschenone
nschenone / run_provazio.sh
Last active June 3, 2022 20:27
Provazio script
docker run --rm --name provazio-dashboard \
-v ${PWD}/env.yaml:/tmp/env.yaml \
-e PROVAZIO_ENV_SPEC_PATH=/tmp/env.yaml \
-p 8060:8060 \
gcr.io/iguazio/provazio-dashboard:stable
@nschenone
nschenone / env.yaml
Created June 3, 2022 20:22
Iguazio Installer Configuration
dashboard:
frontend:
cloud_provider_regions:
aws:
- <AWS Region>
client:
infrastructure:
ec2:
access_key_id: <Access Key ID>
---
# Homepage configuration
# See https://fontawesome.com/icons for icons options
title: "Project to Prod Dashboard"
subtitle: "Homer"
logo: "logo.png"
# icon: "fas fa-skull-crossbones" # Optional icon
columns: "3"