<commit_before># BiternionNets-ROS
An implementation of BiternionNets for ROS, ready to run on a robot.
<commit_msg>Install instructions in README.<commit_after># BiternionNets-ROS
An implementation of BiternionNets for ROS, ready to run on a robot.

Install instructions
--------------------

Most ROS installations are using Ubuntu, this is the recommended way:

```
$ sudo apt-get install python-virtualenv libopenblas-dev liblapack-dev
$ virtualenv --system-site-packages pyenv
$ . pyvenv/bin/activate
$ pip install --upgrade numpy
$ pip install git+https://github.com/Theano/Theano.git
$ pip install git+https://github.com/lucasb-eyer/DeepFried2.git
$ pip install git+https://github.com/lucasb-eyer/lbtoolbox.git
```

You can now do the following now and hope there's no error.
It may take a while since it is pre-compiling quite some things:

```
$ python -c 'import DeepFried2'
```

{'fraction_non_alphanumeric': 0.11586051743532058, 'fraction_numerical': 0.0022497187851518562, 'mean_word_length': 4.056818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '37307', 'n_tokens_mistral': 290, 'n_tokens_neox': 267, 'n_words': 95}