Closed cliangyu closed 3 years ago
❯ pip list Package Version
asgiref 3.3.1 blinker 1.4 Brotli 1.0.9 cachetools 4.2.1 certifi 2020.12.5 cffi 1.14.5 chardet 4.0.0 click 7.1.2 cryptography 3.3.2 cycler 0.10.0 Flask 1.1.2 google-api-core 1.26.0 google-auth 1.26.1 google-cloud 0.34.0 google-cloud-vision 2.2.0 googleapis-common-protos 1.52.0 grpcio 1.35.0 h11 0.12.0 h2 4.0.0 hpack 4.0.0 hyperframe 6.0.0 idna 2.10 itsdangerous 1.1.0 Jinja2 2.11.3 joblib 1.0.1 kaitaistruct 0.9 kiwisolver 1.3.1 ldap3 2.8.1 libcst 0.3.17 MarkupSafe 1.1.1 matplotlib 3.3.4 mitmproxy 6.0.2 mkl-fft 1.2.0 mkl-random 1.1.1 mkl-service 2.3.0 MouseInfo 0.1.3 msgpack 1.0.2 mypy-extensions 0.4.3 numpy 1.19.2 olefile 0.46 opencv-python 4.5.1.48 packaging 20.9 pandas 1.2.2 passlib 1.7.4 Pillow 8.1.0 pip 20.3.3 proto-plus 1.13.0 protobuf 3.14.0 publicsuffix2 2.20191221 pyasn1 0.4.8 pyasn1-modules 0.2.8 PyAutoGUI 0.9.52 pycparser 2.20 PyGetWindow 0.0.9 PyMsgBox 1.0.9 pyobjc 7.1 pyobjc-core 7.1 pyobjc-framework-Accessibility 7.1 pyobjc-framework-Accounts 7.1 pyobjc-framework-AddressBook 7.1 pyobjc-framework-AdServices 7.1 pyobjc-framework-AdSupport 7.1 pyobjc-framework-AppleScriptKit 7.1 pyobjc-framework-AppleScriptObjC 7.1 pyobjc-framework-ApplicationServices 7.1 pyobjc-framework-AppTrackingTransparency 7.1 pyobjc-framework-AuthenticationServices 7.1 pyobjc-framework-AutomaticAssessmentConfiguration 7.1 pyobjc-framework-Automator 7.1 pyobjc-framework-AVFoundation 7.1 pyobjc-framework-AVKit 7.1 pyobjc-framework-BusinessChat 7.1 pyobjc-framework-CalendarStore 7.1 pyobjc-framework-CallKit 7.1 pyobjc-framework-CFNetwork 7.1 pyobjc-framework-ClassKit 7.1 pyobjc-framework-CloudKit 7.1 pyobjc-framework-Cocoa 7.1 pyobjc-framework-Collaboration 7.1 pyobjc-framework-ColorSync 7.1 pyobjc-framework-Contacts 7.1 pyobjc-framework-ContactsUI 7.1 pyobjc-framework-CoreAudio 7.1 pyobjc-framework-CoreAudioKit 7.1 pyobjc-framework-CoreBluetooth 7.1 pyobjc-framework-CoreData 7.1 pyobjc-framework-CoreHaptics 7.1 pyobjc-framework-CoreLocation 7.1 pyobjc-framework-CoreMedia 7.1 pyobjc-framework-CoreMediaIO 7.1 pyobjc-framework-CoreMIDI 7.1 pyobjc-framework-CoreML 7.1 pyobjc-framework-CoreMotion 7.1 pyobjc-framework-CoreServices 7.1 pyobjc-framework-CoreSpotlight 7.1 pyobjc-framework-CoreText 7.1 pyobjc-framework-CoreWLAN 7.1 pyobjc-framework-CryptoTokenKit 7.1 pyobjc-framework-DeviceCheck 7.1 pyobjc-framework-DictionaryServices 7.1 pyobjc-framework-DiscRecording 7.1 pyobjc-framework-DiscRecordingUI 7.1 pyobjc-framework-DiskArbitration 7.1 pyobjc-framework-DVDPlayback 7.1 pyobjc-framework-EventKit 7.1 pyobjc-framework-ExceptionHandling 7.1 pyobjc-framework-ExecutionPolicy 7.1 pyobjc-framework-ExternalAccessory 7.1 pyobjc-framework-FileProvider 7.1 pyobjc-framework-FileProviderUI 7.1 pyobjc-framework-FinderSync 7.1 pyobjc-framework-FSEvents 7.1 pyobjc-framework-GameCenter 7.1 pyobjc-framework-GameController 7.1 pyobjc-framework-GameKit 7.1 pyobjc-framework-GameplayKit 7.1 pyobjc-framework-ImageCaptureCore 7.1 pyobjc-framework-IMServicePlugIn 7.1 pyobjc-framework-InputMethodKit 7.1 pyobjc-framework-InstallerPlugins 7.1 pyobjc-framework-InstantMessage 7.1 pyobjc-framework-Intents 7.1 pyobjc-framework-IOSurface 7.1 pyobjc-framework-iTunesLibrary 7.1 pyobjc-framework-KernelManagement 7.1 pyobjc-framework-LatentSemanticMapping 7.1 pyobjc-framework-LaunchServices 7.1 pyobjc-framework-libdispatch 7.1 pyobjc-framework-LinkPresentation 7.1 pyobjc-framework-LocalAuthentication 7.1 pyobjc-framework-MapKit 7.1 pyobjc-framework-MediaAccessibility 7.1 pyobjc-framework-MediaLibrary 7.1 pyobjc-framework-MediaPlayer 7.1 pyobjc-framework-MediaToolbox 7.1 pyobjc-framework-Metal 7.1 pyobjc-framework-MetalKit 7.1 pyobjc-framework-MetalPerformanceShaders 7.1 pyobjc-framework-MetalPerformanceShadersGraph 7.1 pyobjc-framework-MLCompute 7.1 pyobjc-framework-ModelIO 7.1 pyobjc-framework-MultipeerConnectivity 7.1 pyobjc-framework-NaturalLanguage 7.1 pyobjc-framework-NetFS 7.1 pyobjc-framework-Network 7.1 pyobjc-framework-NetworkExtension 7.1 pyobjc-framework-NotificationCenter 7.1 pyobjc-framework-OpenDirectory 7.1 pyobjc-framework-OSAKit 7.1 pyobjc-framework-OSLog 7.1 pyobjc-framework-PassKit 7.1 pyobjc-framework-PencilKit 7.1 pyobjc-framework-Photos 7.1 pyobjc-framework-PhotosUI 7.1 pyobjc-framework-PreferencePanes 7.1 pyobjc-framework-PushKit 7.1 pyobjc-framework-Quartz 7.1 pyobjc-framework-QuickLookThumbnailing 7.1 pyobjc-framework-ReplayKit 7.1 pyobjc-framework-SafariServices 7.1 pyobjc-framework-SceneKit 7.1 pyobjc-framework-ScreenSaver 7.1 pyobjc-framework-ScreenTime 7.1 pyobjc-framework-ScriptingBridge 7.1 pyobjc-framework-SearchKit 7.1 pyobjc-framework-Security 7.1 pyobjc-framework-SecurityFoundation 7.1 pyobjc-framework-SecurityInterface 7.1 pyobjc-framework-ServiceManagement 7.1 pyobjc-framework-Social 7.1 pyobjc-framework-SoundAnalysis 7.1 pyobjc-framework-Speech 7.1 pyobjc-framework-SpriteKit 7.1 pyobjc-framework-StoreKit 7.1 pyobjc-framework-SyncServices 7.1 pyobjc-framework-SystemConfiguration 7.1 pyobjc-framework-SystemExtensions 7.1 pyobjc-framework-UniformTypeIdentifiers 7.1 pyobjc-framework-UserNotifications 7.1 pyobjc-framework-UserNotificationsUI 7.1 pyobjc-framework-VideoSubscriberAccount 7.1 pyobjc-framework-VideoToolbox 7.1 pyobjc-framework-Virtualization 7.1 pyobjc-framework-Vision 7.1 pyobjc-framework-WebKit 7.1 pyOpenSSL 20.0.1 pyparsing 2.4.7 pyperclip 1.8.1 PyRect 0.1.4 PyScreeze 0.1.26 python-dateutil 2.8.1 PyTweening 1.0.3 pytz 2021.1 PyYAML 5.4.1 requests 2.25.1 rsa 4.7 ruamel.yaml 0.16.12 ruamel.yaml.clib 0.2.2 rubicon-objc 0.4.0 scikit-learn 0.24.1 scipy 1.6.0 seaborn 0.11.1 selenium 3.141.0 setuptools 52.0.0.post20210125 six 1.15.0 sklearn 0.0 sortedcontainers 2.3.0 threadpoolctl 2.1.0 torch 1.7.1 torchaudio 0.7.0a0+a853dff torchvision 0.8.2 tornado 6.1 typing-extensions 3.7.4.3 typing-inspect 0.6.0 urllib3 1.26.3 urwid 2.1.2 Werkzeug 1.0.1 wheel 0.36.2 wsproto 1.0.0 zstandard 0.14.1
scikit 0.19.2 已解决
打开pickle文件时sklearn import 错误
❯ python main.py waiting to calibrate the browser location Number of good matches: 1426 Homography Matrix: [[ 1.26028472e+00 -2.85660313e-03 3.76300012e+01] [ 4.82342015e-03 1.25286812e+00 5.04039975e+02] [ 3.20553576e-06 -1.47682354e-06 1.00000000e+00]] Similarity: 0.9598514660493828 create AI subprocess locally starting up on 127.0.0.1 port 7479 waiting for the AI 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) Traceback (most recent call last): File "main.py", line 78, in
main()
File "/Users/ly/Documents/MajsoulAI/JianYangAI/analysis/analyzer.py", line 30, in wrapper
ret = func(*args,*kwargs)
File "main.py", line 74, in main
run_jianyang_ai()
File "/Users/ly/Documents/MajsoulAI/JianYangAI/analysis/analyzer.py", line 30, in wrapper
ret = func(args,**kwargs)
File "main.py", line 57, in run_jianyang_ai
ensemble_clfs = waiting_prediction_class()
File "/Users/ly/Documents/MajsoulAI/JianYangAI/agents/jianyang_ai.py", line 245, in init
self.clfs_richii.append(pickle.load(open(self.root_dir + f, 'rb')))
ModuleNotFoundError: No module named 'sklearn.neural_network.multilayer_perceptron'