Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunter Arthur Gabbard committed Jul 27, 2020
2 parents b721608 + 7da2518 commit 68d2712
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,30 @@ Note: This repository is a work in progress. No official release of code just ye

## Requirements

Make sure to install basemap prior to installing all other packages.
VItamin requires python3.6. You may use python3.6 by initializing a virtual environment.

For model:
```
virtualenv -p python3.6 myenv
source myenv/bin/activate
pip install --upgrade pip
```

- tensorflow
- tensorflow-probability
- numpy
- bilby
- basemap
- And other packages automatically installed via `pip install .`.
Make sure to install basemap prior to installing all other packages.

For installing basemap:
- Install geos-3.3.3 from source
- Once geos is installed, install basemap using `pip install git+https://github.com/matplotlib/basemap.git`

For other required packages:
```
pip install -r requirements.txt
```

Install VItamin using pip:
```
pip install vitamin-b
```

## Training

To train an example model from the paper, try out the [demo](https://colab.research.google.com/github/hagabbar/OzGrav_demo/blob/master/OzGrav_VItamin_demo.ipynb).
Expand Down

0 comments on commit 68d2712

Please sign in to comment.