loading a large trained classifier into the work space

I have trained a linear classifier on a large amount of data using tall arrays, training process takes very long time, about 6 days. i saved the trained classifier using -7.3V file format so that i can use it later as following:
save('gabor_feature_mdl_linear.mat', 'gabor_feature_mdl_linearl', '-v7.3')
the size of the trained classifier is more than 10GB. when i tried to load it to the work space it gives the following error:
"Unable to read file 'F:\gabor_feature_mdl_linear.mat'. Variable name length must be less than or equal to MATLAB maximum name length of 63 characters."
i tried to change the classifier name using a shoter name length, but the error still appears.
i donot want to train the classifer again. any help piease.

回答 (1 件)

Rahul
Rahul 2025 年 3 月 17 日

0 投票

In order to diagnose this issue, consider following the given steps:
  • Ensure that your 'mat' file is not corrupted. Try opening it using a different machine or MATLAB version if possible.
  • Secondly, try using 'matfile' function that lets you access and change variables in MAT-file without loading file into memory.
  • Consider the following MATLAB Answers as well:
The following MathWorks documentations can be referred:
Thanks.

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品

リリース

R2020b

質問済み:

2020 年 10 月 15 日

回答済み:

2025 年 3 月 17 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by