Repository navigation
Adding the example for the sensor based data collection and running on a riscv device #250
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
Open
shrit
wants to merge
52
commits into
mlpack:master
Choose a base branch
from
shrit:mpu
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
08a1422
Add the drivers for the GY89 MPU and barometer BMP 180
shrit cdffaa3
Adding a Makefile for the collect dataset project, use ncurses
shrit 15e633a
Adding the collect binary that collect data w/o TUI
shrit cdf960b
Adding the CMake configuration that is needed for cross compilation
shrit 9c3a920
Adding necessary CMakeLists file needed for the cross compilation
shrit 711fa01
Fix capture the next arg, and also make TUI by default unless otherwise
shrit 434635d
Make ncurses compiles by default unless the user say otherwise
shrit 39ed301
Adding OpenBLAS patch in CMakelist before the compilation
shrit 26d1747
Remove makefiles as pre review
shrit 0c792dd
Remove completely ncurses
shrit 6278731
Simplify the code largely to make it easier to read
shrit a2160d7
Move manually the sensor code into its own class
shrit 05fb789
Inline mag calibration class
shrit 84d8402
Remove the cpp from the list of files to compile
shrit 32544aa
Write openblas function that apply the low memory patch modification
shrit be89ac9
Move the parse sensor to sensor_board class since it is being used by…
shrit 0d61be2
Simplify the argc argv input according to rcurtin comment
shrit bef370a
Fix the architecture flag, and match our mlpack modifications
shrit 0a8753f
Fix the author name
shrit ce3e999
Train function added, first version
shrit 5252fef
Adding comments relevant to the matrix shape changes
shrit 4a7eaa3
Fix the window size in the comments to be 256 which is 2.5 seconds
shrit 052d59d
Add the patch for openblas matrix multiplication buffer size
shrit d524d8e
Add a local README only for this project, to make it easy to evaluate…
shrit d4b793c
Add a first version for the inference loop
shrit e71f44e
Change the name from collect_main to collect to match others
shrit f648c6c
Get rid of cstdio, and use fstream and iostream
shrit 0451e98
Make the model saved inside its own model directory
shrit aba9757
Use model directory in both training and inference
shrit 48471f2
Simplify the code for the input and make the window size fixed
shrit 87cddc7
Fix the comments, simplify the code
shrit 0ed972e
Remove magnometer calibration
shrit d1d40c8
Remove mangometer calibration, since it is not relevant to the project
shrit 7b638fc
Fix the load function call, do not use deprecated function
shrit 28c810c
Do not use deprecated functions
shrit 737b23b
Use new API with DataOptions and httplib
shrit 35c7c48
Apply the new Scaler template class, no need to convert fmat and mat
shrit e775d37
Update CMake with the one from the master version
shrit 33b1357
Simplify the CmakeLists file
shrit 28bfe5d
Add OpenBLAS flag
shrit f4323cf
Fix the load function
shrit e4c2033
Serialize all the models in one class, it makes the code easier
shrit cc48678
Update CmakeFile and cross compile config in the entire directory
shrit 2ada441
Fix the output because of different address for different version of …
shrit 572674d
Update cpp/movement_recognition/README.md
shrit 11161e4
Update cpp/lstm/stock_prediction/lstm_stock_prediction.cpp
shrit ce15b1c
Update cpp/movement_recognition/driver/sensor_board.hpp
shrit 98d12ea
Update cpp/lstm/electricity_consumption/lstm_electricity_consumption.cpp
shrit de0ba2a
Update cpp/movement_recognition/model.hpp
shrit d4a6741
Update cpp/movement_recognition/model.hpp
shrit 20879c5
Update cpp/movement_recognition/train/train.cpp
shrit f21f1f5
Update cpp/movement_recognition/train/train.cpp
shrit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
After https://github.com/mlpack/mlpack/pull/4201/changes is merged, then httplib is enabled by default, so I think we can remove this from here and other Makefiles?
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.
Correct