diff --git a/config.json b/config.json new file mode 100644 index 0000000..b9e0b36 --- /dev/null +++ b/config.json @@ -0,0 +1,46 @@ +{ + "architectures": [ + "BeitForImageClassification" + ], + "attention_probs_dropout_prob": 0.1, + "auxiliary_channels": 256, + "auxiliary_concat_input": false, + "auxiliary_loss_weight": 0.4, + "auxiliary_num_convs": 1, + "drop_path_rate": 0.1, + "hidden_act": "gelu", + "hidden_dropout_prob": 0.1, + "hidden_size": 32, + "image_size": 30, + "initializer_range": 0.02, + "intermediate_size": 37, + "layer_norm_eps": 1e-12, + "layer_scale_init_value": 0.1, + "model_type": "beit", + "num_attention_heads": 4, + "num_channels": 3, + "num_hidden_layers": 4, + "out_indices": [ + 0, + 1, + 2, + 3 + ], + "patch_size": 2, + "pool_scales": [ + 1, + 2, + 3, + 6 + ], + "semantic_loss_ignore_index": 255, + "torch_dtype": "float32", + "transformers_version": "4.25.0.dev0", + "use_absolute_position_embeddings": false, + "use_auxiliary_head": true, + "use_mask_token": false, + "use_mean_pooling": true, + "use_relative_position_bias": false, + "use_shared_relative_position_bias": false, + "vocab_size": 100 +} diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..90978d9 --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,28 @@ +{ + "crop_size": { + "height": 30, + "width": 30 + }, + "do_center_crop": true, + "do_normalize": true, + "do_reduce_labels": false, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.5, + 0.5, + 0.5 + ], + "image_processor_type": "BeitImageProcessor", + "image_std": [ + 0.5, + 0.5, + 0.5 + ], + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "height": 30, + "width": 30 + } +} diff --git a/pytorch_model.bin b/pytorch_model.bin new file mode 100644 index 0000000..4b2d6af --- /dev/null +++ b/pytorch_model.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd5ddc97ea2c9f993d7391ef52b8c3704d8fd1f07b4517166520b6f9078a6498 +size 135186