Downloads · 30 days
0
turhancan97/MAE-Models
MAE-Models is a image feature extraction model from turhancan97. Use it for the image feature extraction task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains models trained using Masked Autoencoders (MAE) on CIFAR-10 and STL-10 datasets. The models are trained under different settings, focusing on the reconstruction of images based on principal com…
Downloads · 30 days
0
Access
Public
Updated Aug 26, 2024
Repo size
941 MB
Likes
0
Public
Click a slice to open those files.
.pt941 MB · 100%
From the Hugging Face model README
This repository contains models trained using Masked Autoencoders (MAE) on CIFAR-10 and STL-10 datasets. The models are trained under different settings, focusing on the reconstruction of images based on principal component analysis (PCA) components with varying explained variances. The goal is to explore how concentrating on low-variance image components can improve representation learning. To better understand about low-variance components and high-variance components of a dataset, you can check the idea which is obtained from the paper "Learning by Reconstruction Produces Uninformative Features For Perception" by Randall Balestriero and Yann LeCun. The paper is available at arXiv.
The models demonstrate varying performance based on the variance components they focused on during training:
You can download and use these models trained with Cifar10 dataset directly from the respective folders:
To use the pre-trained models, you can load them as follows:
import torch
model = torch.load('path_to_model.pt')
model.eval()
# Example usage
output = model(input_data)