Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Getting started on creating a Batch AI cluster and executing an AI job using Java

License

Notifications You must be signed in to change notification settings

Azure-Samples/batchai-java-run-batchai-job

Repository files navigation

page_type languages products extensions
sample
java
azure
services platforms
Batchai
java

Getting Started with Batchai - Manage Batch AI - in Java

Azure Batch AI sample.

  • Create Storage account and Azure file share
  • Upload sample data to Azure file share
  • Create a workspace an experiment
  • Create Batch AI cluster that uses Azure file share to host the training data and scripts for the learning job
  • Create Microsoft Cognitive Toolkit job to run on the cluster
  • Wait for job to complete
  • Get output files

Please note: in order to run this sample, please download and unzip sample package from here: https://raw.githubusercontent.com/Azure/azure-libraries-for-java/master/azure-samples/src/main/resources/BatchAIQuickStart.zip Export path to the content to $SAMPLE_DATA_PATH.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/batchai-java-run-batchai-job.git

cd batchai-java-run-batchai-job

mvn clean compile exec:java

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.