Skip to content

Commit

Permalink
Deployment release 1alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
agarsev committed Dec 10, 2021
1 parent 35db6a3 commit b17e1a0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,21 @@ with instructions for their use.
network training and expert system building.
- [VisSE Corpus](https://github.com/agarsev/visse-corpus): a corpus of handwritten
SignWriting annotations of Spanish Sign Language, in Quevedo dataset format,
with trained neural networks and recognition pipelines.
with trained neural networks and recognition pipelines. While we finish its
annotation, it is not publicly available, but partial packaged releases will
be made available in this repository.
- [VisSE App](https://github.com/agarsev/visse-app): a progressive web application for
the explanation of handwritten SignWriting instances. It identifies the
different components of the trascription, and gives a textual explanation of
their meaning as well as a 3D model of the hands involved.

## Research

The expert system that makes the project possible is described in the following
publication:

- TODO

## Usage

### In production
Expand All @@ -45,6 +54,11 @@ development of accessible technologies.
We want to acknowledge the collaboration of the signing community, especially
the Spanish Sign Language teachers at Idiomas Complutense and Fundación CNSE.

### License

The code in this repository is licensed under the [Open Software License version
3.0](https://opensource.org/licenses/OSL-3.0).

### Team

- [Antonio F. G. Sevilla](https://github.com/agarsev) <afgs@ucm.es>
Expand Down
25 changes: 15 additions & 10 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@ fi

# -- VARS --

RELEASE=1.0.0-alpha
WHEEL=1.0.0a0
RELEASE=v1.0.0-alpha.1

FRONTEND_PKG=visse-frontend-$RELEASE.tgz
BACKEND_PKG=visse_backend-$WHEEL-py3-none-any.whl
CORPUS_PKG=visse-corpus-$RELEASE.tgz
FRONTEND_VERSION=1.0.0-alpha.1
BACKEND_VERSION=1.0.0a1
CORPUS_VERSION=1.0.0-alpha

RELEASE_URL=https://github.com/agarsev/visse-app/releases/download/v$RELEASE
FRONTEND_PKG=visse-frontend-$FRONTEND_VERSION.tgz
BACKEND_PKG=visse_backend-$BACKEND_VERSION-py3-none-any.whl
CORPUS_PKG=visse-corpus-$CORPUS_VERSION.tgz

RELEASE_URL=https://github.com/agarsev/visse/releases/download/$RELEASE
FRONTEND_PKG_URL=$RELEASE_URL/$FRONTEND_PKG
BACKEND_PKG_URL=$RELEASE_URL/$BACKEND_PKG
CORPUS_PKG_URL=https://holstein.fdi.ucm.es/visse/files/$CORPUS_PKG
CORPUS_PKG_URL=$RELEASE_URL/$CORPUS_PKG

PKG_DIR=packages # Where to put downloaded packages
VENV_PATH=.venv # Set to nothing to use system python
Expand All @@ -38,6 +41,8 @@ CORPUS_PKG=$PKG_DIR/$CORPUS_PKG
DARKNET_GIT=https://github.com/AlexeyAB/darknet
DARKNET_COMMIT=aa002ea1f8fbce6e139210ee1d936ce58ce120e1

DOWNLOAD="wget --retry-connrefused --tries=10 --waitretry=5 --timeout=20 --continue"

# -- SETUP --

SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
Expand Down Expand Up @@ -72,7 +77,7 @@ info "\nInstalling backend..."
if [ -f $BACKEND_PKG ]; then
info "Backend package already exists, skipping download"
else
wget "$BACKEND_PKG_URL" -O $BACKEND_PKG
$DOWNLOAD "$BACKEND_PKG_URL" -O $BACKEND_PKG
fi
$PYTHON -m pip install $BACKEND_PKG
info "Backend installed"
Expand All @@ -82,7 +87,7 @@ info "\nInstalling frontend..."
if [ -f $FRONTEND_PKG ]; then
info "Frontend package already exists, skipping download"
else
wget "$FRONTEND_PKG_URL" -O $FRONTEND_PKG
$DOWNLOAD "$FRONTEND_PKG_URL" -O $FRONTEND_PKG
rm -rf frontend
fi
info "Unpacking frontend..."
Expand All @@ -100,7 +105,7 @@ info "\nDownloading corpus..."
if [ -f $CORPUS_PKG ]; then
info "Corpus package already exists, skipping download"
else
wget "$CORPUS_PKG_URL" -O $CORPUS_PKG
$DOWNLOAD "$CORPUS_PKG_URL" -O $CORPUS_PKG
rm -rf corpus
fi
info "Unpacking corpus..."
Expand Down

0 comments on commit b17e1a0

Please sign in to comment.