Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM gcc AS build

COPY . /src

WORKDIR /src

RUN make LDFLAGS="-lm -static"

FROM scratch

COPY --from=build /src/test ./

WORKDIR /data

CMD ["/test"]
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ For a demo on how to learn hand written digits, get some training data:

make; ./test

If you're on `docker` it's:

docker build -t tinn .
docker run --user $(id -u) --rm -v ${PWD}:/data tinn

The training data consists of hand written digits written both slowly and quickly.
Each line in the data set corresponds to one handwritten digit. Each digit is 16x16 pixels in size
giving 256 inputs to the neural network.
Expand Down