Skip to main content

Automatically annotate dijkprofiles in qDAMEdit format

Project description

Version: 0.1.2

dijkprofile-annotator description

Automatically annotate drijkprofile is qDAMEdit format

Author: Jonathan Gerbscheid
Email: j.gerbscheid@hetwaterschapshuis.nl

Online Tool

A 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

After installation you can use the command line interface to annotate a single file, call the annotator with the to be labeled file and desired output file:

dijkprofile_annotator -i inputfile -o target_outputfile

It also possible to use the web interface, the following command will start a gradio app that can be accessed in a browser:

dijkprofile_annotator-gui

You can also import the module in a python script and call it from there:

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

dijkprofile_annotator-0.1.5.tar.gz (98.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dijkprofile_annotator-0.1.5-py3-none-any.whl (98.7 MB view details)

Uploaded Python 3

File details

Details for the file dijkprofile_annotator-0.1.5.tar.gz.

File metadata

  • Download URL: dijkprofile_annotator-0.1.5.tar.gz
  • Upload date:
  • Size: 98.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dijkprofile_annotator-0.1.5.tar.gz
Algorithm Hash digest
SHA256 207c8462cf4b4d6a1fd040b6ddcf77b918399694bf8a87766ea316124bdddf9b
MD5 62b2bde2a8bbf1d87f86e94232f18a9a
BLAKE2b-256 8212800c50c39e043313ba3392104c63d1d503d746647251c6f4bfe922728c54

See more details on using hashes here.

File details

Details for the file dijkprofile_annotator-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: dijkprofile_annotator-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 98.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dijkprofile_annotator-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 75e8f99505084f2a96a775727066091138198d6a0fc25804cd324b99f9c9f3a4
MD5 9fd7e5e510c49dadbd945430d0fdfc2c
BLAKE2b-256 b5cf0c4d5787383cb225e786d88fc6b3ad879b19abf77b1bdcd5dd9d3923b79c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page