Commit ffa4ed10 authored by Yuxin Wu's avatar Yuxin Wu

update readme

parent 05a424b1
......@@ -58,11 +58,10 @@ See [tutorials](http://tensorpack.readthedocs.io/en/latest/tutorial/index.html)
Dependencies:
+ Python 2.7 or 3
+ TensorFlow >= 1.2.0
+ Python bindings for OpenCV (Optional, but required by a lot of features)
+ TensorFlow >= 1.2.0 (Optional if you only want to use `tensorpack.dataflow` alone as a data processing library)
```
# install git, then:
pip install -U git+https://github.com/ppwwyyxx/tensorpack.git
# or add `--user` to avoid system-wide installation.
```
If you only want to use `tensorpack.dataflow` alone as a data processing library, TensorFlow is also optional.
......@@ -107,6 +107,8 @@ if __name__ == '__main__':
#print(a)
#from IPython import embed; embed()
print(generate_anchors(
anchors = generate_anchors(
16, scales=np.asarray((2, 4, 8, 16, 32), 'float32'),
ratios=[0.5,1,2]))
ratios=[0.5,1,2])
print(anchors)
import IPython as IP; IP.embed()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment