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

[Question] AttributeError: has no attribute 'YOLOAirplane' #51

Closed
SoloQTKiller opened this issue Jun 5, 2022 · 1 comment
Closed

[Question] AttributeError: has no attribute 'YOLOAirplane' #51

SoloQTKiller opened this issue Jun 5, 2022 · 1 comment

Comments

@SoloQTKiller
Copy link

When running the project today I come across the following error in the logs. Previously it was solving all captchas correctly but now all it does is return the following error and it doesn't solve anything

2022-06-05 13:47:10.452 | DEBUG    | services.utils.toolbox.toolbox:get_challenge_ctx:93 - 🎮 Activate challenger context
2022-06-05 13:47:15.540 | DEBUG    | services.hcaptcha_challenger.core:log:143 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox
2022-06-05 13:47:18.788 | DEBUG    | services.hcaptcha_challenger.core:log:143 - >> Challenge [ArmorCaptcha] Get label - label=「飞机」
2022-06-05 13:47:22.069 | DEBUG    | services.hcaptcha_challenger.core:log:143 - >> Challenge [ArmorCaptcha] Download the challenge image
2022-06-05 13:47:25.670 | ERROR    | services.scaffold:demo:54 - An error has been caught in function 'demo', process 'MainProcess' (25436), thread 'MainThread' (8040):
Traceback (most recent call last):
  File "C:\Users\felip\Desktop\Account Creator v3\src\main.py", line 24, in <module>
    Scaffold.demo()
> File "C:\Users\felip\Desktop\Account Creator v3\src\services\scaffold.py", line 54, in demo
    challenge.runner(
  File "C:\Users\felip\Desktop\Account Creator v3\src\apis\scaffold\challenge.py", line 77, in runner
    resp = challenger.anti_hcaptcha(ctx, dir_model=DIR_MODEL, onnx_prefix=onnx_prefix)
  File "C:\Users\felip\Desktop\Account Creator v3\src\services\hcaptcha_challenger\core.py", line 502, in anti_hcaptcha
    model = self.switch_solution(dir_model, onnx_prefix)
  File "C:\Users\felip\Desktop\Account Creator v3\src\services\hcaptcha_challenger\core.py", line 206, in switch_solution
    return yolo.YOLOAirplane(dir_model, onnx_prefix, path_rainbow=PATH_RAINBOW)
AttributeError: module 'services.hcaptcha_challenger.solutions.yolo' has no attribute 'YOLOAirplane'
2022-06-05 13:47:27.085 | DEBUG    | services.utils.toolbox.toolbox:get_challenge_ctx:93 - 🎮 Activate challenger context
@QIN2DIM QIN2DIM closed this as completed Jun 6, 2022
@QIN2DIM
Copy link
Owner

QIN2DIM commented Jun 6, 2022

re-clone your code

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

2 participants