Image Classification
Transformers
Safetensors
cetaceanet
biology
biodiversity
custom_code
MalloryWittwerEPFL commited on
Commit
6a41652
·
verified ·
1 Parent(s): 6257083

Upload model

Browse files
Files changed (2) hide show
  1. config.json +73 -4
  2. model.safetensors +1 -1
config.json CHANGED
@@ -2,11 +2,80 @@
2
  "architectures": [
3
  "CetaceanClassifierModelForImageClassification"
4
  ],
5
- "auto_map": {
6
- "AutoConfig": "configuration_cetacean_classifier.CetaceanClassifierConfig",
7
- "AutoModelForImageClassification": "modeling_cetacean_classifier.CetaceanClassifierModelForImageClassification"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  "model_type": "cetaceanet",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "torch_dtype": "float32",
11
- "transformers_version": "4.46.0"
 
 
12
  }
 
2
  "architectures": [
3
  "CetaceanClassifierModelForImageClassification"
4
  ],
5
+ "aug": {
6
+ "crop_l": 0.75,
7
+ "crop_r": 1.3333333333333333,
8
+ "crop_scale": 0.9,
9
+ "p_affine": 0.5,
10
+ "p_blur": 0.05,
11
+ "p_bright_contrast": 0.5,
12
+ "p_cutout": 0.05,
13
+ "p_downscale": 0.0,
14
+ "p_gray": 0.1,
15
+ "p_noise": 0.05,
16
+ "p_posterize": 0.2,
17
+ "p_rain": 0.05,
18
+ "p_shuffle": 0.3,
19
+ "p_snow": 0.1,
20
+ "rotate": 15,
21
+ "shear": 3,
22
+ "translate": 0.25
23
  },
24
+ "batch_size": 8,
25
+ "bbox_conf_threshold": 0.01,
26
+ "bboxes": {
27
+ "backfin": 0.15,
28
+ "detic": 0.05,
29
+ "fullbody": 0.6,
30
+ "fullbody_charm": 0.15,
31
+ "none": 0.05
32
+ },
33
+ "global_pool": {
34
+ "arch": "GeM",
35
+ "p": 3,
36
+ "train": false
37
+ },
38
+ "image_size": [
39
+ 768,
40
+ 768
41
+ ],
42
+ "loss_fn": "CrossEntropy",
43
+ "loss_id_ratio": 0.437338,
44
+ "lr_backbone": 0.0016,
45
+ "lr_decay_scale": 0.01,
46
+ "lr_head": 0.016,
47
+ "margin_coef_id": 0.27126,
48
+ "margin_coef_species": 0.226253,
49
+ "margin_cons_id": 0.05,
50
+ "margin_cons_species": 0.05,
51
+ "margin_power_id": -0.364399,
52
+ "margin_power_species": -0.720133,
53
+ "max_epochs": 30,
54
+ "model_name": "tf_efficientnetv2_m",
55
  "model_type": "cetaceanet",
56
+ "n_center_id": 2,
57
+ "n_center_species": 2,
58
+ "n_data": -1,
59
+ "n_splits": -1,
60
+ "normalization": "batchnorm",
61
+ "num_classes": 15587,
62
+ "num_species_classes": 26,
63
+ "optimizer": "AdamW",
64
+ "out_indices": [
65
+ 3,
66
+ 4
67
+ ],
68
+ "pretrained": true,
69
+ "pseudo_conf_threshold": 0.6,
70
+ "pseudo_label": "pseudo_labels/round2.csv",
71
+ "s_id": 20.9588,
72
+ "s_species": 33.1383,
73
+ "test_bboxes": [
74
+ "fullbody",
75
+ "fullbody_charm"
76
+ ],
77
  "torch_dtype": "float32",
78
+ "transformers_version": "4.46.0",
79
+ "val_bbox": "fullbody",
80
+ "warmup_steps_ratio": 0.2
81
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:712961fdbe88c79a9d84f272bebb74660247170a68d1ba2a6e598811df464f57
3
  size 296028464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7513de376ac126563e7785aabedcee668ce9c9b3d20663f49e66645f480a416c
3
  size 296028464