TRN-pytorch
TRN-pytorch copied to clipboard
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
I want to kmow how to solve this problem?
idx_categories.append(os.path.join(dict_categories[items[1]]))
changing this line to idx_categories.append(dict_categories[items[1]]) may help