Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Image classification
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Brudy Saintespes Baptiste
Image classification
Compare revisions
8cb1fb41fcfaa0d3e59f7e3de5bc639188337176 to e87c40c36d137b52c971123d834f07cb0e63122e
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
bbrudysa/image-classification
Select target project
No results found
e87c40c36d137b52c971123d834f07cb0e63122e
Select Git revision
Loading items
Swap
Target
bbrudysa/image-classification
Select target project
bbrudysa/image-classification
1 result
8cb1fb41fcfaa0d3e59f7e3de5bc639188337176
Select Git revision
Loading items
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
readmecommit
· 143968a0
BaptisteBrd
authored
1 year ago
143968a0
pickle function
· 61dd79cf
BaptisteBrd
authored
1 year ago
61dd79cf
data matrix
· e87c40c3
BaptisteBrd
authored
1 year ago
e87c40c3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.DS_Store
+0
-0
0 additions, 0 deletions
.DS_Store
data/.DS_Store
+0
-0
0 additions, 0 deletions
data/.DS_Store
data/cifar-10-batches-py/readme.html
+1
-0
1 addition, 0 deletions
data/cifar-10-batches-py/readme.html
read_cifar.py
+14
-2
14 additions, 2 deletions
read_cifar.py
with
15 additions
and
2 deletions
.DS_Store
View file @
e87c40c3
No preview for this file type
This diff is collapsed.
Click to expand it.
data/.DS_Store
View file @
e87c40c3
No preview for this file type
This diff is collapsed.
Click to expand it.
data/cifar-10-batches-py/readme.html
0 → 100644
View file @
e87c40c3
<meta
HTTP-EQUIV=
"REFRESH"
content=
"0; url=http://www.cs.toronto.edu/~kriz/cifar.html"
>
This diff is collapsed.
Click to expand it.
read_cifar.py
View file @
e87c40c3
def
read_cifar_batch
(
path
)
:
import
numpy
import
pickle
def
unpickle
(
file
):
with
open
(
file
,
'
rb
'
)
as
fo
:
dict
=
pickle
.
load
(
fo
,
encoding
=
'
bytes
'
)
return
dict
dict1
=
unpickle
(
"
data/cifar-10-batches-py/data_batch_1
"
)
data
=
[
dict1
[
key
]
for
key
in
dict1
]
print
(
len
(
data
[
1
]))
#def read_cifar_batch(path) :
This diff is collapsed.
Click to expand it.