Push model using huggingface_hub.
Browse files- README.md +10 -3
 - config.json +148 -0
 - model.safetensors +3 -0
 
    	
        README.md
    CHANGED
    
    | 
         @@ -1,3 +1,10 @@ 
     | 
|
| 1 | 
         
            -
            ---
         
     | 
| 2 | 
         
            -
             
     | 
| 3 | 
         
            -
             
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 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,148 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "adaptors_kwargs": {
         
     | 
| 3 | 
         
            +
                "flow": {
         
     | 
| 4 | 
         
            +
                  "class": "FlowAdaptor",
         
     | 
| 5 | 
         
            +
                  "kwargs": {
         
     | 
| 6 | 
         
            +
                    "base_shape": [
         
     | 
| 7 | 
         
            +
                      224,
         
     | 
| 8 | 
         
            +
                      224
         
     | 
| 9 | 
         
            +
                    ],
         
     | 
| 10 | 
         
            +
                    "flow_mean": [
         
     | 
| 11 | 
         
            +
                      0.0,
         
     | 
| 12 | 
         
            +
                      0.0
         
     | 
| 13 | 
         
            +
                    ],
         
     | 
| 14 | 
         
            +
                    "flow_std": [
         
     | 
| 15 | 
         
            +
                      25,
         
     | 
| 16 | 
         
            +
                      25
         
     | 
| 17 | 
         
            +
                    ],
         
     | 
| 18 | 
         
            +
                    "name": "flow",
         
     | 
| 19 | 
         
            +
                    "output_normalized_coordinate": false,
         
     | 
| 20 | 
         
            +
                    "scale_strategy": "scale_both"
         
     | 
| 21 | 
         
            +
                  }
         
     | 
| 22 | 
         
            +
                }
         
     | 
| 23 | 
         
            +
              },
         
     | 
| 24 | 
         
            +
              "detach_uncertainty_head": false,
         
     | 
| 25 | 
         
            +
              "encoder_kwargs": {
         
     | 
| 26 | 
         
            +
                "data_norm_type": "dinov2",
         
     | 
| 27 | 
         
            +
                "name": "dinov2_encoder",
         
     | 
| 28 | 
         
            +
                "patch_size": 14,
         
     | 
| 29 | 
         
            +
                "size": "large",
         
     | 
| 30 | 
         
            +
                "with_registers": false
         
     | 
| 31 | 
         
            +
              },
         
     | 
| 32 | 
         
            +
              "encoder_str": "dinov2",
         
     | 
| 33 | 
         
            +
              "feature_head_kwargs": {
         
     | 
| 34 | 
         
            +
                "dpt_feature": {
         
     | 
| 35 | 
         
            +
                  "feature_dim": 256,
         
     | 
| 36 | 
         
            +
                  "hooks": [
         
     | 
| 37 | 
         
            +
                    0,
         
     | 
| 38 | 
         
            +
                    1,
         
     | 
| 39 | 
         
            +
                    2,
         
     | 
| 40 | 
         
            +
                    3
         
     | 
| 41 | 
         
            +
                  ],
         
     | 
| 42 | 
         
            +
                  "input_feature_dims": [
         
     | 
| 43 | 
         
            +
                    1024,
         
     | 
| 44 | 
         
            +
                    768,
         
     | 
| 45 | 
         
            +
                    768,
         
     | 
| 46 | 
         
            +
                    768
         
     | 
| 47 | 
         
            +
                  ],
         
     | 
| 48 | 
         
            +
                  "layer_dims": [
         
     | 
| 49 | 
         
            +
                    96,
         
     | 
| 50 | 
         
            +
                    192,
         
     | 
| 51 | 
         
            +
                    384,
         
     | 
| 52 | 
         
            +
                    768
         
     | 
| 53 | 
         
            +
                  ],
         
     | 
| 54 | 
         
            +
                  "output_width_ratio": 1,
         
     | 
| 55 | 
         
            +
                  "patch_size": 14,
         
     | 
| 56 | 
         
            +
                  "pretrained_checkpoint_path": null,
         
     | 
| 57 | 
         
            +
                  "use_bn": false
         
     | 
| 58 | 
         
            +
                },
         
     | 
| 59 | 
         
            +
                "dpt_processor": {
         
     | 
| 60 | 
         
            +
                  "hidden_dims": [
         
     | 
| 61 | 
         
            +
                    128,
         
     | 
| 62 | 
         
            +
                    128
         
     | 
| 63 | 
         
            +
                  ],
         
     | 
| 64 | 
         
            +
                  "input_feature_dim": 256,
         
     | 
| 65 | 
         
            +
                  "output_dim": 2,
         
     | 
| 66 | 
         
            +
                  "pretrained_checkpoint_path": null
         
     | 
| 67 | 
         
            +
                }
         
     | 
| 68 | 
         
            +
              },
         
     | 
| 69 | 
         
            +
              "head_type": "dpt",
         
     | 
| 70 | 
         
            +
              "inference_resolution": [
         
     | 
| 71 | 
         
            +
                560,
         
     | 
| 72 | 
         
            +
                420
         
     | 
| 73 | 
         
            +
              ],
         
     | 
| 74 | 
         
            +
              "info_sharing_and_head_structure": "dual+single",
         
     | 
