Trainings for AI need upated

Kris B 0 Reputation points
2024-05-15T20:20:18.03+00:00

https://microsoftlearning.github.io/AI-900-AIFundamentals/instructions/03b-create-object-detection-solution.html
(which is the first one I decided to try) isn't working.

Some of the error messages

Invoke-RestMethod: /home/admin/ai-900/detect-objects.ps1:21

Line |: Total 2247 (delta 0), reused 2 (delta 0), pack-reused 2242

21 | $result = Invoke-RestMethod -Method Post `35.27 MiB/s, done.

 |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 |  {   "error": {     "code": "404",     "message": "Resource not found"   } }

ConvertFrom-Json: /home/admin/ai-900/detect-objects.ps1:26

Line |me/admin/ai-900> ./detect-objects.ps1 1

26 | $prediction = $result | ConvertFrom-Json

 |                          ~~~~~~~~~~~~~~~~

 | Cannot bind argument to parameter 'InputObject' because it is null.                                              

PS /home/admin/ai-900>

PS /home/admin/ai-900> e-RestMethod -Method Post `

PS /home/admin/ai-900> ~~~~~~~~~~~~~~~~~~~~~~~~~~~

PS /home/admin/ai-900> dRequestImageFormat", "message": "Bad Request Image Format, Uri: dc12264a872944ca901ff6e51b812402" }

and I checked twice, the
Everything is where it is supposed to be.

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,064 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 4,430 Reputation points Microsoft Vendor
    2024-05-16T05:06:36.35+00:00

    Hi KB,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    I deeply apologize for any inconvenience you've experienced with the "Exercise - Explore object detection." It's fantastic to see your dedication to this topic! Following the instructions outlined in the learning path, we've successfully replicated the steps as directed. Our exercise completion went smoothly without any hitches, and we were able to obtain the predicted values, which are illustrated in the screenshots below:
    User's image

    Please confirm that all images are appropriately tagged before proceeding with the exercise. User's image
    It's important to note that errors can occur when entering the predicted URL and Key. Please ensure that both the Predicted URL and Key are enclosed in double quotes, like so: $predictionUrl="https..." $predictionKey ="1a2b3c4d5e6f7g8h9i0j...." Also, double-check for any potential typos.

    User's image

    When you enter the predicted URL and predicted Key, your code should look like this:
    User's image

    Before beginning the exercise, consider these troubleshooting measures:

    • Verify that your network and firewall settings permit seamless communication with Azure AI services.
    • Sign out from all browser tabs and clear cached files. Try logging in again with your credentials.
    • Experiment with using an incognito window or private browsing mode after signing out.
    • Alternatively, switch to a different browser and attempt the login process again.

    These suggestions offer alternative paths to resolving any issues you may be encountering.

    If you continue to experience difficulties, please share a screenshot of the error for reference. Please don't hesitate to reach out, and we'll be more than happy to provide further assistance.

    (NOTE: Please ensure that all sensitive or private details are concealed before posting).

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.