Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

[Example] API for iterating layer outputs #524

Merged
merged 7 commits into from
Feb 26, 2019
Merged

Conversation

pinzhenx
Copy link
Contributor

@pinzhenx pinzhenx commented Jan 25, 2019

Fix #511

@pinzhenx
Copy link
Contributor Author

pinzhenx commented Jan 28, 2019

Select model in UI, then issue the following command in console

// iterate all layers with one backend
utils.iterateLayers([{backend: 'WebML', prefer: 'sustained'}]);

// iterate specified layers
utils.iterateLayers([{backend: 'WASM'}], [1, 3, 5]);

// iterate all layers with multiple backends
// take the first backend's result as reference and compute variance of the rest with it
utils.iterateLayers([{backend: 'WASM'}, {backend: 'WebGL'}]);

@BruceDai
Copy link
Contributor

We have verified this PR.
@huningxin Please help to merge it, thanks

@pinzhenx
Copy link
Contributor Author

@huningxin Conflicts resolved. Please have a look, Thanks.

@huningxin huningxin merged commit 269753a into intel:master Feb 26, 2019
@pinzhenx pinzhenx deleted the iter branch February 26, 2019 07:08
@pinzhenx
Copy link
Contributor Author

pinzhenx commented Feb 26, 2019

@zhaoming0 @fujunwei Layer iterating tool is now available publicly. The usage is shown above. It’s an example level debugging tool and now available in Image Classification and Deeplab. I hope you find this useful.

@fujunwei
Copy link
Contributor

@pinzhenx thanks for providing the useful tool.

@ibelem ibelem added the tools label Jun 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Test] Support iterating layer outputs
5 participants