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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] ROOKIE FAQ #49

Open
QIN2DIM opened this issue Jan 11, 2023 · 0 comments
Open

[DOCS] ROOKIE FAQ #49

QIN2DIM opened this issue Jan 11, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@QIN2DIM
Copy link
Member

QIN2DIM commented Jan 11, 2023

How to Install Requirements gracefully

馃憤 Before you start, create a python 3.10+ virtual environment.

  1. Install PyTorch

    You need to download the latest version of torch, torchvision and torchaudio from Start Locally | PyTorch

    pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
  2. Download additional dependencies

    pip install -U numpy packaging protobuf onnxruntime opencv-python==4.5.5.62 pillow~=9.2.0 scikit-learn==1.0.1 fire~=0.4.0 loguru~=0.6.0 pyyaml~=6.0

FileNotFoundError: The structure of the dataset is incomplete

You need to get challenge Images from the hCaptcha challenge, and in principle, the more pictures the better. In the first training round, you should put in at least 150 images(yes + bad).

You need to manually program the yes and bad folders and then run the task with the trainval command.

  • ~\hcaptcha-model-factory\data\sunflower\yes
  • ~\hcaptcha-model-factory\data\sunflower\bad
python main.py trainval --task sunflower
@QIN2DIM QIN2DIM added the documentation Improvements or additions to documentation label Jan 11, 2023
@QIN2DIM QIN2DIM changed the title [DOCS] py 3.10+ FAQ [DOCS] ROOKIE FAQ Jan 11, 2023
@QIN2DIM QIN2DIM pinned this issue Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant