mabaorui / OnSurfacePrior

Implementation of CVPR'2022:Reconstructing Surfaces for Sparse Point Clouds with On-Surface Priors
MIT License
190 stars 27 forks source link

mesh bad #6

Open zuixiaosanlang opened 2 years ago

zuixiaosanlang commented 2 years ago

i use my data input, but get a bad mesh, should i change other params in the code ? --data_dir ./data/ --out_dir ./train_net/ --CUDA 0 --INPUT_NUM 71642 --epoch 30000 --input_ply_file laser_71642.ply --train

image

yaping1119 commented 1 year ago

I used abc data set as input, but I also got a bad mesh. Have you solved it, should i change other params in the code. image @zuixiaosanlang @mabaorui

zuixiaosanlang commented 1 year ago

@yaping1119 sorry, i have not solved it. i give up when i get the bad mesh. if you solve it, please let me know, thanks

yaping1119 commented 1 year ago

@zuixiaosanlang I tried shapenet data set and the effect was quite good, but the performance was poor on ABC. I think there should be something wrong with the setting

zuixiaosanlang commented 1 year ago

@yaping1119 Maybe the author will publish something later。

image

Bailey-24 commented 1 year ago

Hi, @mabaorui , I want to use your pretrain model in./pre_train_model/model-10201 , so I change OnSurfacePrior#775 to saver.restore(sess, a.out_dir + 'model-10201').

I ran command python onSurPrior.py --data_dir ./data/ --out_dir ./pre_train_model/ --CUDA 0 --INPUT_NUM 500 --epoch 30000 --input_ply_file input.ply --test. But I got bad mesh, image

I also try other .ply file, but the results are all the same.

And I change some paramater(line#425), but the results are bad.

How could I got the expected results? for every .ply file train a new model?

Bailey-24 commented 1 year ago

@zuixiaosanlang I tried shapenet data set and the effect was quite good, but the performance was poor on ABC. I think there should be something wrong with the setting

Hi, @yaping1119 Could you please share some shapenet file? ( this programe can generate the expected results ) Thanks in advanced.

yaping1119 commented 1 year ago

@Bailey-24 ,The author uses /data/input.ply as an example of shapenet。

Bailey-24 commented 1 year ago

@yaping1119 , But the result show as above picture. ( The .off file is a curved surface)

Bailey-24 commented 1 year ago

@yaping1119 , But the result show as above picture. ( The .off file is a curved surface)

After training a new model, the result is pretty nice. Thanks.

thousanddrowned commented 1 month ago

I use the pretrained model, and my result is just like this, how could i get a better result, please. Snipaste_2024-07-19_09-19-26