Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
textmonkey_pytorch
Commits
76676402
Unverified
Commit
76676402
authored
Dec 26, 2023
by
lz
Committed by
GitHub
Dec 26, 2023
Browse files
Update readme.md
parent
b1e6136c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
data_generation/readme.md
data_generation/readme.md
+3
-3
No files found.
data_generation/readme.md
View file @
76676402
...
...
@@ -26,11 +26,11 @@ Generation Steps:
6. Compute the similarity score.
```
python image_text_matching.py --ann_path ./outputs/grit.json --output_path ./outputs/grit_score.json
```
7.
Call
ppocr to detect text in an image.
7.
Use
ppocr to detect text in an image.
```
python ocr_ppocr.py
```
8. Integrate the generated annotations into ann_all.json.
```
python add_all_json.py
```
9. Call the ChatGPTAPI to generate the final detailed description and save it in ./outputs/ann_all.json.
```
python chatgpt.py
```
\ No newline at end of file
9. Use ChatGPT API to generate the final detailed description and save it in ./outputs/ann_all.json.
```
python chatgpt.py
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment