This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[MXNET-1083] Add the example to demonstrate the inference workflow using C++ API. #12930
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ubator-mxnet into inception-inference
This was referenced Oct 23, 2018
@leleamol Thanks for the contribution! |
* use ResourceScope in Model/Trainer/FeedForward.scala * add moveToOuterScope public method to move resources to a outerScope if it exists * fix memory leak in FeedForward.scala by making it a native resource and disposing argparams, auxParams in dispose() method
* Fix the operator API documentation * update message
…sage in case of exceptions.
* nnz * update err msg * skip nnz test on gpu
…s similar to scala/java API
…pache#12912) 1. Avoid raise exception when input is bytearray. 2. Avoid OpenCV crash for empty input. 3. Added unittests.
* update tree lstm example * update README.md * Update README.md
* Update the bilstm example to Gluon * Update formating * Update example/vae/VAE_example.ipynb Co-Authored-By: ThomasDelteil <[email protected]>
* remove num_labels check in multibox_target * add unit test * test both cpu and gpu * add contrib operator to GPU unit test * do not test all contrib operator in gpu * Fix the large int assign problem
* move mkldnn helper funcs to diff file * create test file to test helper functions * update comments in header * move helpers into include dir * fix lint * update comment * add stdlib headers * remove unused headers * add endif * add missing header * add inlines * fix lint * move copyfrom test to mkldnn_test
* Add mx.context.gpu_memory_info() to python api for flexible tests. * Add test_gluon_gpu.py:test_large_models to show cudnnFind headroom issue. * Output model sizes tried by test_gluon_gpu.py:test_large_models. * Fix perl interface to MXGetGPUMemoryInformation. * Increase difficulty of test_gluon_gpu.py:test_large_models. * Forgot a file in fix for perl. * Modify test to pass on no-cudnn CI runner. * Mutex algo reg updates, serialize cudnnFind calls. * Fix for cudnnFind memory headroom issue. * Fix cpplint. * Respond to reviewers comments. * Guard against improper MXNET_GPU_MEM_LARGE_ALLOC_ROUND_SIZE values. * Fix potentially unassigned var.
…2919) * fix mac r install and windows python build from source docs * reorder macos r install instructions
* enable bn unit tests * travis timed out, trigger ci
I have made two minor contributions with pull requests so far. I forgot to add my name here earlier.
* missing line break fix for tutorials toc * fix the install index toc errors
* COsine Embedding Loss function added * Added unit tests for Cosine Embedding Loss Function * Added Latex code for formula for cosine embedding loss * Fixing document rendering * Fixing documentation issue * PR Comments addressed for using F (NDArray or Symbol) to calculate norm, renaming parameters * Markdown file updated. Added entry for CosineEmbeddingLoss * Added a line after .. math:: to fix documentation * Documentation check - pylint fix * Formula update * Making the formula simpler for correct rendering incrementally - Update 1 * Making the formula simpler for correct rendering incrementally - Update 2 * Making the formula simpler for correct rendering incrementally - Update 3 * Making the formula simpler for correct rendering incrementally - Update 4 * Making the formula simpler for correct rendering incrementally - Update 5 * Trigger CI * making the utility function cosine similarity internal * Added a test case for label = -1, for dissimilar vectors * Refactored names of parameters to the loss functions and updated the formula in docstring * PR comments addressed changes in documentation * Added random input vectors and labelled tests * Renaming variables * Pylint issues fixed * Resolving conflicts * Pylint issues fixed * Style issues fixed trailing whitespaces removed * Review comment addressed, sample_weight added in the parameter * Trigger CI * Reordered Parameter description * comments addressed - spelling errors * nit comments addressed * Trigger CI * Trugger CI * Trigger CI * Trigger CI
* erf register gpu * add doc
* Fix scaladoc errors from missing classpath Remove duplicate scalastyle plugin * Fix scaladoc warnings Also enable and fix all feature and deprecation warnings
…t-form representation (apache#13259)
* use cached version of get thread max * reserve core affects omp singleton * omp_thread_max_ updated in one line * remove enabled block * add brackets * re-add excluded reserved * add missing var * refactor macro
* adding unit test for MKLDNN FullyConnected operator * removing mkldnn filter * removing mkldnn filter
* fix. * add test. * retrigger
* Addressed doc issues * Update optimizer.py
* fixing gradcam * changed loading parameters code * fixing type conversions issue with previous versions of matplotlib * gradcam consolidation * creating directory structures in utils * changing location * empty commit
* Adding info_gan example * adjust paths of filenames * Update index.md * Update index.md * Update index.md * Update info_gan.md Added an image * Update info_gan.md Applied some fixes * Update info_gan.md Applied some fixes * Update info_gan.md Applied some fixes * Update info_gan.md * Updated index.md file * Updated index.md file * change links * Fixed typo * Delete Untitled.ipynb * Adding Vishaals comments * Adding Anirudh's comments * Fixed some bugs * Adding Anirudh's comments * some minor fixes
…sage in case of exceptions.
…s similar to scala/java API
…only once. Removed the image_data instance member.
leleamol
requested review from
anirudh2290,
gigasquid,
marcoabreu,
sergeykolychev and
yzhliu
as code owners
November 16, 2018 00:40
Opened a new PR #13294 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The PR includes an example that demonstrates the inference workflow using C++ API.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
The example demonstrates how to load the pre-trained model and associated parameter files.
The model and parameter files can be specified as command line arguments.
Comments