Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ayu___
fast-rcnn
提交
53a470ed
F
fast-rcnn
项目概览
Ayu___
/
fast-rcnn
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fast-rcnn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
53a470ed
编写于
4月 29, 2015
作者:
R
Ross Girshick
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tool script docstrings
上级
a25ae1d7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
28 addition
and
5 deletion
+28
-5
tools/compress_net.py
tools/compress_net.py
+4
-5
tools/demo.py
tools/demo.py
+6
-0
tools/reval.py
tools/reval.py
+9
-0
tools/test_net.py
tools/test_net.py
+2
-0
tools/train_net.py
tools/train_net.py
+2
-0
tools/train_svms.py
tools/train_svms.py
+5
-0
未找到文件。
tools/compress_net.py
浏览文件 @
53a470ed
...
...
@@ -7,6 +7,8 @@
# Written by Ross Girshick
# --------------------------------------------------------
"""Compress a Fast R-CNN network using truncated SVD."""
import
_init_paths
import
caffe
import
argparse
...
...
@@ -14,9 +16,7 @@ import numpy as np
import
os
,
sys
def
parse_args
():
"""
Parse input arguments
"""
"""Parse input arguments."""
parser
=
argparse
.
ArgumentParser
(
description
=
'Compress a Fast R-CNN network'
)
parser
.
add_argument
(
'--def'
,
dest
=
'prototxt'
,
help
=
'prototxt file defining the uncompressed network'
,
...
...
@@ -36,8 +36,7 @@ def parse_args():
return
args
def
compress_weights
(
W
,
l
):
"""
Compress the weight matrix W of an inner product (fully connected) layer
"""Compress the weight matrix W of an inner product (fully connected) layer
using truncated SVD.
Parameters:
...
...
tools/demo.py
浏览文件 @
53a470ed
...
...
@@ -7,6 +7,12 @@
# Written by Ross Girshick
# --------------------------------------------------------
"""
Demo script showing detections in sample images.
See README.md for installation instructions before running.
"""
import
_init_paths
from
fast_rcnn.config
import
cfg
from
fast_rcnn.test
import
im_detect
...
...
tools/reval.py
浏览文件 @
53a470ed
#!/usr/bin/env python
# --------------------------------------------------------
# Fast R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick
# --------------------------------------------------------
"""Reval = re-eval. Re-evaluate saved detections."""
import
_init_paths
from
fast_rcnn.test
import
apply_nms
from
fast_rcnn.config
import
cfg
...
...
tools/test_net.py
浏览文件 @
53a470ed
...
...
@@ -7,6 +7,8 @@
# Written by Ross Girshick
# --------------------------------------------------------
"""Test a Fast R-CNN network on an image database."""
import
_init_paths
from
fast_rcnn.test
import
test_net
from
fast_rcnn.config
import
cfg
,
cfg_from_file
...
...
tools/train_net.py
浏览文件 @
53a470ed
...
...
@@ -7,6 +7,8 @@
# Written by Ross Girshick
# --------------------------------------------------------
"""Train a Fast R-CNN network on a region of interest database."""
import
_init_paths
from
fast_rcnn.train
import
get_training_roidb
,
train_net
from
fast_rcnn.config
import
cfg
,
cfg_from_file
,
get_output_dir
...
...
tools/train_svms.py
浏览文件 @
53a470ed
...
...
@@ -7,6 +7,11 @@
# Written by Ross Girshick
# --------------------------------------------------------
"""
Train post-hoc SVMs using the algorithm and hyper-parameters from
traditional R-CNN.
"""
import
_init_paths
from
fast_rcnn.config
import
cfg
,
cfg_from_file
from
datasets.factory
import
get_imdb
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录