NTUYWANG103 / APEX_AIMBOT

This is a YOLOV7 based APEX and CSGO Aimbot
GNU General Public License v3.0
587 stars 98 forks source link

是否只能使用文件提供的权重?这段是否加密了 #39

Closed unicorn5514 closed 1 year ago

unicorn5514 commented 1 year ago

我尝试使用自己的权重但是却出现了解密失败。 F:\py3.8\python.exe F:\aim\yolov7aim\cod19.py Traceback (most recent call last): File "F:\aim\yolov7aim\cod19.py", line 17, in apex = ApexAimBot(config_path='configs/cod19.yaml', onnx_path='weights/cod19.onnx', engine_path='weights/cod19.trt') File "F:\aim\yolov7aim\cod19.py", line 8, in init super().init(config_path, onnx_path, engine_path) File "F:\aim\yolov7aim\AimBot.py", line 34, in init self.engine = BaseEngine(engine_path) File "F:\aim\yolov7aim\utils\InferenceEngine.py", line 21, in init serialized_engine = fw.decrypt(f.read()) File "F:\py3.8\lib\site-packages\cryptography\fernet.py", line 85, in decrypt timestamp, data = Fernet._get_unverified_token_data(token) File "F:\py3.8\lib\site-packages\cryptography\fernet.py", line 121, in _get_unverified_token_data raise InvalidToken cryptography.fernet.InvalidToken

NTUYWANG103 commented 1 year ago

All codes are open sourced, you can use your own weight