Fazıl Altınel
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
cinic10.py
|
@ -9,7 +9,7 @@ import tarfile |
|
|
|
|
|
|
|
|
def loadData(pathToDatasetFolder, oneHot=False): |
|
|
def loadData(pathToDatasetFolder, oneHot=False): |
|
|
""" |
|
|
""" |
|
|
pathToDatasetFolder: Parent folder of CINIC-10 dataset folder of CINIC-10.tar.gz file |
|
|
|
|
|
|
|
|
pathToDatasetFolder: Parent folder of CINIC-10 dataset folder or CINIC-10.tar.gz file |
|
|
oneHot: Label encoding (one hot encoding or not) |
|
|
oneHot: Label encoding (one hot encoding or not) |
|
|
|
|
|
|
|
|
Return: Train, validation and test sets and label numpy arrays |
|
|
Return: Train, validation and test sets and label numpy arrays |
|
|