Giter VIP home page Giter VIP logo

chartreader's People

Contributors

phoeniiix1203 avatar zhiqic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chartreader's Issues

test-set predictions for research paper

Hey @zhiqic 😀 - I was wondering if you could share a .json file of bounding box test predictions for the public EC400K test set (e.g. in the COCO format: [x,y,width,height]). This way you don't have to share the trained model weights but we would still be able to run our metrics and have your best model as a baseline in our research paper. This would be super helpful and we'd be happy to acknowledge your contribution!

Best, Till

file’s link is unuseful

the trained baseline files' link is unuseful [https://drive.google.com/file/d/1qtCLlzKm8mx7kQOV1criUbqcGnNh58Rr/view?usp=sharing]

model weights

Hello,

Could you share with me the model .pkl file? I would like to evaluate it for my research thesis.

Thanks in advance,
Navina

code?

Hi. has the repo been moved? Will it be re-posted?

Category Index error?

I passed the training data set, it raises index error. The categories_id in dataset and code are not matched. Can you please specify clearer the id numbers? I got index errors and try to fix it according to the training dataset, which doesn't work and made things way more complicated.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 6 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 5 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 6 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 4 is out of bounds for axis 1 with size 3
0%| | 4/50000 [00:00<27:28, 30.34it/s]Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 6 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 5 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 4 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 5 is out of bounds for axis 1 with size 3
0%| | 8/50000 [00:00<26:41, 31.21it/s]Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 4 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 6 is out of bounds for axis 1 with size 3
Shuffling...
Data extraction error occurred.
Traceback (most recent call last):
File "/home/ubuntu/ChartReader/train_extraction.py", line 127, in train
training, ind = sample_data(training_db, ind)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/ChartReader/sampling_function.py", line 528, in sample_data
center_heatmaps[b_ind, category, yce, xce] = 1
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 4 is out of bounds for axis 1 with size 3
Too many extraction errors. Terminating...
0%|

The training dataset is correct?

image

I have a question about the KPDetection and the KPGrouping. Do they use the same dataset to train? Why is the argument data_dir different? The training dataset is only one. But there are a lot of errors erupt coming out while I am training the KPGrouping. More then that, the result of the KPDetection is not well.

0ad60cfd61cfc4022fd992f2bd3b57a
The top picture is the KPDetection result using the default config from json file KPDetection.json which is in the config directory.

tarin-bar only

我进行了训练detection的部分,在bar chart上得到了很好的结果,但在line chart和bar chart上得到的结果很差,并注意到train部分的代码是“bar only”,请问我讲如何更改得以训练识别line chart和pie chart呢

Where is the pretrained model?

Where is the pretrained model? Is there have some code tell me how to use model to inference on some dataset? Or is there have a huggingFace line to use your model?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.