Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run prediction on new PDF document #4

Open
Sharathmk99 opened this issue May 30, 2020 · 7 comments
Open

How to run prediction on new PDF document #4

Sharathmk99 opened this issue May 30, 2020 · 7 comments

Comments

@Sharathmk99
Copy link

Hi,

Thank you for your amazing paper and source code.
I was able to successfully run your code.
Based on my understanding, input will be table cell bounding box, table position(row, col) and y will be its row or cell. Is my understanding correct?

If i have new PDF document which contains only Table(Assume i have cropped table from document). How can use GFTE to get rows and col of the table?

Thank you!!

@cccusername
Copy link

@Sharathmk99 hello, I run this code but i meet some trouble as follow:
TypeError: knn_graph() takes from 2 to 6 positional arguments but 7 were given
could you tell me which vision of pytorch and torch_geometric you use, thank you!

@jingmouren
Copy link

jingmouren commented Aug 20, 2020

pyg-team/pytorch_geometric#1521 doesn't solve.
@Sharathmk99. what's your torch_geometric and torch_cluster version?

@BrowningWan
Copy link

@cccusername Just delete the arguments "num_workers" in line 129 from torch_geometric.nn.pool.init.py.

@Sharathmk99
Copy link
Author

@jingmouren Both are latest versions

@harirajeev
Copy link

@Sharathmk99 , where you able to run inference on the code , for a new pdf document ?

@Sharathmk99
Copy link
Author

Sharathmk99 commented Sep 2, 2020

@harirajeev I didn't try again. Because i think we also need one more prediction if two words belongs to same cells.

I started with TIES-2.0 repository, but its based on tensorflow. I'll keep you updated if i was able to solve.

@Sharathmk99
Copy link
Author

In meantime if anyone solves the problem, please update here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants