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

Unable to run the main_evaluate_json file #10

Open
PriyalNarang opened this issue May 29, 2020 · 5 comments
Open

Unable to run the main_evaluate_json file #10

PriyalNarang opened this issue May 29, 2020 · 5 comments

Comments

@PriyalNarang
Copy link

I am unable to evaluate the model with main_evaluate_json file.
I keep getting the following error whenever I run the file.
PS: Have given the correct arguments for checkpoint path and file, but I unsure of how to modify the save-prefix argument.
image

@muralimariyappan
Copy link

Assuming you are using e_ckpt_path=../graph/CUTIE/graph change the --save_prefix parameter to ICDAR_json/meals. So your command should look like "python main_evaluate_json.py --save-prefix=ICDAR_json/meals."

Alternatively create the directory as mentioned in your error log and place the checkpoint file there.

@muralimariyappan
Copy link

muralimariyappan commented Jul 29, 2020

In order to get the checkpoint file, you have to generate input files in the mentioned format from any dataset, I used ICDAR 2019 SROIE dataset which was configured with this code. Then you have to train using the main_train_json.py file. After a week or so you will get the checkpoint file which will be good enough for prediction.

@varalakshmi5626
Copy link

In order to get the checkpoint file, you have to generate input files in the mentioned format from any dataset, I used ICDAR 2019 SROIE dataset which was configured with this code. Then you have to train using the main_train_json.py file. After a week or so you will get the checkpoint file which will be good enough for prediction.

Hi,
I have generate the input files using SROIE data set , but i didn't get checkpoint file ,I have given my own path to ckpt_path.

Thank you in advance!

@gibotsgithub
Copy link

@muralimariyappan i have created the json files in the required format. i have 400 invoices data. the main_train_json.py gets killed because it utilises all the RAM. did u face this issue? I have 16 gb of ram.

@SergheiDinu
Copy link

Basically it depends what u also git on this issue... If you got that you need to reshape that, maybe u just have to change that embedding_size at line 41 main_evaluate_json.py also.. are u sure u have right model to evaluate?

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