Update cluster_visualize.py
Browse files- cluster_visualize.py +1 -1
cluster_visualize.py
CHANGED
@@ -59,7 +59,7 @@ class PredictionArgs:
|
|
59 |
self.head = head
|
60 |
self.resize_img = resize_img
|
61 |
self.alpha = alpha
|
62 |
-
|
63 |
|
64 |
# Preprocessing
|
65 |
def _preprocess(raw_image):
|
|
|
59 |
self.head = head
|
60 |
self.resize_img = resize_img
|
61 |
self.alpha = alpha
|
62 |
+
assert self.model in timm.list_models(), "Please use a timm pre-trined model, see timm.list_models()"
|
63 |
|
64 |
# Preprocessing
|
65 |
def _preprocess(raw_image):
|