All Projects → notAI-tech → Deepsegment

notAI-tech / Deepsegment

Licence: gpl-3.0
A sentence segmenter that actually works!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Deepsegment

Multi Task Learning Pytorch
PyTorch implementation of multi-task learning architectures, incl. MTI-Net (ECCV2020).
Stars: ✭ 190 (-9.95%)
Mutual labels:  segmentation
Semantic Segmentation Suite
Semantic Segmentation Suite in TensorFlow. Implement, train, and test new Semantic Segmentation models easily!
Stars: ✭ 2,395 (+1035.07%)
Mutual labels:  segmentation
React Native Text Ticker
React Native Text Ticker/Marquee Component
Stars: ✭ 212 (+0.47%)
Mutual labels:  text
Keras Unet
Helper package with multiple U-Net implementations in Keras as well as useful utility tools helpful when working with image semantic segmentation tasks. This library and underlying tools come from multiple projects I performed working on semantic segmentation tasks
Stars: ✭ 196 (-7.11%)
Mutual labels:  segmentation
Ags
Learning Unsupervised Video Object Segmentation through Visual Attention (CVPR19, PAMI20)
Stars: ✭ 202 (-4.27%)
Mutual labels:  segmentation
Portraitnet
Code for the paper "PortraitNet: Real-time portrait segmentation network for mobile device" @ CAD&Graphics2019
Stars: ✭ 207 (-1.9%)
Mutual labels:  segmentation
Miscnn
A framework for Medical Image Segmentation with Convolutional Neural Networks and Deep Learning
Stars: ✭ 194 (-8.06%)
Mutual labels:  segmentation
Com.unity.perception
Perception toolkit for sim2real training and validation
Stars: ✭ 208 (-1.42%)
Mutual labels:  segmentation
Alyn
Detect and fix skew in images containing text
Stars: ✭ 202 (-4.27%)
Mutual labels:  text
Fcn
Chainer Implementation of Fully Convolutional Networks. (Training code to reproduce the original result is available.)
Stars: ✭ 211 (+0%)
Mutual labels:  segmentation
Sparse Structured Attention
Sparse and structured neural attention mechanisms
Stars: ✭ 198 (-6.16%)
Mutual labels:  segmentation
Deepmask Pytorch
PyTorch re-implementation of DeepMask
Stars: ✭ 201 (-4.74%)
Mutual labels:  segmentation
Sudachipy
Python version of Sudachi, a Japanese tokenizer.
Stars: ✭ 207 (-1.9%)
Mutual labels:  segmentation
Seismic Deeplearning
Deep Learning for Seismic Imaging and Interpretation
Stars: ✭ 198 (-6.16%)
Mutual labels:  segmentation
Tfwss
Weakly Supervised Segmentation with Tensorflow. Implements instance segmentation as described in Simple Does It: Weakly Supervised Instance and Semantic Segmentation, by Khoreva et al. (CVPR 2017).
Stars: ✭ 212 (+0.47%)
Mutual labels:  segmentation
Zf unet 224 pretrained model
Modification of convolutional neural net "UNET" for image segmentation in Keras framework
Stars: ✭ 195 (-7.58%)
Mutual labels:  segmentation
Stringi
THE String Processing Package for R (with ICU)
Stars: ✭ 204 (-3.32%)
Mutual labels:  text
Fast portrait segmentation
Fast (aimed to "real time") Portrait Segmentation on mobile phone
Stars: ✭ 215 (+1.9%)
Mutual labels:  segmentation
Ttnet Real Time Analysis System For Table Tennis Pytorch
Unofficial implementation of "TTNet: Real-time temporal and spatial video analysis of table tennis" (CVPR 2020)
Stars: ✭ 211 (+0%)
Mutual labels:  segmentation
Trixi
Manage your machine learning experiments with trixi - modular, reproducible, high fashion. An experiment infrastructure optimized for PyTorch, but flexible enough to work for your framework and your tastes.
Stars: ✭ 211 (+0%)
Mutual labels:  segmentation

DeepSegment: A sentence segmenter that actually works!

Downloads DOI

DeepSegment is available as a free to use API (https://fastdeploy.notai.tech/free_apis) and as a self-hostable service via https://github.com/notAI-tech/fastDeploy

Note: For the original implementation please use the "master" branch of this repo.

Code documentation available at http://bpraneeth.com/docs

Installation:

# Tested with (keras==2.3.1; tensorflow==2.2.0) and (keras==2.2.4; tensorflow==1.14.0)
pip install --upgrade deepsegment

Supported languages:

en - english (Trained on data from various sources)

fr - french (Only Tatoeba data)

it - italian (Only Tatoeba data)

Usage:

from deepsegment import DeepSegment
# The default language is 'en'
segmenter = DeepSegment('en')
segmenter.segment('I am Batman i live in gotham')
# ['I am Batman', 'i live in gotham']

Using with tf serving docker image

docker pull bedapudi6788/deepsegment_en:v2
docker run -d -p 8500:8500 bedapudi6788/deepsegment_en:v2
from deepsegment import DeepSegment
# The default language is 'en'
segmenter = DeepSegment('en', tf_serving=True)
segmenter.segment('I am Batman i live in gotham')
# ['I am Batman', 'i live in gotham']

Finetuning DeepSegment

Since one-size will never fit all, finetuning deepsegment's default models with your own data is encouraged.

from deepsegment import finetune, generate_data

x, y = generate_data(['my name', 'is batman', 'who are', 'you'], n_examples=10000)
vx, vy = generate_data(['my name', 'is batman'])

# NOTE: name, epochs, batch_size, lr are optional arguments.
finetune('en', x, y, vx, vy, name='finetuned_model_name', epochs=number_of_epochs, batch_size=batch_size, lr=learning_rate)

Using with a finetuned checkpoint

from deepsegment import DeepSegment
segmenter = DeepSegment('en', checkpoint_name='finetuned_model_name')

Training deepsegment on custom data: https://colab.research.google.com/drive/1CjYbdbDHX1UmIyvn7nDW2ClQPnnNeA_m

Similar Projects:

https://github.com/bminixhofer/nnsplit (with bindings for Python, Rust and Javascript.)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].