adding checkpoints
Browse files- method/custom_clip.py +1 -1
- run.sh +1 -1
- weights/ViT-L-14-336px.pt/ViT-L-14-336px.pt +3 -0
- weights/baseline.pth +3 -0
method/custom_clip.py
CHANGED
@@ -682,7 +682,7 @@ def create_model_and_transforms(
|
|
682 |
image_mean: Optional[Tuple[float, ...]] = None,
|
683 |
image_std: Optional[Tuple[float, ...]] = None,
|
684 |
aug_cfg: Optional[Union[Dict[str, Any], AugmentationCfg]] = None,
|
685 |
-
cache_dir: Optional[str] =
|
686 |
output_dict: Optional[bool] = None,
|
687 |
):
|
688 |
######### create the clip model
|
|
|
682 |
image_mean: Optional[Tuple[float, ...]] = None,
|
683 |
image_std: Optional[Tuple[float, ...]] = None,
|
684 |
aug_cfg: Optional[Union[Dict[str, Any], AugmentationCfg]] = None,
|
685 |
+
cache_dir: Optional[str] = "weights/ViT-L-14-336px.pt",
|
686 |
output_dict: Optional[bool] = None,
|
687 |
):
|
688 |
######### create the clip model
|
run.sh
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
ckt_path="weights/
|
4 |
gpu_id=0
|
5 |
|
6 |
CUDA_VISIBLE_DEVICES=$gpu_id python test.py --ckt_path $ckt_path --testing_data mvtec
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
ckt_path="weights/baseline.pth"
|
4 |
gpu_id=0
|
5 |
|
6 |
CUDA_VISIBLE_DEVICES=$gpu_id python test.py --ckt_path $ckt_path --testing_data mvtec
|
weights/ViT-L-14-336px.pt/ViT-L-14-336px.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3035c92b350959924f9f00213499208652fc7ea050643e8b385c2dac08641f02
|
3 |
+
size 934088680
|
weights/baseline.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be51a42c052bd4cf060e54f503a1f5d0b2a3b899bc8dc2e243042f18b215427e
|
3 |
+
size 42673907
|