Push model using huggingface_hub.
Browse files- README.md +9 -0
- config.json +27 -0
- model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- model_hub_mixin
|
4 |
+
- pytorch_model_hub_mixin
|
5 |
+
---
|
6 |
+
|
7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
8 |
+
- Library: [More Information Needed]
|
9 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_type": "local",
|
3 |
+
"dataset_name": "MNCD512",
|
4 |
+
"dataset_path": "/home/yu34/CD/datasets/MineNetCD_Cropped_256",
|
5 |
+
"device": "cuda",
|
6 |
+
"eval": {
|
7 |
+
"batch_size": 32
|
8 |
+
},
|
9 |
+
"input_nc": 3,
|
10 |
+
"model_name": "RDPNet",
|
11 |
+
"num_classes": 2,
|
12 |
+
"push_to_hub": false,
|
13 |
+
"test": {
|
14 |
+
"batch_size": 32,
|
15 |
+
"checkpoint": "checkpoints/GVLM256/DMINet/\"epoch 99/pytorch_model.bin",
|
16 |
+
"save_path": "./results/"
|
17 |
+
},
|
18 |
+
"train": {
|
19 |
+
"batch_size": 32,
|
20 |
+
"epochs": 100,
|
21 |
+
"loss": "CrossEntropy",
|
22 |
+
"lr": 0.0001,
|
23 |
+
"optim": "Adam",
|
24 |
+
"save_intervals": 10,
|
25 |
+
"snapshots_dir": "./checkpoints/"
|
26 |
+
}
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3621235868eed649a399c2c1ff530f4786008162240845b6182d351cd84f64b
|
3 |
+
size 6872960
|