imagemdtr commited on
Commit
eea2bb2
·
verified ·
1 Parent(s): 073d18c

Perturb submission from 5EnfSKsX (sha256 abd7f3dec8bcc9d3)

Browse files
Files changed (3) hide show
  1. README.md +32 -0
  2. config.json +24 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: torchvision
4
+ tags:
5
+ - image-classification
6
+ - adversarial-training
7
+ - efficientnet
8
+ - perturb
9
+ - bittensor
10
+ ---
11
+
12
+ # imagemdtr/efficientnet-v2-l-adv-model
13
+
14
+ EfficientNetV2-L (torchvision `efficientnet_v2_l`, 1000 ImageNet classes) fine-tuned with
15
+ adversarial training for the [Perturb](https://perturbai.io) subnet (netuid 26).
16
+
17
+ - miner hotkey: `5EnfSKsX6V6yihDsQrnHUNAMEnwZ6yPR49XvE5EEUbhMzowE`
18
+ - weights: `model.safetensors` (sha256 `abd7f3dec8bcc9d3a1951464155686ee5fd5e49251d4f06827313861705ec89d`)
19
+ - preprocessing: resize 480 (bicubic, antialias) → center crop
20
+ 480 → normalize mean=[0.5, 0.5, 0.5] std=[0.5, 0.5, 0.5]
21
+ (identical to `EfficientNet_V2_L_Weights.IMAGENET1K_V1.transforms()`)
22
+
23
+
24
+
25
+ ## Load
26
+
27
+ ```python
28
+ from safetensors.torch import load_file
29
+ from torchvision.models import efficientnet_v2_l
30
+ model = efficientnet_v2_l(weights=None)
31
+ model.load_state_dict(load_file("model.safetensors"))
32
+ ```
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "efficientnet_v2_l",
3
+ "framework": "torchvision",
4
+ "num_classes": 1000,
5
+ "base_weights": "torchvision/EfficientNet_V2_L_Weights.IMAGENET1K_V1",
6
+ "weights_file": "model.safetensors",
7
+ "preprocess": {
8
+ "resize": 480,
9
+ "crop": 480,
10
+ "interpolation": "bicubic",
11
+ "antialias": true,
12
+ "mean": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ]
22
+ },
23
+ "step": 800
24
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abd7f3dec8bcc9d3a1951464155686ee5fd5e49251d4f06827313861705ec89d
3
+ size 476270096