* First attempt at GHA CI instead of Azure Pipelines.
* Could I have the matrix config wrong?
* Oh, oops, I was just looking in the wrong place for the GHA log.
* Disable Azure Pipelines Linux job.
* Fix some additional small syntax errors.
* Minor updates.
* Try to figure out what is happening with this test!
* Ha, actually remember the argument.
* Try to parse the CTest results.
* Don't build CLI programs for the debug-only mlpack_test build.
* Try to figure out why we don't have the CTest output file.
* Seems like maybe the test just needs more iterations.
* Fix directory for CTest output.
* Try running mlpack_test manually to see if we get better test output.
* Remove version numbers and other non-XML from XML output test file.
* Try to fix debug build.
* Filtering regex.
* Try to fail the build when the tests fail.
* Minor fixes and cleanups to run Python binding tests.
* Print test failure information in the actual build step.
* Update Julia testing strategy.
* Try to also get outputs from other test bindings.
* Fix Julia and Go testing blocks.
* Avoid random collisions that cause test failures.
* Try moving splitting into the trial loop.
* Try a different test reporter action.
* Install pytest for Python tests.
* Fix working directory for Julia test.
* Add test case that will fail to see what it looks like.
* Back to the old action, the new one I tried didn't do what I needed.
* Try a better way to print the test output.
* I still don't know how to mark the job failed yet.
* Maybe this stdout character works better.
* Try a forked test-summary action.
* Try to use distribution version of the modified action.
* Try to see if ccache is doing anything.
* Always run ccache stats step.
* Turn off PCH for ccache.
* Let's just see what it looks like with more error output.
* Clean up ccache configuration.
* Remove fake test because it seems like now I have the output working right.
* Try to reduce file size by not printing debug output into it.
* Try and refactor binding environment seutp into a composite local action.
* Try to fix some syntactical errors.
* Refactor test running into a separate composite action.
* Start trying to make the R build part of the main CI build.
* Oops, the include directory was in the wrong place.
* Try actually running R tests in the workflow too.
* Try to fix a few action issues.
* Try to work around libicu issue.
* Remove unnecessary option.
* Try to run OS X builds too.
* Try to fix matrix configuration.
* Revert "Try to fix matrix configuration."
This reverts commit 22a08d6dcd0d39de0a27f2df16e885bd68e18fda.
* Oops, maybe it was just an extra comma.
* Fix naming, and maybe we have to remove stringi first.
* Try to set Julia location correctly.
* Some fixes to the pipelines.
* Oops, I need root for that.
* Some additional fixes for jobs.
* Hopefully fix a few more builds.
* What, how did that get there?
* Don't use non-portable -i option with sed.
* Run R tests properly to get junit output.
* Oops, I have to redirect the output.
* Where is the output file?
* Try to fix macOS Python location.
* Oops, ROOTDIR is just not set.
* Try to store the name of the R package correctly.
* Oops, we need to specify pip.
* Try to get the right directory for the R package.
* Try to fix another round of issues. I'm getting closer, at least.
* Okay, fine, let's do it the brutalistic way.
* What is actually happening with the Go binding tests?
* Try a different strategy for printing.
* Make some updates to prepare for Windows builds.
* What's the output of go test?
* Remove -Wall as per golang/go#6883.
* Try to fix duplicate library warning.
* Maybe I just specified the variable in an invalid way that didn't stick?
* This should fix the Go build.
* How did that cd go missing?
* Try to remove DEBUG output from the debug tests.
* Try to be more specific about the ccache key.
* Oops, incorrect variable name.
* Try to speed up the testing step.
* Try to run the Windows build through GHA.
* Try to install locally to deps/.
* Try to install and set up Windows dependencies correctly.
* Try to debug Windows build.
* Use bash for CMake configuration.
* Some additional path fixes.
* A couple fixes, but I don't have the Armadillo path right.
* Fix curl command.
* Maybe this is closer to the right path...
* Okay, look one directory deeper...
* Temporarily print STB compilation failure.
* Try to use absolute path for STB inclusion test.
* Oops, fix syntax.
* Try using REALPATH instead.
* Try just skipping the check...
* Try specifying BLAS and LAPACK locations directly.
* Try to figure out what is going on.
* Are we even using the correct FindArmadillo script?
* Try specifying the libraries manually.
* Try disabling the wrapper library.
* What version of CMake is this?
* Print the configuration.
* What if we specify these library locations?
* Double-check: this should fail.
* Okay, that actually surprisingly did not fail.
* Fix style issues.
* Compress into only one GHA file so all the jobs show up in the same place.
* Try to use absolute path to OpenBLAS.
* Try to fix path mangling on Windows.
* Fix STB path and no PS please.
* Try to fix output on Windows tests.
* Call test from the right place.
* Remove some unnecessary output.
* Try just running the test.
* What is going on, why doesn't the test run?
* Try just running the test with PowerShell.
* Maybe I have the filename wrong?
* PowerShell makes me angry...
* Right, .exe is the suffix...
* I love PowerShell!
* Okay, forget PowerShell.
* Can we even run the test?
* Is it a DLL search path issue?
* Okay, I think this might work for Windows.
* Fix porting of new r2u/p3m workflow (hopefully).
* Fix possibly incorrect variable name.
* Reduce the number of macOS jobs.
* Fix name of job.
* Remove potentially unnecessary step.
* Document CI changes and reorganize jobs for better viewing.
* Remove invalid link. (Awesome that the link check build picked this up.)
* First attempt at documenting the RectangleTree.
* Add Insert() and Delete() to RectangleTree; they have a nicer user interface than what was previously there.
* Add R-tree documentation.
* Fix default arguments for RectangleTree typedefs.
* Fix some minor documentation display issues.
* Fix link.
* Fix links.
* Try to clarify what trees are a little bit.
* Apply suggestions from code review
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* Update doc/user/core/trees/r_tree.md
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
---------
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* Move STB internally, comment functions if not
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Comment for now STB including macros
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Modify CMake and tests accordingly
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the license and update the date.
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Move STB to its own directory
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Adding the functrions of image resize and crop
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update the API not finished yet
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Start adding tests
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add flowers images for test
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Bring image from the coco dataset
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Include all of STB header in this file
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix STB configs
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Clean CMakeLists and look for stb_resize
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Make it compile with STB integrated
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix stb path
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the endif at the end of the file
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update LICENSE.txt
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update CMakeLists.txt
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/config.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Adding the function and test, not finished
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Remove crop from this PR, and add tests
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update LICENSE.txt
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* Update CMakeLists.txt
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* merge master
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add @rcutin suggestion for stb
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Improve the logic to include edge cases
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the bundle that if we are using system stb
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Make it possible to disable the entire build with STB
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the else if condition
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the else condition
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the tests accordindly
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add dummpy functions and complete the Resize function
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Reorder to see if this fix the problem
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the resize for a set of images
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add STATIC for resize and write
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix all the problem with this function
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Be able to resize N images easily
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Add the tests, already passing
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Use sheep instead of Umbrella
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Fix STB directory
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Fix Cmake and docs
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Apply comments from @rcurtin
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Integrate @rcurtin comments
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Fix tests and remove generated images
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Add docs
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Update the API with new resize version
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Fix to resize2
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Adding resize2
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Add the necessary fix to avoid linker errors
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add configs to allow correct repacking
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Redo the ResizeImages function
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Pack the images as tzr.bz2
Signed-off-by: Omar Shrit <omar@shrit.fr>
* Fix the function calls and create an internal one
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Make the message shorter to have under 80 chars
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Solve linter errors
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Solve linter error
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix linter issues
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/tests/image_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/tests/image_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/tests/image_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/tests/image_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/tests/image_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Apply @rcurtin comments
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add an example usage of these two functions
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Apply @rcurtin comments
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Re-organize directories for STB
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Apply rcurtin comments
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Merge two resize functions into one
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Get rid of MLPACK_DISABLE_STB
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix forgetting docs
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update CMake/FindStbImage.cmake
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update CMake/FindStbImage.cmake
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/install.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/compile.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update src/mlpack/core/data/image_resize_crop.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update doc/user/load_save.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Apply comments from @rcurtin
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Adding the test to test if it is identical
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix image tests
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the example
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Add the link and the patch to download the images
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Fix the script and make all of them green
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Remove wget not needed
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Minor style fixes.
* Avoid temporary matrices, and test with multiple different types.
* Update src/mlpack/config.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update HISTORY.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Fix R build by including bundled STB headers in package.
---------
Signed-off-by: Omar Shrit <omar@avontech.fr>
Signed-off-by: Omar Shrit <omar@shrit.fr>
Co-authored-by: Ryan Curtin <ryan@ratml.org>
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* A first attempt at overhauling the documentation job with a cache.
* Actually remove files we don't need anymore.
* Fix output from local link checks to give it all at once.
* Add sparse matrices to the set of detected matrix types.
* Fix comparison condition.
* Make a pass to try and re-validate cached links that have not yet expired.
* Compile and link separately so that ccache can take effect.
* Be a little bit smarter about caching.
* Ensure libicu$SO is installed so 'stringi' can be used
Also collapse to remotes calls into one
* Fix style issues that cpplint 2 found (#3884)
* Try to workaround the libicu issue for now.
* Mention new dependency.
---------
Co-authored-by: Dirk Eddelbuettel <edd@debian.org>
* Add LinearRecurrent layer and tests.
* Update RecurrentLayer for correct BPTT and document API changes.
* Reimplement BPTT---correctly, this time.
* Fix RNN implementation and add tests.
* Fix and test LSTM.
* Fix BPTT implementation to use all time steps and add some more tests.
* Fix and tune recurrent sine tests.
* Fix serialization for LinearRecurrent.
* Fix compilation warning when serialization is not enabled.
* When I use the MSE I expect the mean squared error, not the squared error. These reductions will need to be revisited at some point.
* Restore Reber grammar tests, revamp them, and tune other tests.
* Fix a few tests.
* Update HISTORY.
* Fix style issues.
* Fix one small behavioral change.
* Small patch to support ragged sequence lengths.
* Clean up ragged sequence code and add tests.
* Revert inadvertent changes to NegativeLogLikelihood.
* Fix style issues.
* Fix conditions so that we can serialize NNs even if we didn't define MLPACK_ENABLE_ANN_SERIALIZATION.
* Add LinearRecurrent layer and tests.
* Update RecurrentLayer for correct BPTT and document API changes.
* Reimplement BPTT---correctly, this time.
* Fix RNN implementation and add tests.
* Fix and test LSTM.
* Fix BPTT implementation to use all time steps and add some more tests.
* Fix and tune recurrent sine tests.
* Fix serialization for LinearRecurrent.
* Fix compilation warning when serialization is not enabled.
* When I use the MSE I expect the mean squared error, not the squared error. These reductions will need to be revisited at some point.
* Restore Reber grammar tests, revamp them, and tune other tests.
* Fix a few tests.
* Update HISTORY.
* Fix style issues.
* Fix one small behavioral change.
* Handle review comments.
This will enable to compile the code if in some cases you do not have
mutex support in the standard library. Assuming you have one core as
well.
Signed-off-by: Omar Shrit <omar@avontech.fr>
* Update documentation and CI configurations to work around OpenBLAS OpenMP thrashing issue.
* Update out-of-date link.
* Clarify the situation on Ubuntu and Debian.
* Clarify about pthread compilation.
* Add a bit about the OpenMP variant.
* Make the verbiage consistent everywhere.
* Try to see if the fix works on macOS too.
* Homebrew packages OpenBLAS 0.3.28, so no workaround is needed.
* Add pipeline to documentation homepage.
* Fix for mobile devices.
* Add little pipelines to go at the top of each page.
* Overhaul index page.
* Overhaul README to remove redundant material.
* Add installation documentation.
* Update pipelines.
* Allow nesting of deeper details.
* Add a pipeline to the top of the load/save page.
* Add prerequisites link to main pipeline.
* Add better but not finished sidebar.
* Add a couple new documentation pages.
* Fix URLs in svg.
* Incremental checkin.
* Fix Youtube URLs.
* Incremental checkin.
* Minor fixes.
* Add first pass at evaluation/deployment pages.
* Minor spacing and link fixes.
* Flesh out a number of additional pages and write basic compilation documentation.
* Fix some minor issues, and add Docker deployment page (not totally finished yet).
* Add developer documentation landing page.
* Hopefully getting close to the final set of changes here.
* Remove this documentation for now.
* Fix a few links, and the size of the sidebar.
* Fix some additional links.
* Fix a bunch more links.
* Fix another link that now has a better place.
* Refactor test-docs.sh to handle documentation that is a standalone program.
* Fix file exclusions.
* Fully qualify typename.
* Update name of file.
* Fix syntax error.
* Remove files that are not meant to be compiled.
* Also skip the quickstart.
* Move quickstart entry to the top.
* Remove gray coloring of binding documentation.
* Update name of sidebar link.
* Update to working link.
* Fix Wikipedia anchor.
* Add ccache detection and use
* Install ccache on Linux and OS X Azure Pipelines workers.
* Enable ccache in GitHub Actions and Azure
* Temporarily error on error, not warning, when checking R package
* Several small simplifications based on draft pr review
* Update .ci/linux-steps.yaml
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Call `make` without `VERBOSE=1`
* Update .ci/macos-steps.yaml
Co-authored-by: Ryan Curtin <ryan@ratml.org>
* Update .ci/linux-steps.yaml
Co-authored-by: Ryan Curtin <ryan@ratml.org>
---------
Co-authored-by: Ryan Curtin <ryan@ratml.org>