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
Traceback (most recent call last):
File "/mnt/c/Users/Rafael/My Drive/codes/pam-ml-2.0/util/augmentation.py", line 206, in <module>
augmented = char_aug("abc def ghi jkl mno pqr stu wxy z 01234567890 [] ", ocr_error_dict,
File "/mnt/c/Users/Rafael/My Drive/codes/pam-ml-2.0/util/augmentation.py", line 174, in char_aug
augmented = sequential_flow.augment(data)[0]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 58, in augment
augmented_results = [self._augment(data) for _ in range(n)]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 58, in <listcomp>
augmented_results = [self._augment(data) for _ in range(n)]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 101, in _augment
augmented_data = aug.augment(augmented_data, n=n, num_thread=num_thread)
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 58, in augment
augmented_results = [self._augment(data) for _ in range(n)]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 58, in <listcomp>
augmented_results = [self._augment(data) for _ in range(n)]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/flow/pipeline.py", line 101, in _augment
augmented_data = aug.augment(augmented_data, n=n, num_thread=num_thread)
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/base_augmenter.py", line 75, in augment
clean_data = self.clean(data)
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/augmenter/char/char_augmenter.py", line 40, in clean
return [d.strip() for d in data]
File "/home/rafael/anaconda3/envs/llm_env/lib/python3.8/site-packages/nlpaug/augmenter/char/char_augmenter.py", line 40, in <listcomp>
return [d.strip() for d in data]
AttributeError: 'list' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered:
Running into a bug with a sequential flow. The same is not happening on 1.1.10
The text was updated successfully, but these errors were encountered: