-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'list' object has no attribute 'lower' preprocessor.preprocess_dataset when num_processes != None #99
Comments
I have the same problem. Load a custom dataset. Python 3.10.11 Code: preprocessor = Preprocessing(lowercase = True, vocabulary = None, max_features = None, AttributeError: 'list' object has no attribute 'lower' |
I'm getting the same issue. The issue only seems to persist if, when using |
OCTIS version: 1.11.0
Python version: 3.8.15
Operating System: 'posix'
Description - What I Did
I read in my own data and save it as .txt with one document per line. Then I define the preprocessing and execute it via preprocessor.preprocess_dataset. The error message is AttributeError: 'list' object has no attribute 'lower'. If I set no num_processes all is working.
The loop in simple_preprocessing_steps in combination with process_map breaks the documents into letters. See below
The text was updated successfully, but these errors were encountered: