Prompt during lmdb generation: Check failed: mkdir( source.c_str() , 0744 ) == 0 ( -1 vs. 0 ) mkdir /home/dell/multipl

In the process of generating lmdb, it is prompted: Check failed: mkdir( source.c_str() , 0744 ) == 0 ( -1 vs. 0 ) mkdir /home/dell/multiple_caffe/sgg_projects/codes/train_label_lmdb failed






From the above prompt error, it is obvious that there is an error in train_label_lmdb. So start looking for a breakout point from here. The problem finally found: In the process of generating lmdb, the original lmdb file needs to be deleted first, otherwise this error will occur. Add before generating:

[python]  view plain copy  
  1. rm -rf $EXAMPLE/train_label_lmdb  



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325606498&siteId=291194637