Skip to content

Commit 7018ff9

Browse files
committed
chore: update readme
1 parent 4d5d6f3 commit 7018ff9

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The captcha picture used in the demo above comes from [RotateCaptchaBreak](https
2525

2626
### Prepare
2727

28-
+ CUDA device with mem>=16G for training
28+
+ CUDA device with mem>=16G for training (reduce the batch size if necessary)
2929

3030
+ Python>=3.9,<3.13
3131

@@ -54,7 +54,7 @@ Or, if you prefer `conda`: The following steps will create a virtual env under t
5454
conda create -p .conda
5555
conda activate ./.conda
5656
conda install matplotlib tqdm tomli
57-
conda install pytorch torchvision pytorch-cuda=12.4 -c pytorch -c nvidia -c conda-forge
57+
conda install pytorch torchvision pytorch-cuda=12.4 -c pytorch -c nvidia
5858
```
5959

6060
Or, if you prefer a direct `pip`:

README_zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ uv pip install .
5454
conda create -p .conda
5555
conda activate ./.conda
5656
conda install matplotlib tqdm tomli
57-
conda install pytorch torchvision pytorch-cuda=12.4 -c pytorch -c nvidia -c conda-forge
57+
conda install pytorch torchvision pytorch-cuda=12.4 -c pytorch -c nvidia
5858
```
5959

6060
或者,如果你喜欢直接使用`pip`

rotate_captcha_crack/dataset/midware/__init__.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
from .imgproc import (
2-
from_captcha,
3-
from_img,
4-
rotate_by_factor,
5-
rotate_square,
6-
square_resize,
7-
strip_border,
8-
to_square,
9-
)
1+
from .imgproc import from_captcha, from_img, rotate_by_factor, rotate_square, square_resize, strip_border, to_square
102
from .labels import CircularSmoothLabel, OnehotLabel, ScalarLabel
113
from .normalizer import DEFAULT_NORM, NormWrapper
124
from .rotator import Rotator

0 commit comments

Comments
 (0)