Skip to content

Commit 14ec091

Browse files
authored
rename ckpt and hug link
* rename ckpt and hug link
1 parent 13f29fd commit 14ec091

File tree

7 files changed

+53
-50
lines changed

7 files changed

+53
-50
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ pip install struct-eqtable==0.3.0
5252

5353
## Model Zoo
5454

55-
| Model | Model Size | Training Data | Data Augmentation | LMDepoly | TensorRT | HuggingFace |
55+
| Base Model | Model Size | Training Data | Data Augmentation | LMDepoly | TensorRT | HuggingFace |
5656
|---------------------|------------|------------------|-------------------|----------|----------|-------------------|
57-
| StructEqTable-InternVL | ~1B | DocGenome and Synthetic Data ||| | [v0.3](https://huggingface.co/U4R/StructTable-InternVL-1B/tree/main) |
58-
| StructEqTable-base | ~300M | DocGenome || || [v0.2](https://huggingface.co/U4R/StructTable-base/tree/v0.2) |
59-
| StructEqTable-base | ~300M | DocGenome | | || [v0.1](https://huggingface.co/U4R/StructTable-base/tree/v0.1) |
57+
| InternVL2-1B | ~1B | DocGenome and Synthetic Data ||| | [StructTable v0.3](https://huggingface.co/U4R/StructTable-InternVL-1B/tree/main) |
58+
| Pix2Struct-base | ~300M | DocGenome || || [StructTable v0.2](https://huggingface.co/U4R/StructTable-base/tree/v0.2) |
59+
| Pix2Struct-base | ~300M | DocGenome | | || [StructTable v0.1](https://huggingface.co/U4R/StructTable-base/tree/v0.1) |
6060

6161

6262

@@ -67,7 +67,7 @@ cd tools/demo
6767

6868
python demo.py \
6969
--image_path ./demo.png \
70-
--ckpt_path U4R/StructTable-InternVL-1B \
70+
--ckpt_path U4R/StructTable-InternVL2-1B \
7171
--output_format latex
7272
```
7373

@@ -76,7 +76,7 @@ python demo.py \
7676
```shell script
7777
python demo.py \
7878
--image_path ./demo.png \
79-
--ckpt_path U4R/StructTable-InternVL-1B \
79+
--ckpt_path U4R/StructTable-InternVL2-1B \
8080
--output_format html markdown
8181
```
8282

@@ -92,18 +92,16 @@ cd tools/demo
9292

9393
python demo.py \
9494
--image_path ./demo.png \
95-
--ckpt_path U4R/StructTable-InternVL-1B \
95+
--ckpt_path U4R/StructTable-InternVL2-1B \
9696
--output_format latex \
9797
--lmdeploy
9898
```
9999

100100

101-
- Visualization Results
102-
- The input data are sampled from SciHub domain.
101+
- Visualization Result
103102

104-
![](docs/demo_1.png)
105-
106-
![](docs/demo_2.png)
103+
You can copy the output LaTeX code into [demo.tex](../tools/demo/demo.tex), then use [Overleaf](https://www.overleaf.com/project) for table visualization.
104+
![](docs/imgs/output.png)
107105

108106

109107
## Acknowledgements

docs/TENSORRT_GETTING_STARTED.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,4 @@ Rotational damping constant, $c_\theta$ & (N-m)/(rad/s) = N-m-s & (lb-ft)/(rad/s
140140
### 3. Table Visualization
141141
You can copy the output LaTeX code into [demo.tex](../tools/demo/demo.tex), then use [Overleaf](https://www.overleaf.com/project) or Visual Studio Code LaTeX Workshop Extension for table visualization.
142142

143-
![](./demo_3.png)
143+
![](./imgs/demo.png)

docs/demo_1.png

-1.44 MB
Binary file not shown.

docs/demo_2.png

-824 KB
Binary file not shown.

docs/demo_3.png

-46.4 KB
Binary file not shown.

docs/imgs/output.png

102 KB
Loading

tools/demo/demo.tex

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,50 @@
1-
\documentclass{article}
2-
\usepackage[table]{xcolor}
1+
2+
\documentclass[border=20pt]{standalone}
3+
\usepackage{blindtext}%
4+
\usepackage{subcaption}
5+
\usepackage{url}
36
\usepackage{graphicx}
7+
\usepackage{caption}
8+
\usepackage{multirow}
49
\usepackage{booktabs}
5-
\usepackage{multirow}
6-
\usepackage[accsupp]{axessibility}
7-
\usepackage{CJKutf8}
8-
\usepackage{orcidlink}
10+
\usepackage{color}
11+
\usepackage{colortbl}
12+
\usepackage{xcolor,soul,framed}
13+
\usepackage{xeCJK}
14+
%\usepackage{fontspec}
15+
%\usepackage[margin=1in]{geometry}
16+
\usepackage{printlen}
17+
\usepackage{amsmath,amssymb,mathtools,bm,mathrsfs,textcomp}
18+
\setlength{\parindent}{0pt}
919

1020
\begin{document}
11-
\begin{CJK}{UTF8}{gbsn}
12-
13-
% Put your latex code here.
1421

1522
\begin{tabular}{|c|c|c|c|}
16-
\hline
17-
Quantity $\backslash$ Unit System & International System SI (kg-m-s) & Traditional aeronautical (lb-ft-s) & Traditional structural (lb-inch-s) \\
18-
\hline
19-
Mass (translational inertia), $m$ & kilogram mass (kg) & slug = lb-s$^2$/f & lb-s$^2$/inch \\
20-
\hline
21-
Length, translational motion & meter (m) & foot (ft) & inch (in.) \\
22-
\hline
23-
Time, $t$ & second (s) & second (s) & second (s) \\
24-
\hline
25-
Force, translational action & newton (N) = kg-m/s$^2$ & pound force (lb) & pound force (lb) \\
26-
\hline
27-
Translational stiffness constant, $k$ & N/m & lb/ft & lb/inch \\
28-
\hline
29-
Translational damping constant, $c$ & N/(m/s) = N-s/m & lb/(ft/s) = lb-s/ft & lb/(inch/s) = lb-s/inch \\
30-
\hline
31-
Angle, rotational motion & radial (rad), which is dimensionless & radial (rad), which is dimensionless & radial (rad), which is dimensionless \\
32-
\hline
33-
Rotational inertia, $J$ & kg-m$^2$ & slug-ft$^2$ = lb-s$^2$ - ft & lb-s$^2$ - inch \\
34-
\hline
35-
Moment or torque, rotational action & N-m & lb-ft & lb-inch \\
36-
\hline
37-
Rotational stiffness constant, $k_\theta$ & (N-m)/rad = N-m & (lb-ft)/rad = lb-ft & (lb-inch)/rad = lb-inch \\
38-
\hline
39-
Rotational damping constant, $c_\theta$ & (N-m)/(rad/s) = N-m-s & (lb-ft)/(rad/s) = lb-ft-s & (lb-inch)/(rad/s) = lb-inch-s \\
40-
\hline
23+
\hline
24+
Quantity $\backslash$ Unit System & International System SI (kg-m-s) & Traditional aeronautical (lb-ft-s) & Traditional structural (lb-inch-s) \\
25+
\hline
26+
Mass (translational inertia), $m$ & kilogram mass (kg) & slug = lb-s$^2$/f & lb-s$^2$/inch \\
27+
\hline
28+
Length, translational motion & meter (m) & foot (ft) & inch (in.) \\
29+
\hline
30+
Time, $t$ & second (s) & second (s) & second (s) \\
31+
\hline
32+
Force, translational action & newton (N) = kg-m/s$^2$ & pound force (lb) & pound force (lb) \\
33+
\hline
34+
Translational stiffness constant, $k$ & N/m & lb/ft & lb/inch \\
35+
\hline
36+
Translational damping constant, $c$ & N/(m/s) = N-s/m & lb/(ft/s) = lb-s/ft & lb/(inch/s) = lb-s/inch \\
37+
\hline
38+
Angle, rotational motion & radial (rad), which is dimensionless & radial (rad), which is dimensionless & radial (rad), which is dimensionless \\
39+
\hline
40+
Rotational inertia, $J$ & kg-m$^2$ & slug-ft$^2$ = lb-s$^2$ - ft & lb-s$^2$ - inch \\
41+
\hline
42+
Moment or torque, rotational action & N-m & lb-ft & lb-inch \\
43+
\hline
44+
Rotational stiffness constant, $k_\theta$ & (N-m)/rad = N-m & (lb-ft)/rad = lb-ft & (lb-inch)/rad = lb-inch \\
45+
\hline
46+
Rotational damping constant, $c_\theta$ & (N-m)/(rad/s) = N-m-s & (lb-ft)/(rad/s) = lb-ft-s & (lb-inch)/(rad/s) = lb-inch-s \\
47+
\hline
4148
\end{tabular}
4249

43-
\end{CJK}
44-
\end{document}
45-
50+
\end{document}

0 commit comments

Comments
 (0)