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
838a4ba3
Commit
838a4ba3
authored
Aug 02, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update incv3
parent
35f24d40
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
README.md
README.md
+1
-0
examples/Inception/inceptionv3.py
examples/Inception/inceptionv3.py
+1
-1
examples/README.md
examples/README.md
+3
-3
tensorpack/tfutils/symbolic_functions.py
tensorpack/tfutils/symbolic_functions.py
+5
-0
No files found.
README.md
View file @
838a4ba3
...
@@ -8,6 +8,7 @@ See some interesting [examples](examples) to learn about the framework:
...
@@ -8,6 +8,7 @@ See some interesting [examples](examples) to learn about the framework:
+
[
DoReFa-Net: training binary / low bitwidth CNN
](
examples/DoReFa-Net
)
+
[
DoReFa-Net: training binary / low bitwidth CNN
](
examples/DoReFa-Net
)
+
[
Double-DQN for playing Atari games
](
examples/Atari2600
)
+
[
Double-DQN for playing Atari games
](
examples/Atari2600
)
+
[
ResNet for Cifar10 classification
](
examples/ResNet
)
+
[
ResNet for Cifar10 classification
](
examples/ResNet
)
+
[
IncpetionV3 on ImageNet
](
examples/Inception/inceptionv3.py
)
+
[
char-rnn language model
](
examples/char-rnn
)
+
[
char-rnn language model
](
examples/char-rnn
)
## Features:
## Features:
...
...
examples/Inception/inceptionv3.py
View file @
838a4ba3
...
@@ -21,7 +21,7 @@ See "Rethinking the Inception Architecture for Computer Vision", arxiv:1512.0056
...
@@ -21,7 +21,7 @@ See "Rethinking the Inception Architecture for Computer Vision", arxiv:1512.0056
This config follows the official inceptionv3 setup (https://github.com/tensorflow/models/tree/master/inception/inception)
This config follows the official inceptionv3 setup (https://github.com/tensorflow/models/tree/master/inception/inception)
with much much fewer lines of code.
with much much fewer lines of code.
It reaches 7
3.5
%
single-crop validation accuracy, same as
the official code,
It reaches 7
4.5
%
single-crop validation accuracy, slightly better than
the official code,
and has the same running speed as well.
and has the same running speed as well.
"""
"""
...
...
examples/README.md
View file @
838a4ba3
...
@@ -9,7 +9,7 @@ Only allow examples with reproducible and meaningful performancce.
...
@@ -9,7 +9,7 @@ Only allow examples with reproducible and meaningful performancce.
+
[
Reproduce some reinforcement learning papers
](
Atari2600
)
+
[
Reproduce some reinforcement learning papers
](
Atari2600
)
+
[
char-rnn for fun
](
char-rnn
)
+
[
char-rnn for fun
](
char-rnn
)
+
[
DisturbLabel, because I don't believe the paper
](
DisturbLabel
)
+
[
DisturbLabel, because I don't believe the paper
](
DisturbLabel
)
+
[
DoReFa-Net
,
binary / low-bitwidth CNN on ImageNet
](
DoReFa-Net
)
+
[
DoReFa-Net
:
binary / low-bitwidth CNN on ImageNet
](
DoReFa-Net
)
+
[
GoogleNet-InceptionV1 with 71% accuracy
](
Inception/inception-bn.py
)
+
[
GoogleNet-InceptionV1 with 71% accuracy
](
Inception/inception-bn.py
)
+
[
GoogleNet-InceptionV3 with 7
3.5% accuracy (same as
the official code)
](
Inception/inceptionv3.py
)
+
[
GoogleNet-InceptionV3 with 7
4.5% accuracy (similar to
the official code)
](
Inception/inceptionv3.py
)
+
[
ResNet for Cifar10
with similar accuracy, and for SVHN with state-of-the-art accuracy
](
ResNet
)
+
[
ResNet for Cifar10
and SVHN
](
ResNet
)
tensorpack/tfutils/symbolic_functions.py
View file @
838a4ba3
...
@@ -77,3 +77,8 @@ def rms(x, name=None):
...
@@ -77,3 +77,8 @@ def rms(x, name=None):
with
tf
.
name_scope
(
None
):
# name already contains the scope
with
tf
.
name_scope
(
None
):
# name already contains the scope
return
tf
.
sqrt
(
tf
.
reduce_mean
(
tf
.
square
(
x
)),
name
=
name
)
return
tf
.
sqrt
(
tf
.
reduce_mean
(
tf
.
square
(
x
)),
name
=
name
)
return
tf
.
sqrt
(
tf
.
reduce_mean
(
tf
.
square
(
x
)),
name
=
name
)
return
tf
.
sqrt
(
tf
.
reduce_mean
(
tf
.
square
(
x
)),
name
=
name
)
def
get_scalar_var
(
name
,
init_value
):
return
tf
.
get_variable
(
name
,
shape
=
[],
initializer
=
tf
.
constant_initializer
(
init_value
),
trainable
=
False
)
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