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
I am running train.py, and this line of code complains the input is a directory. complex_names_all = read_strings_from_txt(self.split_path)
The original code snippet, read_strings_from_text needs a file
def read_strings_from_txt(path):
# every line will be one element of the returned list
with open(path) as file:
lines = file.readlines()
return [line.rstrip() for line in lines]
However, the default split_train, split_valid, split_test are paths not files. see utils.parsing.py
Hi,
I am running train.py, and this line of code complains the input is a directory.
complex_names_all = read_strings_from_txt(self.split_path)
The original code snippet, read_strings_from_text needs a file
However, the default split_train, split_valid, split_test are paths not files. see utils.parsing.py
Can you tell me how to generate those files?
Bellow are the errors from the train.py
The text was updated successfully, but these errors were encountered: