Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Computação
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Redes
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Gerenciamento e governança
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
Cloud Operations Center
Resource Governance Center
Migração
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Análises
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
IoT
IoT Device Access
Outros
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Segurança e conformidade
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Serviços de mídia
Media Processing Center
Video On Demand
Live
SparkRTC
Armazenamento
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Cloud Server Backup Service
Storage Disaster Recovery Service
Scalable File Service
Volume Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Bancos de dados
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Aplicações de negócios
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Data Lake Factory
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Distribuição de conteúdo e computação de borda
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Soluções
SAP Cloud
High Performance Computing
Serviços para desenvolvedore
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
Cloud Application Engine
MacroVerse aPaaS
KooPhone
KooDrive
Central de ajuda/ ModelArts/ DevEnviron/ IDE local/ IDE local (VS Code)/ Upload e download de arquivos no VS Code

Upload e download de arquivos no VS Code

Atualizado em 2024-09-14 GMT+08:00

Carregar dados de um IDE local para uma instância de notebook

Se os dados forem menores ou iguais a 500 MB, copie diretamente os dados para o IDE local.

Se os dados forem maiores que 500 MB, carregue-os para o OBS e, em seguida, para a instância do notebook.

Figura 1 Carregamento de dados para uma instância de notebook por meio do OBS

Procedimento

  1. Carregue os dados no OBS. Para obter detalhes, consulte Carregamento de um objeto. Como alternativa, use o SDK do ModelArts em um terminal do VS Code local.

    Abra o terminal no ambiente VS Code local.

    Figura 2 Abrir o terminal no ambiente VS Code local

    Digite python e pressione Enter para acessar o ambiente Python.

    python

    No terminal do VS Code local, use o SDK do ModelArts para fazer upload do arquivo local de destino para o OBS. Para obter detalhes, Transferência de arquivos.

  2. Use o SDK do ModelArts no terminal do ambiente remoto do VS Code para baixar o arquivo do OBS para um ambiente de desenvolvimento.
    Figura 3 Abrir o terminal no ambiente VS Code remoto
    # Manually access the development environment using the source command.
    cat /home/ma-user/README 
    # Select the target environment.
    source /home/ma-user/miniconda3/bin/activate MindSpore-python3.7-aarch64 
    # Enter python and press Enter to access the Python environment.
    python

    Em seguida, execute as operações de transferência do OBS consultando Upload de um arquivo para OBS.

Baixar arquivos de uma instância de notebook para um diretório local

Os arquivos criados no Notebook podem ser baixados para um caminho local. No diretório Project do IDE local, clique com o botão direito do mouse no projeto Notebook2.0 e escolha Download no menu de atalho para fazer download do arquivo do projeto para o PC local.

Figura 4 Baixar arquivos de uma instância de notebook para um diretório local no VS Code

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Conteúdo selecionado

Envie o conteúdo selecionado com o feedback