Image Classification
Transformers
Safetensors
nula
computer-vision
cnn
cifar10
adversarial-robustness
stress-test
downsampling
anti-aliasing
custom_code
Instructions to use MamaPearl/nula-cifar10-robust-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MamaPearl/nula-cifar10-robust-v0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="MamaPearl/nula-cifar10-robust-v0", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("MamaPearl/nula-cifar10-robust-v0", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -141,9 +141,9 @@ BlurPool2d introduces a low-pass filter before subsampling:
|
|
| 141 |
|
| 142 |
- x → (low-pass filter) → subsample
|
| 143 |
|
| 144 |
-
The filter is a normalized binomial kernel [1, 2, 1] ⊗ [1, 2, 1], applied depthwise: one filter per channel
|
| 145 |
|
| 146 |
-
This enforces approximate band-limitedness prior to resolution reduction
|
| 147 |
|
| 148 |
### Squeeze-and-Excitation (SE) blocks
|
| 149 |
|
|
@@ -153,8 +153,7 @@ SE blocks perform channel-wise reweighting.
|
|
| 153 |
|
| 154 |
- x → s ⊙ x
|
| 155 |
|
| 156 |
-
The bottleneck dimension is max(C // r, 1) where r = 16, keeping the recalibration
|
| 157 |
-
lightweight relative to the feature dimension.
|
| 158 |
|
| 159 |
The network learns to suppress channels that carry unstable high-frequency information
|
| 160 |
and amplify channels that carry structurally stable features.
|
|
|
|
| 141 |
|
| 142 |
- x → (low-pass filter) → subsample
|
| 143 |
|
| 144 |
+
The filter is a normalized fixed binomial kernel [1, 2, 1] ⊗ [1, 2, 1], applied depthwise: one filter per channel with no cross-channel mixing.
|
| 145 |
|
| 146 |
+
This enforces approximate band-limitedness prior to resolution reduction. It reduces aliasing artifacts and makes feature extraction more stable under downsampling.
|
| 147 |
|
| 148 |
### Squeeze-and-Excitation (SE) blocks
|
| 149 |
|
|
|
|
| 153 |
|
| 154 |
- x → s ⊙ x
|
| 155 |
|
| 156 |
+
The bottleneck dimension is max(C // r, 1) where r = 16, keeping the recalibration lightweight relative to the feature dimension.
|
|
|
|
| 157 |
|
| 158 |
The network learns to suppress channels that carry unstable high-frequency information
|
| 159 |
and amplify channels that carry structurally stable features.
|