TextBoxes icon indicating copy to clipboard operation
TextBoxes copied to clipboard

error run create_data.sh , only generate the Soft connection,the size is 57 bytes , but did not genereate the actual lmdb

Open 19931991 opened this issue 7 years ago • 12 comments

error run create_data.sh , only generate the Soft connection,the size is 57 bytes , but did not genereate the actual lmdb .

this is the result of running the create_data.sh : image and my data is : image the crate_data.sh is : image

please tell me how to solve the problem ! It troubled me so long ! Thank you very much !

19931991 avatar Jan 08 '18 08:01 19931991

@MhLiao

19931991 avatar Jan 08 '18 08:01 19931991

I suggest you check your trainval.txt and test.txt

MhLiao avatar Jan 09 '18 16:01 MhLiao

Thanks for your reply , I try to generate the trainval.txt and test.txt following the online tutoria . l think my trainval.txt and test.txt are right .And this is my trainval.txt : image

image

image

image

Looking forward to your reply! @MhLiao

19931991 avatar Jan 10 '18 01:01 19931991

It seems that there is no error in your scripts. How about the source of the soft connection? The true data should be in "$data_root_dir/$dataset_name/$db/"

MhLiao avatar Jan 10 '18 03:01 MhLiao

Thanks for your reply , my lmdb is image

and my soft connetection is image

I do not know how to debug , please help me ! @MhLiao

19931991 avatar Jan 10 '18 03:01 19931991

@19931991 I can not find the mistakes. Can you create Pascal VOC data successfully?

MhLiao avatar Jan 12 '18 06:01 MhLiao

Yes, I create Pascal VOC data successfully , besides, I download the voc2007 and voc2012 , and when I run create_data.sh to create lmdb data , it still did not succeed , the result is the same as my description - only empty soft connection. Can you tell me What environment is needed in create the lmdb ? Besides , I try to use other's lmdb (Target detection rather than text recognition) to train the network . the network runs up normally. In other words, if my data of lmdb is maked successfully , my work is done . So there is some wrong with my environment and cause this result ? Thank you very much !

19931991 avatar Jan 12 '18 07:01 19931991

@MhLiao

19931991 avatar Jan 12 '18 07:01 19931991

Can I create lmdb in other computer , and copy to my computer to use it ? @MhLiao

19931991 avatar Jan 12 '18 07:01 19931991

Yes, you can.

MhLiao avatar Jan 13 '18 03:01 MhLiao

I have recently encountered the same problem. Have you solved it? If you solve this problem, can you share the method? Thank you

qiuxiaqing avatar May 03 '18 11:05 qiuxiaqing

You may see https://github.com/BVLC/caffe/issues/6159#issuecomment-709894376

tecsai avatar Oct 16 '20 08:10 tecsai