Closed Alexwxwu closed 2 years ago
I am trying to train a new model. In dataset.py line 20filenames = glob.iglob(path, recursive=recursive), it seems that filenamesis an object instead of a list, so the next for loop cannot be executed.
filenames = glob.iglob(path, recursive=recursive)
filenames
I am trying to train a new model. In dataset.py line 20
filenames = glob.iglob(path, recursive=recursive)
, it seems thatfilenames
is an object instead of a list, so the next for loop cannot be executed.