Skip to content
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

Documentation related to Pickle and Argument-parser. #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/detection/handGesture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This section assumes the user has already installed the RoboComp core library an

Before using the component, the user needs to install the necessary libraries:
```
pip install numpy opencv-python pickle scikit-learn==0.22.2.post1
pip install numpy opencv-python pickle-mixin scikit-learn==0.22.2.post1
```
Note: Make sure your scikit-learn version is `0.22.2.post1`

Expand Down Expand Up @@ -41,7 +41,7 @@ Note: This model is for faster processing when all classes are to be detected. C
To avoid changing the *config* file in the repository, we can copy it to the component's home directory, so changes will remain untouched by future git pulls:

```
cd robocomp-robolab/components/detection/handKeypoint/
cd robocomp-robolab/components/detection/handGesture/
```
```
cp etc/config etc/config-run
Expand All @@ -64,4 +64,4 @@ In assets folder,

## Saving trained model

Trained model can be saved by setting `self.save_model=True`. Name and path of the saved file can also be changed by changing `self.model_name`. By default, model will not be saved.
Trained model can be saved by setting `self.save_model=True`. Name and path of the saved file can also be changed by changing `self.model_name`. By default, model will not be saved.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def sigint_handler(*args):
if __name__ == '__main__':
app = QtCore.QCoreApplication(sys.argv)
parser = argparse.ArgumentParser()
parser.add_argument('iceconfigfile', nargs='?', type=str, default='etc/config')
parser.add_argument('--iceconfigfile', nargs='?', type=str, default='etc/config')
parser.add_argument('--startup-check', action='store_true')

args = parser.parse_args()
Expand Down