DLIB: train_shape_predictor_ex.exe for 194 landmarks with halen dataset gives runtime error: bad allocation
DLIB: train_shape_predictor_ex.exe for 194 landmarks with halen dataset gives runtime error: bad allocation
我正在尝试使用 halen 数据集
为 194 个地标训练 dlib 的 shape_predictor
但是当我运行它命令提示符
时它给出错误的分配异常
D:\Facial Feature Extraction>train_shape_predictor_ex.exe face_detector
Program is started
exception thrown!
bad allocation
,我将图片数量减少到只有50张,然后运行成功了,但结果并不令人满意。所以我尝试使用 64 GB RAM 系统进行训练,但我增加了参数
trainer.set_nu(0.05);
trainer.set_tree_depth(2);
但现在它仍然显示分配错误。如果我用较少的数据和较小的参数进行训练, 是不正确的。
在发布模式下构建您的应用程序并面向 64 位 Windows 平台。
- 同时在您的项目中启用 \LARGEADDRESSAWARE 标志。
这里是 link 你的问题:
我正在尝试使用 halen 数据集
为 194 个地标训练 dlib 的 shape_predictor但是当我运行它命令提示符
时它给出错误的分配异常D:\Facial Feature Extraction>train_shape_predictor_ex.exe face_detector
Program is started
exception thrown!
bad allocation
,我将图片数量减少到只有50张,然后运行成功了,但结果并不令人满意。所以我尝试使用 64 GB RAM 系统进行训练,但我增加了参数
trainer.set_nu(0.05);
trainer.set_tree_depth(2);
但现在它仍然显示分配错误。如果我用较少的数据和较小的参数进行训练,
在发布模式下构建您的应用程序并面向 64 位 Windows 平台。
- 同时在您的项目中启用 \LARGEADDRESSAWARE 标志。
这里是 link 你的问题: