Open PriyalNarang opened 4 years ago
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.
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.
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!
@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.
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?
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.