Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,25 @@ import streamlit as st
|
|
| 2 |
from io import StringIO
|
| 3 |
from PIL import Image
|
| 4 |
import pandas as pd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
st.title("some big ML function")
|
| 7 |
|
|
|
|
| 2 |
from io import StringIO
|
| 3 |
from PIL import Image
|
| 4 |
import pandas as pd
|
| 5 |
+
import numpy as np
|
| 6 |
+
import glob
|
| 7 |
+
import os
|
| 8 |
+
|
| 9 |
+
import torch
|
| 10 |
+
import torch.nn as nn
|
| 11 |
+
from torch.utils.data import Dataset, DataLoader
|
| 12 |
+
import torchvision.models as models
|
| 13 |
+
from torchinfo import summary
|
| 14 |
+
|
| 15 |
+
from sklearn.model_selection import StratifiedKFold
|
| 16 |
+
from sklearn.metrics import accuracy_score
|
| 17 |
+
|
| 18 |
+
from tqdm import tqdm
|
| 19 |
+
import cv2
|
| 20 |
+
import albumentations as A # Albumentations is a computer vision tool that boosts the performance of deep convolutional neural networks. (https://albumentations.ai/)
|
| 21 |
+
import matplotlib.pyplot as plt
|
| 22 |
+
import seaborn as sns
|
| 23 |
+
from albumentations.pytorch.transforms import ToTensorV2
|
| 24 |
|
| 25 |
st.title("some big ML function")
|
| 26 |
|