You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/ABCNet/README.md
+46-9Lines changed: 46 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,30 @@ This is an implementation of [ABCNet](https://github.com/aim-uofa/AdelaiDet) bas
19
19
20
20
<!-- For a typical model, this section should contain the commands for training and testing. You are also suggested to dump your environment specification to env.yml by `conda env export > env.yml`. -->
21
21
22
-
This ABCNet implementation works for inference only. Its full implementation will be available soon.
22
+
### Prerequisites
23
23
24
-
### Testing commands
24
+
- Python 3.7
25
+
- PyTorch 1.6 or higher
26
+
-[MIM](https://github.com/open-mmlab/mim)
27
+
-[MMOCR](https://github.com/open-mmlab/mmocr)
28
+
29
+
All the commands below rely on the correct configuration of `PYTHONPATH`, which should point to the project's directory so that Python can locate the module files. In `ABCNet/` root directory, run the following line to add the current directory to `PYTHONPATH`:
30
+
31
+
```shell
32
+
# Linux
33
+
export PYTHONPATH=`pwd`:$PYTHONPATH
34
+
# Windows PowerShell
35
+
$env:PYTHONPATH=Get-Location
36
+
```
37
+
38
+
if the data is not in `ABCNet/`, you can link the data into `ABCNet/`:
39
+
40
+
```shell
41
+
# Linux
42
+
ln -s ${DataPath}$PYTHONPATH
43
+
# Windows PowerShell
44
+
New-Item -ItemType SymbolicLink -Path $env:PYTHONPATH -Name data -Target ${DataPath}
45
+
```
25
46
26
47
As of now, `BezierAlign` is not yet supported by MMCV, and we will use third-party MMCV with the implementation of `BezierAlign`. You will need to install it from the source code as follows:
@@ -89,9 +126,9 @@ A project does not necessarily have to be finished in a single PR, but it's esse
89
126
90
127
<!-- As this template does. -->
91
128
92
-
-[] Milestone 2: Indicates a successful model implementation.
129
+
-[x] Milestone 2: Indicates a successful model implementation.
93
130
94
-
-[] Training-time correctness
131
+
-[x] Training-time correctness
95
132
96
133
<!-- If you are reproducing the result from a paper, checking this item means that you should have trained your model from scratch based on the original paper's specification and verified that the final result matches the report within a minor error range. -->
0 commit comments