Traceback (most recent call last):
File "/home/ubuntu/TRN-pytorch/process_dataset.py", line 38, in
idx_categories.append(os.path.join(dict_categories[items[1]]))
File "/home/ubuntu/anaconda3/lib/python3.6/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int
Traceback (most recent call last): File "/home/ubuntu/TRN-pytorch/process_dataset.py", line 38, in
idx_categories.append(os.path.join(dict_categories[items[1]]))
File "/home/ubuntu/anaconda3/lib/python3.6/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int
I want to kmow how to solve this problem?