通过 .NET 完成机器学习的整个流程,这个平台可以!
点击上方蓝字
关注我们
创建成功后,你可以进⼊相关资源组,并记录下刚才创建的 Resource Group 和 Azure ML Service Name
从数据采集与整理开始
这个与编程语⾔⽆关的内容,但是也是⾮常重要的内容,数据是最重要的部分。通过 Azure ML 你可以对数据进⾏管理,这就包括数据存储,版本管理,以及数据特征提取等⼯作。我们可以从 Azure ML ⻔户的数据选项上,进⾏不同数据的管理。
进行下载
https://github.com/kinfey/HandsOnLab/tree/main/MLNetLab/tfnetcode/TF_DEEP_WIN_GPU_LearnDemo/image/flower_photos
<PackageReference Include="SciSharp.TensorFlow.Redist-Linux-GPU"Version="2.5.0" /><PackageReference Include="TensorFlow.Keras" Version="0.7.0"<PackageReference Include="TensorFlow.NET" Version="0.70.1" />
$schema:https://azuremlschemas.azureedge.net/latest/commandJob.schema.jsoncommand: |FILENAME=libtensorflow-gpu-linux-x86_64-2.5.0.tar.gzwget -q --no-check-certificatehttps://storage.googleapis.com/tensorflow/libtensorflow/${FILENAME}tar -C /usr/local -xzf ${FILENAME}ldconfig /usr/local/libcd codedotnet restoredotnet builddotnet run --dataPath ${{inputs.data_dir}} --outputPath outputscode: .inputs:data_dir:type: uri_folderpath: azureml:flower_data:1experiment_name: tf-image-trainingenvironment:build:path: .dockerfile_path: Dockerfilecompute: azureml:GPUCluster
FROM mcr.microsoft.com/dotnet/sdk:6.0RUN apt install wget
az configure --defaults group=CUDAWSGroup workspace=CUDAWSaz ml job create --file AzureTrain.yml获取代码 https://github.com/kinfey/dotNETMLinAzureML Azure CLI https://learn.microsoft.com/en-us/cli/azure/install-azurecli?ocid=AID3052907
最后和⼤家剧透⼀下,全球的 .NET Conf 2022 下周就开始了,我会在 .NET Conf 2022 上和⼤家谈谈全场景的 .NET 深度学习开发(Deep Learning in .NET),北京时间 11 ⽉ 10 ⽇ 13:30-14:00 ,⼤家⼀定不要错过!
免费 Azure 账号申请:
https://azure.com/free
学⽣免费 Azure 账号申请:
https://aka.ms/studentgetazure
了解 Azure ML:
https://learn.microsoft.com/en-us/azure/machine-learning/overview-what-is-azure-machine-learning?ocid=AID3052907
安装 Azure CLI:
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?ocid=AID3052907
安装 Azure ML SDK v2:
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-cli?tabs=public?ocid=AID3052907
了解 ML.NET:
https://dotnet.microsoft.com/en-us/apps/machinelearning-ai/ml-dotnet
了解 Tensorflow.NET:
https://github.com/SciSharp/TensorFlow.NET
学习 Tensorflow.NET 的相关案例:
https://github.com/SciSharp/SciSharp-Stack-Examples
点击「阅读原文」报名 .NET 全球大会~