Canjie-Luo/MORAN_v2

Regarding path of lmdb dataset

Closed this issue · 2 comments

I have my own dataset and I have converted it into lmdb format(which gave me two files data.mdb and lock.mdb). Now when I am runninf the main.py file, I dont get it which path should I give to train_nips, train_cvpr and valroot. And when I am passing my data.mdb file path to the train_nips and train_cvpr file I am getting the below error:
lmdb.Error: W:......\output\data.mdb: The system cannot find the path specified.

I have ":" in my labels column so how should I add that to the default value of the --alphabet arguement

parser.add_argument('--alphabet', type=str, default='0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q:R:S:T:U:V:W:X:Y:Z:$:-:/:,:.:#:*:":(:):<:>:;::|:[:]:}:{:_:+:=:%:@:$:%:^:&:!:?')
I have added all the characters to the alphabet on main.py file and dataset.py file too
But in my labels column I have ":"(colon) and " 's "(apostrophe) used in some of the labels so how should I add that to the default value?