Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import os
|
|
2 |
import zipfile
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
-
from transformers import
|
|
|
6 |
from PIL import Image
|
7 |
from torch.utils.data import Dataset, DataLoader
|
8 |
import streamlit as st
|
|
|
2 |
import zipfile
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
+
from transformers import SegformerForSemanticSegmentation, SegformerFeatureExtractor
|
6 |
+
from transformers import ResNetForImageClassification, AdamW
|
7 |
from PIL import Image
|
8 |
from torch.utils.data import Dataset, DataLoader
|
9 |
import streamlit as st
|