tobegit3hub/tensorflow_template_application

Run with an error "double free or corruption"

nmaac opened this issue · 3 comments

nmaac commented

I ran the sparse_classifier.py program and got this error in the export_model() function.

INFO:tensorflow:./sparse_model/00000001-tmp/export is not in all_model_checkpoint_pat
hs. Manually adding it.
*** Error in `python': double free or corruption (!prev): 0x0000000000825660 ***

I want to test the AUC of the entire validation set, setting the validation_batch as the size of validation set is too slow. So I want to export the model and predict AUC on the entire validation set, and I got this problem.

Is there any suggestion?

Hi @Manene .

Of course you can export the model and predict the AUC for all the validation set.

I don't have the corruption problem and successfully export the model with the latest code. What's the version of TensorFlow are you using?

nmaac commented

Hi @tobegit3hub
I use TensorFlow 1.0 and Python 2.7

I don't need this problem in server environments.

Have you fixed this? @Manene