Downloads · 30 days
3
4% of all-time downloads
BiliSakura/RSP-ResNet-50
RSP-ResNet-50 is a image classification model from BiliSakura. Use it when you need a label for an image. It is set up for transformers. The card lists the license as mit.
ResNet-50 based model for remote sensing scene classification (51 classes).
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
74
Public
Parameters
23.7M
94.7 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors94.7 MB · 100%
From the Hugging Face model README
ResNet-50 based model for remote sensing scene classification (51 classes).
from transformers import AutoModelForImageClassification
import torch
# Load model
model = AutoModelForImageClassification.from_pretrained(
"BiliSakura/RSP-ResNet-50",
trust_remote_code=True
)
# Inference
model.eval()
input_image = torch.randn(1, 3, 224, 224) # (batch, channels, height, width)
with torch.no_grad():
outputs = model(pixel_values=input_image)
logits = outputs.logits # Shape: (1, 51)
predicted_class = logits.argmax(dim=-1).item()
If you use this model, please cite the original RSP paper:
@ARTICLE{rsp,
author={Wang, Di and Zhang, Jing and Du, Bo and Xia, Gui-Song and Tao, Dacheng},
journal={IEEE Transactions on Geoscience and Remote Sensing},
title={An Empirical Study of Remote Sensing Pretraining},
year={2023},
volume={61},
number={},
pages={1-20},
doi={10.1109/TGRS.2022.3176603}
}
Original Repository: ViTAE-Transformer/RSP