An Intelligent Remote Sensing Image Quality Inspection System
Paper • 2307.11965 • Published
How to use yuyijiong/segformer-b5-remote-sensing-quality with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-segmentation", model="yuyijiong/segformer-b5-remote-sensing-quality") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("yuyijiong/segformer-b5-remote-sensing-quality")
model = SegformerForSemanticSegmentation.from_pretrained("yuyijiong/segformer-b5-remote-sensing-quality", device_map="auto")