add model
Browse files- README.md +1 -1
- config.json +71 -0
- pytorch_model.bin +3 -0
README.md
CHANGED
@@ -13,7 +13,7 @@ The model was trained for a course deep learning project titled [Forest Fire Det
|
|
13 |
|
14 |
The model is intended to be used for fire detection through image segmentation.
|
15 |
|
16 |
-
The provided pretrained model was finetuned on the [FLAME](https://dx.doi.org/10.21227/qad6-r683) dataset for
|
17 |
|
18 |
# How to use
|
19 |
|
|
|
13 |
|
14 |
The model is intended to be used for fire detection through image segmentation.
|
15 |
|
16 |
+
The provided pretrained model was finetuned on the [FLAME](https://dx.doi.org/10.21227/qad6-r683) dataset for 3 epochs with a learning rate of 1e-3 and was able to score an IOU score of **0.745** on the test examples.
|
17 |
|
18 |
# How to use
|
19 |
|
config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/mit-b0",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 256,
|
9 |
+
"depths": [
|
10 |
+
2,
|
11 |
+
2,
|
12 |
+
2,
|
13 |
+
2
|
14 |
+
],
|
15 |
+
"drop_path_rate": 0.1,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_sizes": [
|
19 |
+
32,
|
20 |
+
64,
|
21 |
+
160,
|
22 |
+
256
|
23 |
+
],
|
24 |
+
"id2label": {
|
25 |
+
"0": "background",
|
26 |
+
"1": "fire"
|
27 |
+
},
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"label2id": {
|
30 |
+
"background": "0",
|
31 |
+
"fire": "1"
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-06,
|
34 |
+
"mlp_ratios": [
|
35 |
+
4,
|
36 |
+
4,
|
37 |
+
4,
|
38 |
+
4
|
39 |
+
],
|
40 |
+
"model_type": "segformer",
|
41 |
+
"num_attention_heads": [
|
42 |
+
1,
|
43 |
+
2,
|
44 |
+
5,
|
45 |
+
8
|
46 |
+
],
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_encoder_blocks": 4,
|
49 |
+
"patch_sizes": [
|
50 |
+
7,
|
51 |
+
3,
|
52 |
+
3,
|
53 |
+
3
|
54 |
+
],
|
55 |
+
"reshape_last_stage": true,
|
56 |
+
"semantic_loss_ignore_index": 255,
|
57 |
+
"sr_ratios": [
|
58 |
+
8,
|
59 |
+
4,
|
60 |
+
2,
|
61 |
+
1
|
62 |
+
],
|
63 |
+
"strides": [
|
64 |
+
4,
|
65 |
+
2,
|
66 |
+
2,
|
67 |
+
2
|
68 |
+
],
|
69 |
+
"torch_dtype": "float32",
|
70 |
+
"transformers_version": "4.29.1"
|
71 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:153992f26fc73fd4b89cf8a500585d7c59d7f807493e718be725b3d856b78dff
|
3 |
+
size 14931789
|