pythonConvertCifar-10 icon indicating copy to clipboard operation
pythonConvertCifar-10 copied to clipboard

Keyerro "data"

Open YangBain opened this issue 7 years ago • 1 comments

Hi When I run this code,I get keyerror: 'data'(Python3.6), do you know why? Thanks.

YangBain avatar Jun 15 '18 07:06 YangBain

Because ,the dictionary doesn't have the Key - “data” ,you need add 'b'before 'data' Xtr[b'data'], OK

stephen62 avatar May 20 '20 08:05 stephen62