ERROR in loading data
laiba.zubair96 at gmail.com
laiba.zubair96 at gmail.com
Tue Feb 4 09:49:30 EST 2020
#load the training and testing data, then scale it into the
# range [0, 1]
print("[INFO] loading ADNI data...")
((trainX, trainY), (testX, testY)) = '/content/gdrive/My Drive/3_Classes/'.loads_data()
trainX = trainX.astype("float") / 255.0
testX = testX.astype("float") / 255.0
# initialize the label names for the ADNI dataset
labelNames = ["outAD", "outCN", "outMCI"]
When i try to run this code I got the following error.
[INFO] loading ADNI data...
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-8-fb9724017cc0> in <module>()
1 print("[INFO] loading ADNI data...")
----> 2 ((trainX, trainY), (testX, testY)) = '/content/gdrive/My Drive/3_Classes/'.loads_data()
3 trainX = trainX.astype("float") / 255.0
4 testX = testX.astype("float") / 255.0
5
More information about the Python-list
mailing list