| 75 | 
         
            +
              "info_sharing_kwargs": {
         
     | 
| 76 | 
         
            +
                "attn_drop": 0.0,
         
     | 
| 77 | 
         
            +
                "custom_positional_encoding": null,
         
     | 
| 78 | 
         
            +
                "depth": 12,
         
     | 
| 79 | 
         
            +
                "dim": 768,
         
     | 
| 80 | 
         
            +
                "drop_path": 0.0,
         
     | 
| 81 | 
         
            +
                "gradient_checkpointing": false,
         
     | 
| 82 | 
         
            +
                "indices": [
         
     | 
| 83 | 
         
            +
                  5,
         
     | 
| 84 | 
         
            +
                  8
         
     | 
| 85 | 
         
            +
                ],
         
     | 
| 86 | 
         
            +
                "init_values": null,
         
     | 
| 87 | 
         
            +
                "input_embed_dim": 1024,
         
     | 
| 88 | 
         
            +
                "max_num_views": 2,
         
     | 
| 89 | 
         
            +
                "mlp_ratio": 4.0,
         
     | 
| 90 | 
         
            +
                "name": "global_attention",
         
     | 
| 91 | 
         
            +
                "norm_intermediate": true,
         
     | 
| 92 | 
         
            +
                "num_heads": 12,
         
     | 
| 93 | 
         
            +
                "pretrained_checkpoint_path": null,
         
     | 
| 94 | 
         
            +
                "proj_drop": 0.0,
         
     | 
| 95 | 
         
            +
                "qk_norm": false,
         
     | 
| 96 | 
         
            +
                "qkv_bias": true,
         
     | 
| 97 | 
         
            +
                "size": "base",
         
     | 
| 98 | 
         
            +
                "use_rand_idx_pe_for_non_reference_views": false
         
     | 
| 99 | 
         
            +
              },
         
     | 
| 100 | 
         
            +
              "info_sharing_str": "global_attention",
         
     | 
| 101 | 
         
            +
              "pretrained_backbone_checkpoint_path": null,
         
     | 
| 102 | 
         
            +
              "pretrained_checkpoint_path": null,
         
     | 
| 103 | 
         
            +
              "uncertainty_adaptors_kwargs": {
         
     | 
| 104 | 
         
            +
                "non_occluded_mask": {
         
     | 
| 105 | 
         
            +
                  "class": "MaskAdaptor",
         
     | 
| 106 | 
         
            +
                  "kwargs": {
         
     | 
| 107 | 
         
            +
                    "name": "non_occluded_mask"
         
     | 
| 108 | 
         
            +
                  }
         
     | 
| 109 | 
         
            +
                }
         
     | 
| 110 | 
         
            +
              },
         
     | 
| 111 | 
         
            +
              "uncertainty_head_kwargs": {
         
     | 
| 112 | 
         
            +
                "dpt_feature": {
         
     | 
| 113 | 
         
            +
                  "feature_dim": 256,
         
     | 
| 114 | 
         
            +
                  "hooks": [
         
     | 
| 115 | 
         
            +
                    0,
         
     | 
| 116 | 
         
            +
                    1,
         
     | 
| 117 | 
         
            +
                    2,
         
     | 
| 118 | 
         
            +
                    3
         
     | 
| 119 | 
         
            +
                  ],
         
     | 
| 120 | 
         
            +
                  "input_feature_dims": [
         
     | 
| 121 | 
         
            +
                    1024,
         
     | 
| 122 | 
         
            +
                    768,
         
     | 
| 123 | 
         
            +
                    768,
         
     | 
| 124 | 
         
            +
                    768
         
     | 
| 125 | 
         
            +
                  ],
         
     | 
| 126 | 
         
            +
                  "layer_dims": [
         
     | 
| 127 | 
         
            +
                    96,
         
     | 
| 128 | 
         
            +
                    192,
         
     | 
| 129 | 
         
            +
                    384,
         
     | 
| 130 | 
         
            +
                    768
         
     | 
| 131 | 
         
            +
                  ],
         
     | 
| 132 | 
         
            +
                  "output_width_ratio": 1,
         
     | 
| 133 | 
         
            +
                  "patch_size": 14,
         
     | 
| 134 | 
         
            +
                  "pretrained_checkpoint_path": null,
         
     | 
| 135 | 
         
            +
                  "use_bn": false
         
     | 
| 136 | 
         
            +
                },
         
     | 
| 137 | 
         
            +
                "dpt_processor": {
         
     | 
| 138 | 
         
            +
                  "hidden_dims": [
         
     | 
| 139 | 
         
            +
                    128,
         
     | 
| 140 | 
         
            +
                    128
         
     | 
| 141 | 
         
            +
                  ],
         
     | 
| 142 | 
         
            +
                  "input_feature_dim": 256,
         
     | 
| 143 | 
         
            +
                  "output_dim": 1,
         
     | 
| 144 | 
         
            +
                  "pretrained_checkpoint_path": null
         
     | 
| 145 | 
         
            +
                }
         
     | 
| 146 | 
         
            +
              },
         
     | 
| 147 | 
         
            +
              "uncertainty_head_type": "dpt"
         
     | 
| 148 | 
         
            +
            }
         
     | 
    	
        model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:da727e8e145c3463b067bf4199653423b94ff0693b2092aad39d4cde5d48397f
         
     | 
| 3 | 
         
            +
            size 1713090876
         
     |