Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcominerva committed Jan 27, 2019
1 parent 497fcef commit 4f8afa9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ CrossOfflineClassifier.Current.InitializeAsync(ModelType.General, "Computer");
- Add the following line in the [constructor](https://github.com/DotNetToscana/CustomVisionCompanion/blob/master/Src/CustomVisionCompanion/CustomVisionCompanion.UWP/MainPage.xaml.cs#L28) of *MainPage.xaml.cs*:

```
CrossOfflineClassifier.Current.InitializeAsync(ModelType.General, "ms-appx:///Assets/Models/Computer.onnx",
"controller", "keyboard", "laptop", "monitor", "mouse");
CrossOfflineClassifier.Current.InitializeAsync(ModelType.General, "ms-appx:///Assets/Models/Computer.onnx");
```

- In the line above, after the name of the ONNX file you need to pass all the tags of the models, in the same order you find in Custom Vision Portal. This method of passing data may be improved in the future.

**Contribute**

The project is continuously evolving. We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can.

0 comments on commit 4f8afa9

Please sign in to comment.