Enable for all files
Browse files- convert.py +1 -1
convert.py
CHANGED
@@ -16,7 +16,7 @@ import torch
|
|
16 |
import torchvision
|
17 |
|
18 |
|
19 |
-
for checkpoint in glob.iglob('
|
20 |
# Skip if already converted
|
21 |
if '-' in checkpoint:
|
22 |
continue
|
|
|
16 |
import torchvision
|
17 |
|
18 |
|
19 |
+
for checkpoint in glob.iglob('*.pth'):
|
20 |
# Skip if already converted
|
21 |
if '-' in checkpoint:
|
22 |
continue
|