Skip to content

Commit

Permalink
Add fairseq note to docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
agkphysics committed Jun 6, 2023
1 parent f905bb4 commit 46619ac
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
![Version](https://img.shields.io/pypi/v/ertk)
![Python version](https://img.shields.io/pypi/pyversions/ertk)
![Python wheel](https://img.shields.io/pypi/wheel/ertk)
![Read the Docs](https://img.shields.io/readthedocs/ertk)
![GitHub stars](https://img.shields.io/github/stars/Strong-AI-Lab/emotion?style=social)

# ERTK: Emotion Recognition ToolKit
This is a Python library with utilities for processing emotional
Expand Down Expand Up @@ -37,6 +39,22 @@ Or, if you want to develop continuously:
pip install -e .
```

### Optional dependencies
Optional dependencies can be install via:
```
pip install -r requirements-dev.txt
```
Or via PyPI:
```
pip install ertk[all-preprocessors]
```
Note that if installing from PyPI, fairseq is not updated on PyPI and so
must be installed from GitHub directly:
```
pip install git+https://github.com/facebookresearch/fairseq.git@ae59bd6d04871f6174351ad46c90992e1dca7ac7
```


## Using CLI tools
Upon installation, you should be able to use common tools using the CLI
applications `ertk-cli`, `ertk-dataset` and `ertk-util`. Use the
Expand Down
7 changes: 6 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ ERTK can use the following third-party libraries if they are installed:

To install ERTK with these dependencies, use the ``[all]`` extra::

pip install ertk[all]
pip install ertk[all-preprocessors]

Note that fairseq is not updated on PyPI and so must be installed from
GitHub directly::

pip install git+https://github.com/facebookresearch/fairseq.git@ae59bd6d04871f6174351ad46c90992e1dca7ac7

0 comments on commit 46619ac

Please sign in to comment.