探索云计算在人工智能/ML 方面的力量!高效扩展,更快地训练Ultralytics YOLO 模型,并以经济高效的方式无缝部署。
Cloud computing refers to the on-demand delivery of IT resources—such as servers, storage, databases, networking, and software—over the internet. Instead of organizations purchasing, owning, and maintaining physical data centers, they can access technology services on an as-needed basis from a cloud provider. For practitioners of Artificial Intelligence (AI) and Machine Learning (ML), this paradigm is transformative. It provides the elastic scalability needed to handle massive datasets and complex computations without the prohibitive upfront cost of hardware.
The symbiotic relationship between cloud infrastructure and modern AI has accelerated technological innovation. Training sophisticated Deep Learning (DL) models requires immense processing power. Cloud platforms offer instant access to high-performance clusters of Graphics Processing Units (GPUs) and Tensor Processing Units (TPUs), enabling researchers to perform distributed training on vast amounts of training data.
Beyond raw power, cloud services streamline Machine Learning Operations (MLOps). From data ingestion and data labeling to model deployment and monitoring, the cloud provides a unified ecosystem. This allows teams to focus on refining algorithms rather than managing infrastructure. For instance, the Ultralytics Platform utilizes cloud resources to simplify the training and management of vision models like YOLO26.
Cloud computing is typically categorized into three models, each offering different levels of control:
Cloud computing enables AI solutions to operate globally across diverse industries.
It is important to distinguish cloud computing from edge computing, as they serve complementary roles in an AI pipeline.
A common workflow involves training a robust model like YOLO26 in the cloud to leverage high-speed GPUs, and then exporting it to a format like ONNX for efficient execution on an edge device.
The following Python snippet demonstrates how to initiate training for a YOLO26 model. While this code can run locally, it is designed to scale seamlessly to cloud environments where GPU resources significantly accelerate the process.
from ultralytics import YOLO
# Load the latest YOLO26 model (recommended for speed and accuracy)
model = YOLO("yolo26n.pt")
# Train the model on the COCO8 dataset
# Cloud GPUs drastically reduce training time for larger datasets
results = model.train(data="coco8.yaml", epochs=100, imgsz=640)
For large-scale projects, utilizing cloud training solutions ensures that your model weights are optimized efficiently without overheating local workstations.