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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ These generic examples show how to use various models and input feeds with Windo
35
35
-**[SqueezeNetObjectDetection\UWP\cs](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/UWP/cs)**: a UWP C# app that uses the SqueezeNet model to detect the predominant object in an image.
36
36
-**[SqueezeNetObjectDetection\UWP\js](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/UWP/js)**: a UWP Javascript app that uses SqueezeNet model to detect the predominant object in an image.
37
37
-**[SqueezeNetObjectDetection\Desktop\cpp](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/Desktop/cpp)**: a classic desktop C++/WinRT app that uses the SqueezeNet model to detect the predominant object in an image.
38
+
-**[SqueezeNetObjectDetection\NETCore\cs](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/SqueezeNetObjectDetection/Desktop/cpp)**: a .NET Core 2 application that uses the SqueezeNet model to detect the predominant object in an image.
38
39
-**[MNIST\UWP\cs](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/MNIST/Tutorial/cs)**: a UWP C# app that uses the MNIST model to detect numberic characters.
39
40
-**[MNIST\UWP\cppcx](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/MNIST/UWP)**: a UWP C++/CX app that uses the MNIST model to detect numberic characters.
40
41
-**[CustomTensorization](https://github.com/Microsoft/Windows-Machine-Learning/tree/master/Samples/CustomTensorization)**: a Windows Console Application (C++/WinRT) that shows how to do custom tensorization.
Copy file name to clipboardExpand all lines: Samples/SqueezeNetObjectDetection/NETCore/cs/README.md
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,20 +21,14 @@ The file path for the Windows.winmd file may be: ```C:\Program Files (x86)\Windo
21
21
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.
22
22
2. Start Microsoft Visual Studio 2017 and select **File > Open > Project/Solution**.
23
23
3. Starting in the folder where you unzipped the samples, go to the **Samples** subfolder, then the subfolder for this sample (**SqueezeNetObjectDetection). Double-click the Visual Studio solution file (.sln).
24
-
4. Confirm that the project (SqueezeNetObjectDetectionNC) 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**.
25
-
5. Confirm that you are set for the right configuration and platform (for example: Debug, x64).
26
-
6. Build the solution by right clicking the project in **Solution Explorer** and selecting Build (**Ctrl+Shift+B**).
24
+
4. Confirm that you are set for the right configuration and platform (for example: Debug, x64).
25
+
5. Build the solution by right clicking the project in **Solution Explorer** and selecting Build (**Ctrl+Shift+B**).
27
26
28
-
## Run the sample
27
+
## Running the sample
29
28
30
-
1. Make sure **Labels.json** is copied into the folder with the built executable.
31
-
2. Open a Command Prompt (in the Windows 10 search bar, type **cmd** and press **Enter**).
32
-
3. Change the current folder to the folder containing the built EXE (`cd <path-to-exe>`).
33
-
4. Run the executable as shown below. Make sure to replace the install location with what matches yours:
5. You should get output similar to the following:
29
+
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.
30
+
31
+
- You should get output similar to the following:
38
32
```
39
33
Loading modelfile 'C:\Repos\Windows-Machine-Learning\SharedContent\models\SqueezeNet.onnx' on the 'default' device
40
34
model file loaded in 421 ticks
@@ -49,4 +43,4 @@ The file path for the Windows.winmd file may be: ```C:\Program Files (x86)\Windo
49
43
50
44
## License
51
45
52
-
MIT. See [LICENSE file](https://github.com/Microsoft/Windows-Machine-Learning/blob/master/LICENSE).
46
+
MIT. See [LICENSE file](https://github.com/Microsoft/Windows-Machine-Learning/blob/master/LICENSE).
0 commit comments