Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • bbrudysa/image-classification
1 result
Select Git revision
Loading items
Show changes
Commits on Source (3)
No preview for this file type
No preview for this file type
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.cs.toronto.edu/~kriz/cifar.html">
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) :