求助大神为什么items的维度是(1,)呢?是哪里出问题了,该怎么解决。
xiaosakun@instance-2:~/byz-GSTH/TRN-pytorch$ python process_dataset.py
(1,)
Traceback (most recent call last):
File "process_dataset.py", line 40, in <module>
idx_categories.append(os.path.join(dict_categories[items[1]]))
IndexError: list index out of range