Skip to content
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

what is the format if input text? #3

Open
myrainbowandsky opened this issue Dec 4, 2019 · 0 comments
Open

what is the format if input text? #3

myrainbowandsky opened this issue Dec 4, 2019 · 0 comments

Comments

@myrainbowandsky
Copy link

myrainbowandsky commented Dec 4, 2019

when I run ompute_all_features_fast_py3/run_file.py. something is not right.
what is the format of input text?

lawrencexu@LawrencedeMac-mini compute_all_features_fast_py3 % /usr/bin/python3 /Users/lawrencexu/Documents/python2pro/Language-Features-for-News-master/compute_all_features_fast_py3/run_file.py
Processing files: 0%| | 0/2 [00:00<?, ?file/s]Process ArticleProcessor-1:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/Users/lawrencexu/Documents/python2pro/Language-Features-for-News-master/compute_all_features_fast_py3/run_file.py", line 109, in run
date = file_name.split("--")[1]
IndexError: list index out of range
Process ArticleProcessor-4:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/Users/lawrencexu/Documents/python2pro/Language-Features-for-News-master/compute_all_features_fast_py3/run_file.py", line 109, in run
date = file_name.split("--")[1]
IndexError: list index out of range

Total time: 5.02s
Mean time per file: 2.5092s
Mean files per seconds: 0.40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant