Open yxw9636 opened 5 years ago
Hi @yxw9636, have you seen this issue and its solution?
Hi @yxw9636, have you seen this issue and its solution?
Yes I saw it but I didn't know if it's the same issue. Please advice...
If you have not updated Pangolin it is likely the same issue. Updating and running the preprocessing script again should fill in the missing shapes.
Sounds good, I will try updating the Pangolin and let you know how it works. Thanks!
Hi @tschmidt23, I re-build Pangolin on top of the latest commit, which is 57ee5fc7398a35c2a1574ea51000279665fcbc67
, and re-built the preprocess_data.py
executables, however, the problem still persists. Do you have any ideas what might be the reason?
Or if you can release pre-processed data, that will be really appreciated as well.
Thanks so much for your help! :)
Hi @tschmidt23, I have met similar problems. I used the latest commit of Pangolin but the executable file PreprocessMesh works on very few .obj files. For most files there raises a segmentation fault at line 420 of the src/PreprocessMesh.cpp.
It would be great if you could release the pre-processed data. Also, do you have any plan to release the pretrained model for each class?
Thanks a lot!
After updating Pangolin, I still can't solve the problem of outputting only part of npz files. For the OBJ model of the 3281 chairs to be processed, the final output only includes 176 npz files. I would be grateful if you could release the complete dataset that you successfully preprocessed!
Hi @B1ueber2y, that line is a fairly high-level function call which could be failing internally at many different points. Would it be possible for you to compile Pangolin in debug mode and let me know where (in Pangolin) the segfault is being triggered?
Unfortunately, we are not able to release the pre-processed data.
Hi @tschmidt23 The segfault is triggered because of the buffer. I have already resolved it and it might be due to some issues related to X11 Forwarding. Thank you so much for your help!
@B1ueber2y -- Pangolin does not support X11 forwarding, so that definitely could have been the issue.
@tschmidt23 , hi , I've tried the tips above. I compile the latest Pangolin but have some problems in this and other issues.
I'd be appreciated if you could provide some help, thank you.
@csyhping Have you solved these problems? I also get the empty output dir of .npz files for all kinds of shape classes.
Am also having this error -- when I run preprocess_data.py, the process seems successful but there are no .npz files in the output folder in SdfSamples/ . I'm trying to run this locally. any idea why this is happening?
When I run the data per-processing code,
$ python preprocess_data.py --data_dir data --source [...]/ShapeNetCore.v2/ --name ShapeNetV2 --split examples/splits/sv2_sofas_train.json --skip
It generates following log:
It seems that the data are generated and written to
data/SdfSamples/ShapeNetV2/04256520/<model_name>.npz
However, when I run the training code:
$ python train_deep_sdf.py -e examples/sofas
It complains that no data found:
When I check the source folder, the model file is there:
$ ls ~/<...>/ShapeNetCore.v2/02691156/ff12c3a1d388b03044eedf822e07b7e4/models/
However, when I checked the output folder, I do found that it's empty:
$ ls data/SdfSamples/ShapeNetV2/04256520
total 0
Does anyone know what's the cause for this?
Thanks for your help!