Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
6573ecd
1
Parent(s):
54307f8
Add cache
Browse files- plantvision.py +3 -1
plantvision.py
CHANGED
@@ -15,7 +15,9 @@ import logging
|
|
15 |
logging.disable(logging.INFO)
|
16 |
logging.disable(logging.WARNING)
|
17 |
|
18 |
-
visionTransformer = AutoModel.from_pretrained(r"google/vit-base-patch16-224-in21k"
|
|
|
|
|
19 |
|
20 |
class PlantVision(nn.Module):
|
21 |
def __init__(self, num_classes):
|
|
|
15 |
logging.disable(logging.INFO)
|
16 |
logging.disable(logging.WARNING)
|
17 |
|
18 |
+
visionTransformer = AutoModel.from_pretrained(r"google/vit-base-patch16-224-in21k",
|
19 |
+
cache_dir=None
|
20 |
+
)
|
21 |
|
22 |
class PlantVision(nn.Module):
|
23 |
def __init__(self, num_classes):
|