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

网站打开没有推送番号 #70

Open
Ahiok opened this issue Mar 2, 2020 · 0 comments
Open

网站打开没有推送番号 #70

Ahiok opened this issue Mar 2, 2020 · 0 comments

Comments

@Ahiok
Copy link

Ahiok commented Mar 2, 2020

dirname:C:\SOFTWARE\bustag
Bustag server starting: version: 0.2.1

CWD: C:\SOFTWARE\bustag
Bottle v0.12.17 server starting up (using PasteServer())...
Listening on http://0.0.0.0:8000/
Hit Ctrl-C to quit.

Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 926, in _bootstrap_inner
File "threading.py", line 870, in run
File "bustag\app\schedule.py", line 54, in start_scheduler
KeyError: 'download.root_path'

serving on 0.0.0.0:8000 view at http://127.0.0.1:8000
//

/127.0.0.1 - - [02/Mar/2020:23:01:32 +0800] "GET / HTTP/1.1" 200 3844 "-" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"

127.0.0.1 - - [02/Mar/2020:23:01:40 +0800] "GET / HTTP/1.1" 200 3844 "-" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
127.0.0.1 - - [02/Mar/2020:23:01:43 +0800] "GET / HTTP/1.1" 200 3844 "-" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
127.0.0.1 - - [02/Mar/2020:23:02:05 +0800] "GET /static/images/favicon.ico HTTP/1.1" 200 32038 "http://127.0.0.1:8000/" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/
127.0.0.1 - - [02/Mar/2020:23:02:20 +0800] "GET / HTTP/1.1" 200 3844 "-" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
127.0.0.1 - - [02/Mar/2020:23:02:20 +0800] "GET /static/images/favicon.ico HTTP/1.1" 200 32038 "http://127.0.0.1:8000/" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/model
127.0.0.1 - - [02/Mar/2020:23:02:21 +0800] "GET /model HTTP/1.1" 200 5385 "http://127.0.0.1:8000/" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/local
127.0.0.1 - - [02/Mar/2020:23:02:22 +0800] "GET /local HTTP/1.1" 200 3775 "http://127.0.0.1:8000/model" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/model
127.0.0.1 - - [02/Mar/2020:23:02:23 +0800] "GET /model HTTP/1.1" 200 5385 "http://127.0.0.1:8000/local" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
2020-03-02 23:02:24,599 - bustag - ERROR - index.py - do_training
With n_samples=0, test_size=0.25 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
Traceback (most recent call last):
File "bustag\app\index.py", line 131, in do_training
File "bustag\model\classifier.py", line 33, in train
File "bustag\model\prepare.py", line 73, in prepare_data
File "bustag\model\prepare.py", line 63, in split_data
File "lib\site-packages\sklearn\model_selection_split.py", line 2100, in train_test_split
File "lib\site-packages\sklearn\model_selection_split.py", line 1782, in _validate_shuffle_split
ValueError: With n_samples=0, test_size=0.25 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
/do-training
127.0.0.1 - - [02/Mar/2020:23:02:24 +0800] "GET /do-training HTTP/1.1" 200 5564 "http://127.0.0.1:8000/model" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/tagit
127.0.0.1 - - [02/Mar/2020:23:02:26 +0800] "GET /tagit HTTP/1.1" 200 3795 "http://127.0.0.1:8000/do-training" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"
/
127.0.0.1 - - [02/Mar/2020:23:02:27 +0800] "GET / HTTP/1.1" 200 3844 "http://127.0.0.1:8000/tagit" "Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14"

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