Spaces:
Runtime error
Runtime error
Hector Lopez
commited on
Commit
·
b14a509
1
Parent(s):
9a933a3
Fixing bugs
Browse files- requirements.txt +0 -1
- utils.py +2 -2
requirements.txt
CHANGED
@@ -2,5 +2,4 @@ icevision[all]
|
|
2 |
matplotlib
|
3 |
effdet
|
4 |
gradio
|
5 |
-
streamlit==1.2.0
|
6 |
Pillow==8.4.0
|
|
|
2 |
matplotlib
|
3 |
effdet
|
4 |
gradio
|
|
|
5 |
Pillow==8.4.0
|
utils.py
CHANGED
@@ -4,10 +4,10 @@ import numpy as np
|
|
4 |
import cv2
|
5 |
import torch
|
6 |
|
7 |
-
from
|
8 |
from model import get_model
|
9 |
|
10 |
-
def plot_img_no_mask(image : np.ndarray, boxes, labels):
|
11 |
colors = {
|
12 |
0: (255,255,0),
|
13 |
1: (255, 0, 0),
|
|
|
4 |
import cv2
|
5 |
import torch
|
6 |
|
7 |
+
from classifier import CustomViT
|
8 |
from model import get_model
|
9 |
|
10 |
+
def plot_img_no_mask(image : np.ndarray, boxes : torch.Tensor, labels):
|
11 |
colors = {
|
12 |
0: (255,255,0),
|
13 |
1: (255, 0, 0),
|