Spaces:
Runtime error
Runtime error
Songwei Ge
commited on
Commit
•
b41079f
1
Parent(s):
4c022fe
demo!
Browse files- app.py +0 -1
- utils/attention_utils.py +0 -2
app.py
CHANGED
@@ -4,7 +4,6 @@ import os
|
|
4 |
import json
|
5 |
import time
|
6 |
import argparse
|
7 |
-
import imageio
|
8 |
import torch
|
9 |
import numpy as np
|
10 |
from torchvision import transforms
|
|
|
4 |
import json
|
5 |
import time
|
6 |
import argparse
|
|
|
7 |
import torch
|
8 |
import numpy as np
|
9 |
from torchvision import transforms
|
utils/attention_utils.py
CHANGED
@@ -7,8 +7,6 @@ import torch
|
|
7 |
import torchvision
|
8 |
|
9 |
from pathlib import Path
|
10 |
-
import skimage
|
11 |
-
from skimage.morphology import erosion, square
|
12 |
|
13 |
|
14 |
def split_attention_maps_over_steps(attention_maps):
|
|
|
7 |
import torchvision
|
8 |
|
9 |
from pathlib import Path
|
|
|
|
|
10 |
|
11 |
|
12 |
def split_attention_maps_over_steps(attention_maps):
|