检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
dataset creation phase are used as the inputs of the labeling phase. from modelarts import workflow as wf # Define parameters of the dataset output path. dataset_output_path = wf.Placeholder(name="dataset_output_path", placeholder_type=wf.PlaceholderType.STR, placeholder_format="obs
Options: true: Preview is supported. false: Preview is not supported. process_parameter No String Image resize configuration, which is the same as OBS settings. For details, see Resizing Images.
Enums: SFS EVS mount_path String Directory of the notebook instance to which OBS storage is mounted. Currently, the directory is /home/ma-user/work/. ownership String Owner to which the resource belongs. Enums: MANAGED: Resources are managed by the service.
OBS path to the output data of a batch job instance_count Yes Integer Common parameter. Number of instances deployed in a model. The maximum number of instances is 128.
# Directories for storing the label.txt file on OBS and in the model package # with open(os.path.join(self.model_path, 'label.txt')) as f: # self.label = json.load(f) # Load the model in saved_model format in non-blocking mode to prevent blocking
When you mount the backend OBS storage on the SFS Turbo page, make sure to set the client's umask permission to 777 for normal use.
Figure 3 ModelArtsFullAccessPolicy Repeat this step to select the following permissions: ModelArts FullAccess CTS Administrator CCE Administrator BMS FullAccess IMS FullAccess DEW KeypairReadOnlyAccess VPC FullAccess ECS FullAccess SFS Turbo FullAccess OBS Administrator AOM FullAccess
Enums: SFS EVS mount_path String Directory of the notebook instance to which OBS storage is mounted. Currently, the directory is /home/ma-user/work/. ownership String Owner to which the resource belongs. Enums: MANAGED: Resources are managed by the service.
Enums: SFS EVS mount_path String Directory of the notebook instance to which OBS storage is mounted. Currently, the directory is /home/ma-user/work/. ownership String Owner to which the resource belongs. Enums: MANAGED: Resources are managed by the service.
# Directories for storing the label.txt file on OBS and in the model package # with open(os.path.join(self.model_path, 'label.txt')) as f: # self.label = json.load(f) # Load the model in saved_model format in non-blocking mode to prevent blocking
Enums: SFS EVS mount_path String Directory of the notebook instance to which OBS storage is mounted. Currently, the directory is /home/ma-user/work/. ownership String Owner to which the resource belongs. Enums: MANAGED: Resources are managed by the service.
To use the CIFAR-10 dataset in the preceding code, download and decompress the dataset and upload it to the OBS bucket.
If you need to use the OBS SDK, use ModelArts SDK instead to copy files. For details, see Transferring Files. Image 1: conda3-cuda10.2-cudnn7-ubuntu18.04 Table 12 Information about the image AI Engine Whether to Use GPUs (CUDA Version) URL Dependency None Yes (CUDA 10.2) swr.
The data storage location (OBS) and ModelArts dataset are supported. attributes No Array of Map<String,String> objects Attributes when the data input type is a dataset.
The data storage location (OBS) and ModelArts dataset are supported. attributes No Array of Map<String,String> objects Attributes when the data input type is a dataset.
__AUTO_ANNOTATION__: to be confirmed sample_time Long Sample time, when OBS is last modified. sample_type Integer Sample type.
sampled __WORKFORCE_SAMPLED_UNCHECK__: sampling pending check __WORKFORCE_SAMPLED_CHECKED__: sampling checked __WORKFORCE_SAMPLED_ACCEPTED__: sampling accepted __WORKFORCE_SAMPLED_REJECTED__: sampling rejected __AUTO_ANNOTATION__: to be confirmed sample_time Long Sample time, when OBS
sampled __WORKFORCE_SAMPLED_UNCHECK__: sampling pending check __WORKFORCE_SAMPLED_CHECKED__: sampling checked __WORKFORCE_SAMPLED_ACCEPTED__: sampling accepted __WORKFORCE_SAMPLED_REJECTED__: sampling rejected __AUTO_ANNOTATION__: to be confirmed sample_time Long Sample time, when OBS
sampled __WORKFORCE_SAMPLED_UNCHECK__: sampling pending check __WORKFORCE_SAMPLED_CHECKED__: sampling checked __WORKFORCE_SAMPLED_ACCEPTED__: sampling accepted __WORKFORCE_SAMPLED_REJECTED__: sampling rejected __AUTO_ANNOTATION__: to be confirmed sample_time Long Sample time, when OBS
Options: 0: OBS bucket (default value) 1: GaussDB(DWS) 2: DLI 3: RDS 4: MRS 5: AI Gallery 6: Inference service schema_maps No Array of SchemaMap objects Schema mapping information corresponding to the table data. source_info No SourceInfo object Information required for importing