Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): (None, {}), NamedSplit('test'): ('parquet', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Capsule Pocket

Capsule Pocket trains seven primary capsules and ten eight-dimensional digit capsules with three rounds of routing by agreement. An ordinary MLP with exactly the same 4,060 trainable parameters is the control.

The benchmark separates clean accuracy from one-pixel translation and center occlusion robustness. The Space exposes the ten digit-capsule vector lengths for each transformed input.

Verified local result

At exactly 4,060 parameters, capsules reached 97.04% clean accuracy versus 97.41% for the MLP. They improved one-pixel translation accuracy from 44.72% to 46.20% and center-occlusion accuracy from 79.63% to 82.22%.

uv run python projects/capsule-pocket/train.py
uv run pytest tests/test_capsule_pocket.py
Downloads last month
2