Skip to content

renardeinside/db-connect-v2-image-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image classification app, built with Databricks DB Connect "V2" and Dash 🔥

Prerequisites

  • [Local machine] JVM (I'm using JVM 11 in this example)
  • [Local machine] Poetry
  • [Local machine] Databricks profile configured via databricks-cli
  • [Databricks] Databricks All-purpose Cluster with DBR 13.X or higher and UC enabled

How-to

  1. Install package and it's dependencies:
poetry install
  1. Create a table with image metadata (check the possible arguments in the conf/config.yaml file):
poetry run frontend \
    --config-path="${PWD}/conf" \
    profile=some-databricks-profile \
    cluster_name=some-cluster-name
  1. Run the app:
poetry run python \
    db_connect_v2_image_classification/frontend/app.py \
    --config-path="${PWD}/conf" \
    profile=some-databricks-profile \
    cluster_name=some-cluster-name
  1. Open http://0.0.0.0:8050 and enjoy your app ✨

Technologies used