Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
ffa4ed10
Commit
ffa4ed10
authored
Jan 04, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
05a424b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
README.md
README.md
+1
-2
examples/FasterRCNN/utils/generate_anchors.py
examples/FasterRCNN/utils/generate_anchors.py
+4
-2
No files found.
README.md
View file @
ffa4ed10
...
...
@@ -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.
examples/FasterRCNN/utils/generate_anchors.py
View file @
ffa4ed10
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment