Remove the serialization experiments with YAS
This commit is contained in:
@@ -180,13 +180,13 @@ void DescriptorManager::SaveFeatures() {
|
|||||||
ar::binary_oarchive oam(fm);
|
ar::binary_oarchive oam(fm);
|
||||||
oam << mutatedFeatures;
|
oam << mutatedFeatures;
|
||||||
}
|
}
|
||||||
{ //YAS serialization
|
/*{ //YAS serialization
|
||||||
yas::file_ostream os("features.yas", yas::file_mode::file_trunc);
|
yas::file_ostream os("features.yas", yas::file_mode::file_trunc);
|
||||||
//const std::size_t flg = yas::binary|yas::file;
|
//const std::size_t flg = yas::binary|yas::file;
|
||||||
yas::binary_oarchive<yas::file_ostream, yas::file|yas::binary> oa(os);
|
yas::binary_oarchive<yas::file_ostream, yas::file|yas::binary> oa(os);
|
||||||
oa & features;
|
oa & features;
|
||||||
//yas::save<yas::file|yas::binary>(image_name, features);
|
//yas::save<yas::file|yas::binary>(image_name, features);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
//Loads saved feature maps from disk.
|
//Loads saved feature maps from disk.
|
||||||
|
|||||||
+2
-2
@@ -16,8 +16,8 @@
|
|||||||
#include <boost/serialization/string.hpp>
|
#include <boost/serialization/string.hpp>
|
||||||
|
|
||||||
//YAS Serialization:
|
//YAS Serialization:
|
||||||
#include <yas/serialize.hpp>
|
//#include <yas/serialize.hpp>
|
||||||
#include <yas/std_types.hpp>
|
//#include <yas/std_types.hpp>
|
||||||
|
|
||||||
#include <chrono> //Debug, for measuring execution times
|
#include <chrono> //Debug, for measuring execution times
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user