Downloads · 30 days
0
WitneyWW/tactile-vae
tactile-vae is a machine learning model from WitneyWW. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
ViT-based tactile variational autoencoder.
Downloads · 30 days
0
Access
Public
Updated May 18, 2026
Repo size
248 MB
Likes
0
Public
Click a slice to open those files.
.pt246 MB · 98%
From the Hugging Face model README
ViT-based tactile variational autoencoder.
PatchEmbed + Transformer blocks + fixed sin-cos positional embeddingmu/logvar + reparameterizationimport torch
from tactile_vae.model import TactileVAE, VAELoss
model = TactileVAE()
out = model(torch.randn(2, 3, 128, 128))
loss_fn = VAELoss(beta=1.0)
losses = loss_fn(out["x_hat"], torch.randn(2, 3, 128, 128), out["mu"], out["logvar"])