You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnpicklingError Traceback (most recent call last)
Input In [38], in <cell line: 2>()
1 print(os.getcwd())
----> 2 data = unpickle(file_path)
Input In [12], in unpickle(file)
1 def unpickle(file):
2 with open(file, 'rb') as file:
----> 3 return pickle.load(file, encoding='bytes')
UnpicklingError: invalid load key, '\x01'.
```
## used code:
'''
import pickle
def unpickle(file):
with open(file, 'rb') as file:
return pickle.load(file, encoding='bytes')
file_path = './data/traffic_sign/out.bin'
data = unpickle(file_path)
'''
this code is working with original cifar10 dataset but giving error with custom dataset created using convert-images-to-cifar-format.py code.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: