Re: [Dclib-devel] dnn_metric_learning_on_images_ex - can't load trained model
Brought to you by:
davisking
From: Ben G. <ben...@gm...> - 2018-05-22 17:30:34
|
Hi thanks for the reply. Should I init/allocate memory for the net variable before I'm deserializing the trained network file? Because I see memory problems such as destination buffer is NULL or allocation problems. BTW, If I trained model using this code example dnn_metric_learning_on_images_ex.cpp I should load it on anet_type or net_type? Regards, Ben 2018-05-22 2:47 GMT+03:00 Davis King <dav...@gm...>: > Deserializing an object should never cause the program to crash. You > probably just have a bug in your code unrelated to dlib. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Dclib-devel mailing list > Dcl...@li... > https://lists.sourceforge.net/lists/listinfo/dclib-devel > > |