Chandanab commited on
Commit
210e1cd
1 Parent(s): 02f24fc

Training in progress, epoch 1

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. config.json +56 -0
  3. preprocessor_config.json +20 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224-pt22k",
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "defense_images",
17
+ "1": "non_defense images"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "defense_images": 0,
24
+ "non_defense images": 1
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "layer_scale_init_value": 0.1,
28
+ "model_type": "beit",
29
+ "num_attention_heads": 12,
30
+ "num_channels": 3,
31
+ "num_hidden_layers": 12,
32
+ "out_indices": [
33
+ 3,
34
+ 5,
35
+ 7,
36
+ 11
37
+ ],
38
+ "patch_size": 16,
39
+ "pool_scales": [
40
+ 1,
41
+ 2,
42
+ 3,
43
+ 6
44
+ ],
45
+ "problem_type": "single_label_classification",
46
+ "semantic_loss_ignore_index": 255,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.17.0",
49
+ "use_absolute_position_embeddings": false,
50
+ "use_auxiliary_head": true,
51
+ "use_mask_token": true,
52
+ "use_mean_pooling": true,
53
+ "use_relative_position_bias": false,
54
+ "use_shared_relative_position_bias": true,
55
+ "vocab_size": 8192
56
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": false,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "BeitFeatureExtractor",
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "reduce_labels": false,
18
+ "resample": 2,
19
+ "size": 224
20
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a20beb0ec9a7d3cefbd8e5a45d4821b10de49e1a5717c263a51f8a52eab7352e
3
+ size 343063573
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63e8c53643a28d66b4d97cfa203d4698e5217af1279a6bfa5e5d37b10bc07d8
3
+ size 3055