{"id":18028471,"url":"https://github.com/interactivetech/pdk-obj-det-demo-sil","last_synced_at":"2025-04-04T20:45:22.423Z","repository":{"id":199530044,"uuid":"703119405","full_name":"interactivetech/pdk-obj-det-demo-sil","owner":"interactivetech","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-18T03:19:18.000Z","size":75840,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T05:25:05.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interactivetech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-10T16:20:14.000Z","updated_at":"2023-10-10T16:20:30.000Z","dependencies_parsed_at":"2023-10-10T22:00:12.787Z","dependency_job_id":"1766a072-bdd8-45a2-92e5-8e39c50a8e12","html_url":"https://github.com/interactivetech/pdk-obj-det-demo-sil","commit_stats":null,"previous_names":["interactivetech/pdk-obj-det-demo-sil"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2Fpdk-obj-det-demo-sil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2Fpdk-obj-det-demo-sil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2Fpdk-obj-det-demo-sil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interactivetech%2Fpdk-obj-det-demo-sil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interactivetech","download_url":"https://codeload.github.com/interactivetech/pdk-obj-det-demo-sil/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249601,"owners_count":20908211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T08:42:17.384Z","updated_at":"2025-04-04T20:45:22.408Z","avatar_url":"https://github.com/interactivetech.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdk-obj-det-demo\nDemo running End to End MLOPS using Determined, Pachyderm, and Kserve. Demo runs Object Detection on Xview Dataset\n# Step 1: Prepare Environment \n* Create Jupyterlab instance on MLDS cluster with resource pool T4 or A100\n* Select one GPU in jupyterlab environment\n* Use docker container: `mendeza/breck:nb_0.0.5`\n\nSee screenshot below:\n\n\u003cimg src=\"./img/jupyterlab-change.png\" alt=\"JupyterLab\"\u003e\n\n# Step 2: Setup and install\n* Open Terminal\n* `git clone https://github.com/interactivetech/pdk-obj-det-demo-sil.git`\n* `cd pdk-obj-det-demo/`\n* `git clone http://github.com/interactivetech/pdk-use-cases-dev-sil.git`\n\n* Go to MLDM: http://mldm-pachyderm.us.rdlabs.hpecorp.net/ , make sure there is a project called object-detection-demo\n* open the object-detection-demo project in MLDM and make sure all the pipelines (and repos) are deleted. We will create the data repo and the pachyderm pipelines in a jupyter notebook using the Pachyderm Python Client\n\n\n* Main notebook will be using to complete the demo Demo_PDK.ipynb\n* Notebook use to run predictions from served KServe model: Demo_Request_Prediction.ipynb\n\n# Running the notebook\n* Run all the cells before hand, some cells will take \u003e5 min because one of the cells trains a FasterRCNN model inside the notebook, and another cell trains a model using MLDE.\n* Walk through the demo cell by cell to demonstrate MLDE and MLDM\n\n# Note:\nThe pachyderm train.py and container will check if there have been previous experiments ran:\n```python\ntry:\n    if checkpoint is None:\n        parent_id = None\n        configfile[\"data\"][\"pachyderm\"][\"previous_commit\"] = None\n        exp = client.create_experiment(configfile, code_path)\n    else:\n        parent_id = checkpoint.training.experiment_id\n        configfile[\"data\"][\"pachyderm\"][\"previous_commit\"] = pach_version\n        exp = client.continue_experiment(\n            configfile, parent_id, checkpoint.uuid\n        )\n```\nIf you want to retrain your model from scratch, be aware of this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractivetech%2Fpdk-obj-det-demo-sil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteractivetech%2Fpdk-obj-det-demo-sil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteractivetech%2Fpdk-obj-det-demo-sil/lists"}