Automatically annotate drijkprofile in qDAMEdit format
Project description
Version: 0.1.0
dijkprofile-annotator description
Automatically annotate drijkprofile is qDAMEdit format
Author: Jonathan Gerbscheid
Email: j.gerbscheid@hetwaterschapshuis.nl
Online Tool
An web version of this tool is available at:
https://huggingface.co/spaces/jgerbscheid/dpa-example
The availability of this tool is not currently guaranteed and it's location might change in the future to a different adress.
Install
Warning
This package will install pytorch to run the neural network for prediction. If you wish to use your own pytorch installation or modify the code in any way I recommend cloning the repository and installing locally:
https://gitlab.com/hetwaterschapshuis/kenniscentrum/tooling/dijkprofile-annotator/-/tree/master/
I recommended installing the package in a fresh conda environment to avoid conflicts with already other installed packages.
Install directly from PiPI with pip
pip install dijkprofile-annotator
Installing locally:
git clone git@gitlab.com:hetwaterschapshuis/kenniscentrum/tooling/dijkprofile-annotator.git
cd dijkprofile-annotator
pip install -e .
Usage
basic
To annotate a single file, use the annotate function:
import dijkprofile_annotator
input_filepath = "/home/documents/surfacelines.csv"
target_filepath = "/home/documents/predicted_characteristpoints.csv"
dijkprofile_annotator.annotate(input_filepath,
target_filepath)
Detailed Exampes
See the example notebooks at:
https://gitlab.com/hetwaterschapshuis/kenniscentrum/tooling/dijkprofile-annotator/-/tree/master/notebooks
for examples on how to use the package.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dijkprofile_annotator-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fd47b0151534d6ec25b62f3dbcf3165ee76ebbe4787932ae3208c7799841bf |
|
MD5 | 276a968317a2ca7ef5327739b39cb806 |
|
BLAKE2b-256 | 0053b1f25f4cfdeb4d7220af5113b56718e58bc780723a6d751024385326b5ba |
Hashes for dijkprofile_annotator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c86de129cbda84abcedd1da83a38f26b8329f16b4c4ffd1eca6d867ddcd9fc5 |
|
MD5 | e9799134427e9ddd1874cc4a1b525111 |
|
BLAKE2b-256 | 12e0d81d09ece4a7b9903871f4234a25a3d52463cfe25b098e665f354f515ff1 |