Push model using huggingface_hub.
Browse files- README.md +6 -19
- config.json +8 -0
- model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,23 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
-
-
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
To provide a simple filter for trees that appear dead in the RGB data we collected 6,342 image crops from the prediction landscape, as well as other NEON sites, and hand annotated them as either alive or dead. We finetuned a resnet-50 pre-trained on ImageNet to classify alive or dead trees before passing them to the species classification model. The model was trained with an ADAM optimizer with a learning rate of 0.001 and batch size of 128 for 40 epochs, and was evaluated on a randomly held out of 10% of the crops. The evaluation accuracy of the alive-dead model was 95.8% (Table S1).
|
| 12 |
-
|
| 13 |
-
Table S1 Confusion matrix for the Alive/Dead model in Weinstein et al. 2023
|
| 14 |
-
|
| 15 |
-
| Predicted | Alive | Dead |
|
| 16 |
-
|-----------------|-------|------|
|
| 17 |
-
| Observed | 527 | 9 |
|
| 18 |
-
| | 10 | 89 |
|
| 19 |
-
|
| 20 |
-
* Note *, due to the smaller training sizes, the confidence scores are overfit and not smooth. We do not recommend using the confidence scores from this model until it is trained on more diverse data.
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
Citation: Weinstein, Ben G., et al. "Capturing long‐tailed individual tree diversity using an airborne imaging and a multi‐temporal hierarchical model." Remote Sensing in Ecology and Conservation 9.5 (2023): 656-670.
|
|
|
|
| 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 |
+
- Code: [More Information Needed]
|
| 9 |
+
- Paper: [More Information Needed]
|
| 10 |
+
- Docs: [More Information Needed]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"batch_size": 4,
|
| 3 |
+
"label_dict": null,
|
| 4 |
+
"lr": 0.0001,
|
| 5 |
+
"model": null,
|
| 6 |
+
"num_classes": 2,
|
| 7 |
+
"num_workers": 0
|
| 8 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4258183b8b90bbce9dcc69ea46e7aac86d892aac34ee0602fa3dc2eafe75eb21
|
| 3 |
+
size 94291856
|