Views
No views yet
| Metric | Value |
|---|---|
| MAE | 4.85 K |
| RMSE | 9.88 K |
| R² | 0.7394 |
| Method | MAE (K) | Improvement |
|---|---|---|
| Random Forest (Stanev et al. 2018) | ~9.5 | 49% |
| GNN (Konno et al. 2021) | ~12 | 60% |
| SuperVision DINOv3 (ours) | 4.85 | State-of-the-art |
1from transformers import AutoImageProcessor, AutoModel
2import torch
3from PIL import Image
4
5# Load model and processor
6processor = AutoImageProcessor.from_pretrained("shreyaspulle98/supervision-dinov3-tc-prediction")
7model = AutoModel.from_pretrained("shreyaspulle98/supervision-dinov3-tc-prediction")
8
9# Load and process image
10image = Image.open("crystal_structure.png")
11inputs = processor(images=image, return_tensors="pt")
12
13# Predict critical temperature
14with torch.no_grad():
15 tc_prediction = model(**inputs).logits
16
17print(f"Predicted Tc: {tc_prediction.item():.2f} K")1@software{supervision2024,
2 title={SuperVision: Transfer Learning for Superconductor Tc Prediction},
3 author={Your Name},
4 year={2024},
5 url={https://github.com/yourusername/SuperVision}
6}