In vs2019 debug mode,after CnnInYourOwnData call Train() and running finished,it can generated all ckpt files
but then call Test() function : (loss_test, accuracy_test) = sess.run((loss, accuracy), (x, x_test), (y, y_test)); will auto interrupted without any information after some time;
if deleted next two lines
Test();
TestDataOutput();
will generate pb file, but the pb file is more less ckpt files,ckpt file more than 786M, and pb file is only 262M,using netron open pb and ckpt it show very defferent
In vs2019 debug mode,after CnnInYourOwnData call Train() and running finished,it can generated all ckpt files but then call Test() function : (loss_test, accuracy_test) = sess.run((loss, accuracy), (x, x_test), (y, y_test)); will auto interrupted without any information after some time;
if deleted next two lines Test(); TestDataOutput();
and direct call function FreezeModel();
will generate pb file, but the pb file is more less ckpt files,ckpt file more than 786M, and pb file is only 262M,using netron open pb and ckpt it show very defferent
thanks