data_path = "/home/nikitha/Desktop/SOftmax/cifar-10-batches-bin/data_batch_1"
fo = open(data_path,'rb')
fo.seek(0)
fo.seek(0)
dict = (pickle.load(fo,encoding='bytes'))
l=np.array(dict[b'labels'])
d=np.array(dict[b'data'])
l=np.array(dict[b'labels'])
TypeError: 'type' object is not subscriptableTypeerror: ‚Typ‘ Objekt subscriptable nicht
Dies ist der obige Fehler ich, wenn ich den Code ausführen
Ich bin veringity neu zu Tensorflow und Python, ich wäre toll, wenn Sie darauf hinwiesen, wo ich im obigen Code von ciorrect falsch ging –