I use cv::FileStroage to save my model data in yaml format.
Normally I can use cv::filestorge to read and write my data.
However, when the data in the file occupies more than 2GB of memory and the memory used to read the data is about 2GB, an exception will be thrown, causing me to fail to read the yaml file that is too large.
The error messag
e is OperCV(4.7.0-dev)Error : Assertion failed (ofs == fs_data_bl1ksz[blockldx]) in cv::FileStorage: Impl::normalizeNodeOfs,file D:\software\Environment\64bit\opencv\sources\modules\core\src\persistence. cpp,line 1587
I want to ask how can i fix this problem.
Thanks for your watching and helping!I really appreciate it!