You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update adapter selection readme to more clearly differentiate it from the squeezenet sample. Also remove a double print line in the sample code itself (#158)
Copy file name to clipboardExpand all lines: Samples/AdapterSelection/AdapterSelection/cpp/README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
-
# SqueezeNet Object Detection sample
1
+
# Adapter Selection sample
2
2
3
-
This is a desktop application that uses SqueezeNet, a pre-trained machine learning model, to detect the predominant object in an image selected by the user from a file.
4
-
This application also allows the user to select a specific device adapter to run the model on.
3
+
This is a desktop application that demonstrates how to enumerate and select device adapters to run onnx models on using Windows Machine Learning. This sample is set up to run a SqueezeNet image detection model on the selected device.
5
4
6
5
Note: SqueezeNet was trained to work with image sizes of 224x224, so you must provide an image of size 224X224.
7
6
@@ -22,7 +21,7 @@ Note: SqueezeNet was trained to work with image sizes of 224x224, so you must pr
22
21
23
22
1. If you download the samples ZIP, be sure to unzip the entire archive, not just the folder with the sample you want to build.
24
23
2. Start Microsoft Visual Studio 2017 and select **File > Open > Project/Solution**.
25
-
3. Starting in the folder where you unzipped the samples, go to the **Samples** subfolder, then the subfolder for this specific sample (**SqueezeNetObjectDetection\Desktop\cpp**). Double-click the Visual Studio solution file (.sln).
24
+
3. Starting in the folder where you unzipped the samples, go to the **Samples** subfolder, then the subfolder for this specific sample (**AdapterSelection**). Double-click the Visual Studio solution file (.sln).
26
25
4. Confirm that the project is pointed to the correct SDK that you installed (e.g. 17763). You can do this by right-clicking the project in the **Solution Explorer**, selecting **Properties**, and modifying the **Windows SDK Version**.
27
26
5. Confirm that you are set for the right configuration and platform (for example: Debug, x64).
28
27
6. Build the solution (**Ctrl+Shift+B**).
@@ -34,17 +33,16 @@ Note: SqueezeNet was trained to work with image sizes of 224x224, so you must pr
34
33
3. Change the current folder to the folder containing the built EXE (`cd <path-to-exe>`).
35
34
4. Run the executable as shown below. Make sure to replace the install location with what matches yours:
0 commit comments