Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.db.mnist
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.db.mnist
Commits
f004d18c
Commit
f004d18c
authored
12 years ago
by
Laurent EL SHAFEY
Browse files
Options
Downloads
Patches
Plain Diff
Polishing (minor docstring/documentation fixes)
parent
e4f7eafd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.rst
+4
-2
4 additions, 2 deletions
README.rst
buildout.cfg
+0
-2
0 additions, 2 deletions
buildout.cfg
setup.py
+1
-1
1 addition, 1 deletion
setup.py
xbob/db/mnist/driver.py
+1
-1
1 addition, 1 deletion
xbob/db/mnist/driver.py
xbob/db/mnist/test.py
+0
-1
0 additions, 1 deletion
xbob/db/mnist/test.py
with
6 additions
and
7 deletions
README.rst
+
4
−
2
View file @
f004d18c
...
@@ -95,12 +95,14 @@ In this case, this should return two NumPy arrays:
...
@@ -95,12 +95,14 @@ In this case, this should return two NumPy arrays:
If you don't have the data installed on your machine, you can also use the following
If you don't have the data installed on your machine, you can also use the following
set of command that will:
set of command
s
that will:
1. first look for the database in the xbob/db/mnist/ subdirectory and use it if is available
1. first look for the database in the xbob/db/mnist/ subdirectory and use it if is available
2. or automatically download it from Yann Lecun's website into a temporary folder, that will
2. or automatically download it from Yann Lecun's website into a temporary folder, that will
be erased when the destructor of the xbob.db.mnist database is called::
be erased when the destructor of the xbob.db.mnist database is called.
::
>>> import xbob.db.mnist
>>> import xbob.db.mnist
>>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required
>>> db = xbob.db.mnist.Database() # Check for the data files locally, and download them if required
...
...
This diff is collapsed.
Click to expand it.
buildout.cfg
+
0
−
2
View file @
f004d18c
...
@@ -6,8 +6,6 @@
...
@@ -6,8 +6,6 @@
parts
=
scripts
parts
=
scripts
develop
=
.
develop
=
.
eggs
=
xbob.db.mnist
eggs
=
xbob.db.mnist
newest
=
false
[scripts]
[scripts]
recipe
=
xbob.buildout:scripts
recipe
=
xbob.buildout:scripts
dependent-scripts
=
true
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
f004d18c
...
@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
...
@@ -9,7 +9,7 @@ from setuptools import setup, find_packages
setup
(
setup
(
name
=
'
xbob.db.mnist
'
,
name
=
'
xbob.db.mnist
'
,
version
=
'
1.0.0
g
'
,
version
=
'
1.0.0
h
'
,
description
=
'
MNIST Database Access API for Bob
'
,
description
=
'
MNIST Database Access API for Bob
'
,
url
=
'
http://github.com/bioidiap/xbob.db.mnist
'
,
url
=
'
http://github.com/bioidiap/xbob.db.mnist
'
,
license
=
'
GPLv3
'
,
license
=
'
GPLv3
'
,
...
...
This diff is collapsed.
Click to expand it.
xbob/db/mnist/driver.py
+
1
−
1
View file @
f004d18c
...
@@ -37,7 +37,7 @@ class Interface(BaseInterface):
...
@@ -37,7 +37,7 @@ class Interface(BaseInterface):
return
()
return
()
def
type
(
self
):
def
type
(
self
):
return
'
python_integrated
'
return
'
binary
'
def
add_commands
(
self
,
parser
):
def
add_commands
(
self
,
parser
):
...
...
This diff is collapsed.
Click to expand it.
xbob/db/mnist/test.py
+
0
−
1
View file @
f004d18c
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
"""
A few checks at the MNIST database.
"""
A few checks at the MNIST database.
"""
"""
import
os
,
sys
import
unittest
import
unittest
from
.
import
Database
from
.
import
Database
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment