Skip to content

Commit 8c47ad6

Browse files
Bordawaleedka
authored andcommitted
add requirements
1 parent 451d738 commit 8c47ad6

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ You can also [join our team](https://matterport.com/careers/) and help us build
161161

162162
## Requirements
163163
* Python 3.4+
164-
* TensorFlow 1.3+
165-
* Keras 2.0.8+
166-
* Jupyter Notebook
167-
* Numpy, skimage, scipy, Pillow, cython, h5py
164+
165+
```bash
166+
pip3 install -r requirements.txt
167+
```
168168

169169
### MS COCO Requirements:
170170
To train or test on MS COCO, you'll also need:

requirements.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
numpy
2+
scipy
3+
Pillow
4+
cython
5+
matplotlib
6+
scikit-image
7+
tensorflow>=1.3.0
8+
keras>=2.0.8
9+
opencv-python
10+
h5py
11+
imgaug
12+
IPython[all]

samples/balloon/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ Open the `inspect_balloon_data.ipynb` or `inspect_balloon_model.ipynb` Jupter no
3030
## Train the Balloon model
3131

3232
Train a new model starting from pre-trained COCO weights
33-
```
33+
```bash
3434
python3 balloon.py train --dataset=/path/to/balloon/dataset --weights=coco
3535
```
3636

3737
Resume training a model that you had trained earlier
38-
```
38+
```bash
3939
python3 balloon.py train --dataset=/path/to/balloon/dataset --weights=last
4040
```
4141

4242
Train a new model starting from ImageNet weights
43-
```
43+
```bash
4444
python3 balloon.py train --dataset=/path/to/balloon/dataset --weights=imagenet
4545
```
4646

0 commit comments

Comments
 (0)