Closed FrancescoCasalegno closed 2 years ago
Fixes #14.
Introduce the two commands:
morphoclass morphometrics extract-features
morphoclass morphometrics train
All the following needs to be run from dvc/:
dvc/
cd dvc/
Feature extraction can be tested with the following command.
dvc stage list --names-only | grep "morphometrics-feature-extraction" | xargs dvc repro -f -s
Notice that this command takes a few hour, so if you only need to fetch the results you can just do:
dvc stage list --names-only | grep "morphometrics-feature-extraction" | xargs dvc pull
Model training can be tested with the following command. You can safely run it on your laptop, it will only take a couple of minutes.
dvc stage list --names-only | grep "train-morphometrics" | xargs dvc repro -f -s
Fixes #14.
Description
Introduce the two commands:
morphoclass morphometrics extract-features
morphoclass morphometrics train
How to test?
All the following needs to be run from
dvc/
:Testing
morphoclass morphometrics extract-features
Feature extraction can be tested with the following command.
Notice that this command takes a few hour, so if you only need to fetch the results you can just do:
Testing
morphoclass morphometrics extract-features
Model training can be tested with the following command. You can safely run it on your laptop, it will only take a couple of minutes.
Checklist