Spaces:
Runtime error
Runtime error
finished app no frills
Browse files
app.py
CHANGED
|
@@ -1,25 +1,15 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
x = st.slider("Select a value")
|
| 4 |
-
st.write(x, "squared is", x * x)
|
| 5 |
|
| 6 |
-
|
| 7 |
-
"""Accelerator_Model_Training_Notebook.ipynb
|
| 8 |
-
|
| 9 |
-
Automatically generated by Colaboratory.
|
| 10 |
|
|
|
|
|
|
|
| 11 |
Original file is located at
|
| 12 |
https://colab.research.google.com/drive/1CSyAE9DhwGTl7bLaSoo7QSyMuoEqJpCj
|
| 13 |
|
| 14 |
-
##This is the Image Classification Model Training Accelerator Notebook
|
| 15 |
-
|
| 16 |
-
In this notebook, you will input your labelbox API Key, the Model Run ID and Ontology ID associated with the dataset you created using the labelbox platform.
|
| 17 |
-
|
| 18 |
-
Please note this Notebook will run through given you have followed the beginning of the accelerator tutorial and set up a project that labels **images as one option of a radio classification list**.
|
| 19 |
-
|
| 20 |
-
label names must be lower case.
|
| 21 |
-
|
| 22 |
-
Inout your API_Key, Ontology_ID, and Model_Run_ID
|
| 23 |
"""
|
| 24 |
|
| 25 |
def train_and_inference(api_key, ontology_id, model_run_id):
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
# x = st.slider("Select a value")
|
| 4 |
+
# st.write(x, "squared is", x * x)
|
| 5 |
|
| 6 |
+
st.title("Auto Image classifier training and inference: Imagnet Weights")
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
# -*- coding: utf-8 -*-
|
| 9 |
+
"""
|
| 10 |
Original file is located at
|
| 11 |
https://colab.research.google.com/drive/1CSyAE9DhwGTl7bLaSoo7QSyMuoEqJpCj
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"""
|
| 14 |
|
| 15 |
def train_and_inference(api_key, ontology_id, model_run_id):
|