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
51db9d83
Commit
51db9d83
authored
Nov 07, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs; fix #975
parent
52d2677f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
docs/tutorial/symbolic.md
docs/tutorial/symbolic.md
+10
-2
examples/SuperResolution/README.md
examples/SuperResolution/README.md
+1
-1
No files found.
docs/tutorial/symbolic.md
View file @
51db9d83
...
...
@@ -90,8 +90,16 @@ Tensorpack & `tf.layers` only provide a subset of most common models.
However you can construct the graph using whatever library you feel comfortable with.
Functions in slim/tflearn/tensorlayer are just symbolic function wrappers, calling them is nothing different
from calling
`tf.add`
. You may need to be careful how regularizations/BN updates are supposed
to be handled in those libraries, though.
from calling
`tf.add`
. You may need to be careful on some issues:
1.
Regularizations may be handled differently:
in tensorpack, users need to add the regularization losses to the total cost manually.
1.
BN updates may be handled differently: in tensorpack,
the ops from the
`tf.GraphKeys.UPDATE_OPS`
collection will be run
automatically every step.
1.
How training/testing mode is supported in those libraries: in tensorpack's
tower function, you can get a boolean
`is_training`
from
[
here
](
trainer.html#what-you-can-do-inside-tower-function
)
and use it however you like (e.g. create different codepath condition on this value).
It is a bit different to use sonnet/Keras.
sonnet/Keras manages the variable scope by their own model classes, and calling their symbolic functions
...
...
examples/SuperResolution/README.md
View file @
51db9d83
...
...
@@ -20,7 +20,7 @@ produce a 4x resolution image using different loss functions.
```
bash
wget http://images.cocodataset.org/zips/train2017.zip
wget http://models.tensorpack.com/
caffe
/vgg19.npz
wget http://models.tensorpack.com/
Caffe-Converted
/vgg19.npz
```
2.
Train an EnhanceNet-PAT using:
...
...
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