Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
902a2bee
Commit
902a2bee
authored
8 years ago
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fleshed out these examples more.
parent
02b844ea
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dnn_mnist_ex.cpp
examples/dnn_mnist_ex.cpp
+3
-3
dnn_mnist_resnet_ex.cpp
examples/dnn_mnist_resnet_ex.cpp
+0
-0
No files found.
examples/dnn_mnist_ex.cpp
View file @
902a2bee
...
@@ -57,9 +57,9 @@ int main(int argc, char** argv) try
...
@@ -57,9 +57,9 @@ int main(int argc, char** argv) try
// even define your own types by creating custom input layers.
// even define your own types by creating custom input layers.
//
//
// Then the middle layers define the computation the network will do to transform the
// Then the middle layers define the computation the network will do to transform the
// input into whatever we want. Here we run the image through multiple convolutions,
ReLU
// input into whatever we want. Here we run the image through multiple convolutions,
//
units, max pooling operations, and then finally a fully connected layer that converts
//
ReLU units, max pooling operations, and then finally a fully connected layer that
// the whole thing into just 10 numbers.
//
converts
the whole thing into just 10 numbers.
//
//
// Finally, the loss layer defines the relationship between the network outputs, our 10
// Finally, the loss layer defines the relationship between the network outputs, our 10
// numbers, and the labels in our dataset. Since we selected loss_multiclass_log it
// numbers, and the labels in our dataset. Since we selected loss_multiclass_log it
...
...
This diff is collapsed.
Click to expand it.
examples/dnn_mnist_resnet_ex.cpp
View file @
902a2bee
This diff is collapsed.
Click to expand it.
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