microsoft / PowerApps-Samples

Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.

Home Page:https://docs.microsoft.com/powerapps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[AI Builder - BringYourOwnModelTurorial] Incorrect parameters in sample

emseki opened this issue · comments

If the cpu_cores and memory_gb parameters specified in the AciWebservice.deployment_configuration method in the sixth cell are left at their default values, the following error message will be output and failure will occur.

Message: Resource requested: '2.2' CPU '3' GB memory (including additional CPU and memory overhead for necessary Azure Machine Learning services) exceeded resource limitation on container. Please specify lower CPU and memory settings for the container. Refer to https://docs.microsoft.com/azure/container-instances/container-instances-region-availability#availability---general for more information.

changing them to cpu_cores = 0.8, memory _gb = 1, etc., it succeeds. Please correct these parameters.

https://github.com/microsoft/PowerApps-Samples/blob/master/ai-builder/BringYourOwnModelTutorial/PneumoniaDetection/SetupService.ipynb