本文介绍了'boost :: archive :: archive_exception'what():不受支持的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我克隆了这个存储库:

https://github.com/srianant/computer_vision

构建并运行,遇到此错误:

built and ran,got this error:

OpenPose/DLIB Gesture, Action and Face Recognition.
resolution: 640x480
net_resolution: 656x368
handNetInputSize: 368x368
face_net_resolution: 368x368
cCamera Resolution set to: 640x480
Push following keys:
p for pause sample generation
f for generating face samples
t for train samples
c for continue camera feed
h for display key commands
q for quit program
terminate called after throwing an instance of 'boost::archive::archive_exception'
  what():  unsupported version

此文件抛出此异常:line:32

And this exception thrown from this file:line:32

https://github.com/srianant/computer_vision/blob/master/openpose/src/openpose/user_code/pose_model.cpp

我认为它正在尝试反序列化此文件:

I think it is trying to deserialized this file:

https://github.com/srianant/computer_vision/blob/master/openpose/train_data/pose/pose.model

推荐答案

在所有txt文件中将:: archive 14替换为:: archive 12之后,此问题消失了,@@非常感谢

After replacing ::archive 14 with ::archive 12 in all txt files,this problem gone,@sehe thanks very much

这篇关于'boost :: archive :: archive_exception'what():不受支持的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 09:43