-
Notifications
You must be signed in to change notification settings - Fork 5
C# and IO Buffer CPP Sample Updates #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
mayavijx
commented
Nov 30, 2021
- Added CPP sample for IO Buffer Optimization Feature and updated the documentation for the same.
- Updated csharp sample script to use OS specific font family.
- Updated readme for csharp sample
- Replaced the label file for Windows squeezenet cpp sample with the link to same file in Linux folder
|
|
||
| /*If you want to create CPU Folders | ||
| Ort::MemoryInfo memoryInfo = Ort::MemoryInfo::CreateCpu( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can keep CPU Folders and it will work. What will not work is Remote Buffers with Raw Device Pointers and Running without IOBuffering. We do not have support to copy From Remote Buffers to CPU
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the script by removing the commented section.
| ``` | ||
| ./run_squeezenet --use_cpu <path_to_onnx_model> <path_to_sample_image> <path_to_labels_file> | ||
| ``` | ||
| - To Run the sample for IO Buffer Optimization feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayavijx this sample using IO Buffer will only work with OpenVINO and not MLAS. so thats why we are not passing any flags like --use_openvino or --use_cpu to run this sample. is my understanding correct and the sample directly runs on openvino.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes Maajid
595647a to
1b8c1f9
Compare
Signed-off-by: MaajidKhan <[email protected]>
Signed-off-by: MaajidKhan <[email protected]>