Instructions to use torchgeo/satlas with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TorchGeo
How to use torchgeo/satlas with TorchGeo:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
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
|