wentaoyuan / pcn

Code for PCN: Point Completion Network in 3DV'18 (Oral)
https://wentaoyuan.github.io/pcn/
MIT License
408 stars 86 forks source link

Generating lmdb files #44

Open zcoo opened 4 years ago

zcoo commented 4 years ago

I wonder why lmdb_writer.py generates "data.mdb" and "lock.mdb" rather than "train.lmdb,train.lmdb-lock,valid.lmdb,valid.lmdb-lock". How to generate these files?

ZergL1014 commented 4 years ago

@zcoo you should edit your output path like '../train.lmdb' rather than a file path

Jing-lun commented 4 years ago

@zcoo The below is an example to generate your own dataset. Hope it helps!

python lmdb_writer.py --partial_dir='/home/.../pcd_input' --complete_dir='/home/.../pcd_gt' --output_path='/home/.../valid.lmdb' --num_scans=1 --list_path='/home/.../model_list_valid.txt'

xingjinderhuoche commented 1 day ago

@zcoo The below is an example to generate your own dataset. Hope it helps!

python lmdb_writer.py --partial_dir='/home/.../pcd_input' --complete_dir='/home/.../pcd_gt' --output_path='/home/.../valid.lmdb' --num_scans=1 --list_path='/home/.../model_list_valid.txt'

hi,how to prepare the model_list_valid.txt?,and What is the meaning of num scans=1 parameter,thanks