Skip to content

Commit

Permalink
ffe
Browse files Browse the repository at this point in the history
  • Loading branch information
QIN2DIM committed Oct 21, 2023
1 parent 61e6b6a commit e88ac4d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 3 deletions.
2 changes: 2 additions & 0 deletions automation/assets_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
import shutil
import sys
Expand Down
2 changes: 2 additions & 0 deletions automation/auto_labeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Author : QIN2DIM
# GitHub : https://github.com/QIN2DIM
# Description: zero-shot image classification
from __future__ import annotations

import os
import shutil
import sys
Expand Down
1 change: 1 addition & 0 deletions automation/check_yolo_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Author : QIN2DIM
# GitHub : https://github.com/QIN2DIM
# Description:
from __future__ import annotations

import os
import sys
Expand Down
4 changes: 3 additions & 1 deletion automation/continue_labeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Author : QIN2DIM
# GitHub : https://github.com/QIN2DIM
# Description: Continue labeling images using the exported ONNX ResNet model
from __future__ import annotations

import os
import shutil
import sys
Expand Down Expand Up @@ -128,4 +130,4 @@ def run(prompt: str, model_name: str | None = None):


if __name__ == "__main__":
run("pair_of_roller_skates")
run("motorized_machine")
4 changes: 3 additions & 1 deletion automation/datasets_downloader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import asyncio
import time
from collections import Counter
Expand All @@ -10,7 +12,7 @@
from playwright.async_api import BrowserContext as ASyncContext, async_playwright

collected = []
per_times = 50
per_times = 80
tmp_dir = Path(__file__).parent.joinpath("tmp_dir")
sitekey = SiteKey.user_easy

Expand Down
4 changes: 3 additions & 1 deletion automation/mini_workflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# https://github.com/QIN2DIM/hcaptcha-challenger/releases/edit/model
from __future__ import annotations

import os
import shutil
from pathlib import Path
Expand Down Expand Up @@ -90,7 +92,7 @@ def upgrade_objects(aid):
# "hat": "hat2310",
# "vineyard": "vineyard2309",
# "pair_of_roller_skates": "pair_of_roller_skates2310",
"motorized_machine": "motorized_machine2309"
"motorized_machine": "motorized_machine2310"
}
# fmt:on

Expand Down
2 changes: 2 additions & 0 deletions automation/rolling_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Author : QIN2DIM
# GitHub : https://github.com/QIN2DIM
# Description:
from __future__ import annotations

import webbrowser

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions automation/zip_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Author : QIN2DIM
# GitHub : https://github.com/QIN2DIM
# Description:
from __future__ import annotations

import os
import shutil
import webbrowser
Expand Down

0 comments on commit e88ac4d

Please sign in to comment.