I am trying to load a .dat file (RML2016_10b.dat) radio dataset from DeepSig using _pickle
in Python 3.6 as follows:
from _pickle import load, dump
Xd = load(open("RML2016_10b.dat", 'rb'))
But I keep getting the following error:
Traceback (most recent call last):
File "C:/Users/anoir/PycharmProjects/AMC/classification.py", line 14, in <module>
Xd = load(open("RML2016_10b.dat", 'rb'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xde in position 0: ordinal not in range(128)
Can anyone give me a solution?