Spaces:
Sleeping
Sleeping
Upload 1288 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +5 -0
- .streamlit/config.toml +6 -0
- Dockerfile +46 -0
- System_Overview.py +64 -0
- data/filtered_train_embedding/borderline_train_embeddings.npy +3 -0
- data/filtered_train_embedding/borderline_train_ids.npy +3 -0
- data/filtered_train_embedding/borderline_tsne_train_embeddings.npy +3 -0
- data/filtered_train_embedding/correct_cls_train.annoy +3 -0
- data/filtered_train_embedding/miss_cls_train.annoy +0 -0
- data/filtered_train_embedding/miss_train_ids.npy +3 -0
- data/filtered_train_embedding/representative_samples_emb.annoy +3 -0
- data/filtered_train_embedding/representative_train_embeddings.npy +3 -0
- data/filtered_train_embedding/representative_train_ids.npy +3 -0
- data/filtered_train_embedding/test_embeddings.npy +3 -0
- data/filtered_train_embedding/test_ids.npy +3 -0
- data/filtered_train_embedding/train_embeddings.npy +3 -0
- data/filtered_train_embedding/train_ids.npy +3 -0
- data/gradcam_vis_data/CNV/CNV-1016042-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1016042-3.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1016042-4.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-10.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-11.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-12.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-3.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-4.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-5.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-6.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-7.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-8.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-103044-9.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1083927-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1112835-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1112835-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1130960-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1131664-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1177084-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1188386-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1188386-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1188386-3.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1260317-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1290410-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1290410-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1305450-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1305450-2.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1305450-4.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-137351-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-1415351-1.jpeg +0 -0
- data/gradcam_vis_data/CNV/CNV-154835-1.jpeg +0 -0
.gitattributes
CHANGED
@@ -32,3 +32,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
data/filtered_train_embedding/correct_cls_train.annoy filter=lfs diff=lfs merge=lfs -text
|
36 |
+
data/filtered_train_embedding/representative_samples_emb.annoy filter=lfs diff=lfs merge=lfs -text
|
37 |
+
figures/streamlit-instance_exp-2021-12-02-21-12-66.webm filter=lfs diff=lfs merge=lfs -text
|
38 |
+
figures/test_20210401.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
model/keras_model_0422/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
.streamlit/config.toml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[theme]
|
2 |
+
primaryColor="#f21111"
|
3 |
+
backgroundColor="#0e1117"
|
4 |
+
secondaryBackgroundColor="#31333F"
|
5 |
+
textColor="#fafafa"
|
6 |
+
font="sans serif"
|
Dockerfile
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim-bullseye
|
2 |
+
|
3 |
+
# install packages
|
4 |
+
RUN set -x && \
|
5 |
+
apt-get update -y && \
|
6 |
+
apt-get upgrade -y && \
|
7 |
+
apt install -y --no-install-recommends \
|
8 |
+
git\
|
9 |
+
wget\
|
10 |
+
build-essential \
|
11 |
+
apt-utils \
|
12 |
+
ca-certificates \
|
13 |
+
curl \
|
14 |
+
software-properties-common \
|
15 |
+
libopencv-dev \
|
16 |
+
python3-dev \
|
17 |
+
python3-pip \
|
18 |
+
python3-setuptools \
|
19 |
+
python3-venv \
|
20 |
+
cmake \
|
21 |
+
swig \
|
22 |
+
wget \
|
23 |
+
unzip \
|
24 |
+
screen \
|
25 |
+
nano \
|
26 |
+
lxc \
|
27 |
+
iptables \
|
28 |
+
ca-certificates \
|
29 |
+
libfftw3-dev \
|
30 |
+
expat \
|
31 |
+
libgomp1
|
32 |
+
|
33 |
+
COPY . /app
|
34 |
+
|
35 |
+
WORKDIR /app
|
36 |
+
|
37 |
+
#Install necessary packages from requirements.txt with no cache dir allowing for installation on machine with very little memory on board
|
38 |
+
RUN pip install --upgrade pip
|
39 |
+
RUN pip --no-cache-dir install -r requirements.txt
|
40 |
+
|
41 |
+
#Exposing the default streamlit port
|
42 |
+
EXPOSE 8501
|
43 |
+
|
44 |
+
#Running the streamlit app
|
45 |
+
# ENTRYPOINT ["streamlit", "run", "--server.maxUploadSize=5"]
|
46 |
+
# CMD ["System_Overview.py"]
|
System_Overview.py
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
""" Resources:
|
2 |
+
1- https://streamlit-emoji-shortcodes-streamlit-app-gwckff.streamlit.app/
|
3 |
+
2- https://github.com/giswqs/streamlit-geospatial
|
4 |
+
|
5 |
+
"""
|
6 |
+
|
7 |
+
import streamlit as st
|
8 |
+
|
9 |
+
|
10 |
+
USER_GROUPS = ["Developer", "Manager", "Practitioner"]
|
11 |
+
|
12 |
+
st.set_page_config(layout="wide")
|
13 |
+
|
14 |
+
|
15 |
+
st.sidebar.title("About")
|
16 |
+
st.sidebar.info(
|
17 |
+
"""
|
18 |
+
Web App URL: <https://google.com>
|
19 |
+
GitHub repository: <https://github.com/kaplansinan/streamlit-airamework>
|
20 |
+
"""
|
21 |
+
)
|
22 |
+
|
23 |
+
st.sidebar.title("Contact")
|
24 |
+
st.sidebar.info(
|
25 |
+
"""
|
26 |
+
Sinan Kaplan: <https://www.linkedin.com/in/kaplansinan>
|
27 |
+
[GitHub](https://github.com/kaplansinan) | [LinkedIn](https://www.linkedin.com/in/kaplansinan)
|
28 |
+
"""
|
29 |
+
)
|
30 |
+
|
31 |
+
if 'user_group' not in st.session_state:
|
32 |
+
index_tmp = 0
|
33 |
+
else:
|
34 |
+
index_tmp = USER_GROUPS.index(st.session_state['user_group'])
|
35 |
+
|
36 |
+
|
37 |
+
#Sidebar for USER GROUPS
|
38 |
+
st.sidebar.title("USER GROUPS")
|
39 |
+
backend = st.sidebar.selectbox(
|
40 |
+
"Select User-Group ", USER_GROUPS, index=index_tmp
|
41 |
+
)
|
42 |
+
|
43 |
+
st.session_state['user_group'] = backend
|
44 |
+
|
45 |
+
# Customize page title
|
46 |
+
st.title("AI Framework Applications")
|
47 |
+
|
48 |
+
st.markdown(
|
49 |
+
"""
|
50 |
+
This multipage app template demonstrates various interactive web apps created using [streamlit](https://streamlit.io) and [leafmap](https://leafmap.org). It is an open-source project and you are very welcome to contribute to the [GitHub repository](https://github.com/giswqs/streamlit-multipage-template).
|
51 |
+
"""
|
52 |
+
)
|
53 |
+
|
54 |
+
st.header("Instructions")
|
55 |
+
|
56 |
+
markdown = """
|
57 |
+
1. For the [GitHub repository](https://github.com/giswqs/streamlit-multipage-template) or [use it as a template](https://github.com/giswqs/streamlit-multipage-template/generate) for your own project.
|
58 |
+
2. Customize the sidebar by changing the sidebar text and logo in each Python files.
|
59 |
+
3. Find your favorite emoji from https://emojipedia.org.
|
60 |
+
4. Add a new app to the `pages/` directory with an emoji in the file name, e.g., `1_🚀_Chart.py`.
|
61 |
+
"""
|
62 |
+
|
63 |
+
st.markdown(markdown)
|
64 |
+
|
data/filtered_train_embedding/borderline_train_embeddings.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afee18f50f3e179b9b3bb474bb1227207e0acc321d4f91a238dfc29fc6f31f40
|
3 |
+
size 412288
|
data/filtered_train_embedding/borderline_train_ids.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b14fc7143c6c8159b1b47e37fec8edc3abf0c0fb082729a08798c6562979800
|
3 |
+
size 25888
|
data/filtered_train_embedding/borderline_tsne_train_embeddings.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58a0ba0631dd152c874cb47547535178b1191b78a31be71f15237eaed202d9fa
|
3 |
+
size 588
|
data/filtered_train_embedding/correct_cls_train.annoy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:998a027e088914848f107f8e1ced6fc07604942d6e1a2bf7d033e5fdbd6187ef
|
3 |
+
size 15500808
|
data/filtered_train_embedding/miss_cls_train.annoy
ADDED
Binary file (946 kB). View file
|
|
data/filtered_train_embedding/miss_train_ids.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b14fc7143c6c8159b1b47e37fec8edc3abf0c0fb082729a08798c6562979800
|
3 |
+
size 25888
|
data/filtered_train_embedding/representative_samples_emb.annoy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27f1fcec373d09cf7596a572d19497612dc7a3c8d479965ff6ac9373edf5d5d0
|
3 |
+
size 14957088
|
data/filtered_train_embedding/representative_train_embeddings.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c2f290910089c642be3d401fa56f84b72dc21bb03996abe2bca86aec68a17b8
|
3 |
+
size 6745216
|
data/filtered_train_embedding/representative_train_ids.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7291ebdc506d4e6e97c57e22fe7e4829987def9fc43f9f9d68ab909f368d74c0
|
3 |
+
size 421696
|
data/filtered_train_embedding/test_embeddings.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23ad5d70c95538eaacc82167f73896c20515f77d0b892610d6e5f1edb988758d
|
3 |
+
size 3469440
|
data/filtered_train_embedding/test_ids.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0608ccc7a38ccb6d43b27e4b49d205c0d6bb581b4cd5f72005951608c7752b6
|
3 |
+
size 205344
|
data/filtered_train_embedding/train_embeddings.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18162469fe1b5291e879ed19f4696b2b63bd8b673ff84fee21d36d7e6f8f11bd
|
3 |
+
size 71608448
|
data/filtered_train_embedding/train_ids.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17a4f50731d13c31abe2c94a3e1fa67bb320704d5f1915288541eeaa4bcdfe20
|
3 |
+
size 4475648
|
data/gradcam_vis_data/CNV/CNV-1016042-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1016042-3.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1016042-4.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-10.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-11.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-12.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-3.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-4.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-5.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-6.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-7.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-8.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-103044-9.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1083927-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1112835-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1112835-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1130960-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1131664-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1177084-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1188386-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1188386-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1188386-3.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1260317-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1290410-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1290410-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1305450-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1305450-2.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1305450-4.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-137351-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-1415351-1.jpeg
ADDED
data/gradcam_vis_data/CNV/CNV-154835-1.jpeg
ADDED