You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** loop 201 ***
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 140) > this->size() (which is 0)
已放弃 (核心已转储)
The text was updated successfully, but these errors were encountered:
发现问题了,是索引超出范围了,给的数据不知道为什么少了一张照片,少了scene_107.png 所以是200张照片,但是对应的其他文件信息却是201个,所以运行到最后就会超出索引报错┭┮﹏┭┮
主函数的for循环改成下面就能跑通了:
for ( int index=1; index<color_image_files.size()-1; index++ )
*** loop 201 ***
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 140) > this->size() (which is 0)
已放弃 (核心已转储)
The text was updated successfully, but these errors were encountered: