Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
使用雲端資料有效率地訓練 PyTorch
Agent Platform Neural Architecture Search 沒有任何描述如何設計訓練器的規定。因此,請選擇任何訓練架構來建構訓練師。
如要使用 PyTorch 訓練大量資料,最佳做法是採用分散式訓練範例,並從 Cloud Storage 讀取資料。如需提升訓練效能的方法,請參閱「使用 Agent Platform Neural Architecture Search 提升 PyTorch 訓練效率」這篇網誌文章。使用 Cloud Storage 中的資料,並選擇 WebDataset 或 DistributedDataParallel/FullyShardedDataParallel 分散式訓練策略,整體效能可提升 6 倍。使用 Cloud Storage 中的資料進行訓練時,效能與使用本機磁碟中的資料進行訓練時類似。
預先建構的 MNasNet 分類範例已將這些方法納入訓練管道。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-12-02 (世界標準時間)。"],[],[]]