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

服务器执行会卡在 80 richii classifiers loaded #22

Open
jacksong18 opened this issue Feb 20, 2021 · 0 comments
Open

服务器执行会卡在 80 richii classifiers loaded #22

jacksong18 opened this issue Feb 20, 2021 · 0 comments

Comments

@jacksong18
Copy link

首先requirements.txt里面,少了scikit-learn==0.19.2
这个安装完之后,运行会变成这样

$ python remote.py 
remote server starting up on 0.0.0.0 port 14782
AI server starting up on 127.0.0.1 port 7479
wating for client.
client connection:  <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('某 IP', 14782), raddr=('某IP', 52289)> ('某IP', 52289)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg', 'player'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['data', 'meld'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['data', 'meld'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['data', 'meld'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['data', 'meld'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['msg', 'attr_name'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['auth_code'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'ai_obj', 'opponent_class', 'user_id', 'user_name', 'lobby_type', 'game_type', 'logger_obj', 'drawer'], varargs=None, keywords=None, defaults=(None,))
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'success'], varargs=None, keywords=None, defaults=(True,))
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=('',))
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg', 'meld_tile'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'game_type'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'msg'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['ai_obj', 'opponent_class', 'user', 'username', 'lobbytype', 'gametype', 'logger_obj', 'drawer'], varargs=None, keywords=None, defaults=(None,))
ArgSpec(args=[], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['drawer'], varargs=None, keywords=None, defaults=(None,))
ArgSpec(args=[], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'ensemble_clfs'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 't34', 'hand_ana'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'tile136', 'from_opponent'], varargs=None, keywords=None, defaults=None)
ArgSpec(args=['self', 'tile136', 'might_call_chi'], varargs=None, keywords=None, defaults=None)
80 richii classifiers loaded

本地运行

python main.py --level 0 --remote_ip XXX

就一直卡在call remote AI

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