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
Dear NMERIPO,
while i run the program preprocess.py ,it said :KeyError: 'shirt' , the detail as following.
please help me to take a look. I downloaded ClothingAttributeDataset.zip, maybe that something less than your did. if you give me your cvs data: category_test.csv, it will be great appreciated!
cheers
Edward
File "D:/clothing/Identifying-Clothing-Attributes-master/preprocess.py", line 59, in
print (key, round(100 * category_df[key].value_counts()[1]/ float(category_df.shape[0]), 2))
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2139, in getitem
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2146, in _getitem_column
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\generic.py", line 1842, in _get_item_cache
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\internals.py", line 3843, in get
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 2527, in get_loc
File "pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'shirt'
The text was updated successfully, but these errors were encountered:
Dear NMERIPO,
while i run the program preprocess.py ,it said :KeyError: 'shirt' , the detail as following.
please help me to take a look. I downloaded ClothingAttributeDataset.zip, maybe that something less than your did. if you give me your cvs data: category_test.csv, it will be great appreciated!
cheers
Edward
File "D:/clothing/Identifying-Clothing-Attributes-master/preprocess.py", line 59, in
print (key, round(100 * category_df[key].value_counts()[1]/ float(category_df.shape[0]), 2))
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2139, in getitem
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\frame.py", line 2146, in _getitem_column
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\generic.py", line 1842, in _get_item_cache
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\internals.py", line 3843, in get
File "D:\dev\IDE\Anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 2527, in get_loc
File "pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'shirt'
The text was updated successfully, but these errors were encountered: