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
428d9414
Commit
428d9414
authored
Jan 12, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
65facf4b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
11 deletions
+19
-11
.travis.yml
.travis.yml
+3
-0
README.md
README.md
+3
-1
examples/PennTreebank/README.md
examples/PennTreebank/README.md
+1
-1
examples/README.md
examples/README.md
+2
-1
tests/install-tensorflow.sh
tests/install-tensorflow.sh
+10
-8
No files found.
.travis.yml
View file @
428d9414
...
@@ -31,6 +31,9 @@ matrix:
...
@@ -31,6 +31,9 @@ matrix:
install
:
install
:
-
echo $TRAVIS_PYTHON_VERSION
-
echo $TRAVIS_PYTHON_VERSION
-
pip install -U flake8 opencv-python
-
pip install -U flake8 opencv-python
# Here we use opencv-python to overcome some travis probelms.
# Users are not recommended to use opencv-python because it brings issues working on GPU
# together with tensorflow.
-
if [ -e requirements.txt ]; then pip install -r requirements.txt;else pip install -r requirements.pip;fi
-
if [ -e requirements.txt ]; then pip install -r requirements.txt;else pip install -r requirements.pip;fi
-
./tests/install-tensorflow.sh
-
./tests/install-tensorflow.sh
...
...
README.md
View file @
428d9414
# tensorpack
# tensorpack
[

](https://travis-ci.org/ppwwyyxx/tensorpack)
Neural Network Toolbox on TensorFlow
Neural Network Toolbox on TensorFlow
[

](https://travis-ci.org/ppwwyyxx/tensorpack)
Docs & tutorials should be ready within a month. See some
[
examples
](
examples
)
to learn about the framework:
Docs & tutorials should be ready within a month. See some
[
examples
](
examples
)
to learn about the framework:
### Vision:
### Vision:
...
@@ -21,6 +22,7 @@ Docs & tutorials should be ready within a month. See some [examples](examples) t
...
@@ -21,6 +22,7 @@ Docs & tutorials should be ready within a month. See some [examples](examples) t
### Speech / NLP:
### Speech / NLP:
+
[
LSTM-CTC for speech recognition
](
examples/TIMIT
)
+
[
LSTM-CTC for speech recognition
](
examples/TIMIT
)
+
[
char-rnn for fun
](
examples/char-rnn
)
+
[
char-rnn for fun
](
examples/char-rnn
)
+
[
LSTM language model on PennTreebank
](
examples/PennTreebank
)
The examples are not only for demonstration of the framework -- you can train them and reproduce the results in papers.
The examples are not only for demonstration of the framework -- you can train them and reproduce the results in papers.
...
...
examples/PennTreebank/README.md
View file @
428d9414
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
This example is mainly to demonstrate:
This example is mainly to demonstrate:
1.
How to train an RNN with persistent state between iterations.
1.
How to train an RNN with persistent state between iterations.
2.
How to use a TF reader pipeline instead of a DataFlow
for
training & inference.
2.
How to use a TF reader pipeline instead of a DataFlow
, for both
training & inference.
It trains an language model on PTB dataset, basically an equivalent of the PTB example
It trains an language model on PTB dataset, basically an equivalent of the PTB example
in
[
tensorflow/models
](
https://github.com/tensorflow/models/tree/master/tutorials/rnn/ptb
)
.
in
[
tensorflow/models
](
https://github.com/tensorflow/models/tree/master/tutorials/rnn/ptb
)
.
...
...
examples/README.md
View file @
428d9414
...
@@ -25,11 +25,12 @@ Training examples with __reproducible__ and meaningful performance.
...
@@ -25,11 +25,12 @@ Training examples with __reproducible__ and meaningful performance.
## Speech / NLP:
## Speech / NLP:
+
[
LSTM-CTC for speech recognition
](
TIMIT
)
+
[
LSTM-CTC for speech recognition
](
TIMIT
)
+
[
char-rnn for fun
](
char-rnn
)
+
[
char-rnn for fun
](
char-rnn
)
+
[
LSTM language model on PennTreebank
](
PennTreebank
)
Note to contributors:
Note to contributors:
We have a high bar for examples. It
needs to satisfy one of the following:
Example
needs to satisfy one of the following:
+
Reproduce performance of a published or well-known paper.
+
Reproduce performance of a published or well-known paper.
+
Get state-of-the-art performance on some task.
+
Get state-of-the-art performance on some task.
+
Illustrate a new way of using the library that are currently not covered.
+
Illustrate a new way of using the library that are currently not covered.
tests/install-tensorflow.sh
View file @
428d9414
#!/bin/bash -e
if
[
$TF_TYPE
==
"release"
]
;
then
if
[
$TF_TYPE
==
"release"
]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
2
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
2
*
]]
;
then
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp27-none-linux_x86_64
.whl
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp27-none-linux_x86_64
.whl
fi
fi
if
[[
$TRAVIS_PYTHON_VERSION
==
3.4
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
3.4
*
]]
;
then
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp34-cp34m-linux_x86_64
.whl
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp34-cp34m-linux_x86_64
.whl
fi
fi
if
[[
$TRAVIS_PYTHON_VERSION
==
3.5
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
3.5
*
]]
;
then
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp35-cp35m-linux_x86_64
.whl
TF_BINARY_URL
=
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-
${
TF_VERSION
}
-cp35-cp35m-linux_x86_64
.whl
fi
fi
fi
fi
if
[
$TF_TYPE
==
"nightly"
]
;
then
if
[
$TF_TYPE
==
"nightly"
]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
2
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
2
*
]]
;
then
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT
=
OPT,TF_BUILD_IS_PIP
=
PIP,TF_BUILD_PYTHON_VERSION
=
PYTHON2,label
=
cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp27-none-linux_x86_64
.whl
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT
=
OPT,TF_BUILD_IS_PIP
=
PIP,TF_BUILD_PYTHON_VERSION
=
PYTHON2,label
=
cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp27-none-linux_x86_64
.whl
fi
fi
if
[[
$TRAVIS_PYTHON_VERSION
==
3.4
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
3.4
*
]]
;
then
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT
=
OPT,TF_BUILD_IS_PIP
=
PIP,TF_BUILD_PYTHON_VERSION
=
PYTHON3,label
=
cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp34-cp34m-linux_x86_64
.whl
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-cpu/TF_BUILD_IS_OPT
=
OPT,TF_BUILD_IS_PIP
=
PIP,TF_BUILD_PYTHON_VERSION
=
PYTHON3,label
=
cpu-slave/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp34-cp34m-linux_x86_64
.whl
fi
fi
if
[[
$TRAVIS_PYTHON_VERSION
==
3.5
*
]]
;
then
if
[[
$TRAVIS_PYTHON_VERSION
==
3.5
*
]]
;
then
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-python35-linux-cpu/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp35-cp35m-linux_x86_64
.whl
TF_BINARY_URL
=
https://ci.tensorflow.org/view/Nightly/job/nightly-python35-linux-cpu/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-
${
TF_VERSION
}
-cp35-cp35m-linux_x86_64
.whl
fi
fi
fi
fi
pip
install
--upgrade
${
TF_BINARY_URL
}
pip
install
--upgrade
${
TF_BINARY_URL
}
\ No newline at end of file
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