kitizz / edge3d-paper

Source code for paper "Occlusions are Fleeting: Texture is Forever" by Ham et al.
GNU General Public License v3.0
1 stars 3 forks source link

Segmentation fault error (python3.5) #1

Open rongfeng-china opened 7 years ago

rongfeng-china commented 7 years ago

Building ray voxel grid Making... 1150247 (1150247, 3) Allocating raygrid. Mem: 0.31 Gb Segmentation fault (core dumped)

kitizz commented 7 years ago

Hi! Thanks for taking a look at the project. I think the issue was due to glob.glob not returning a properly sorted list of the image files on Ubuntu. I've committed a fix to this, let me know if you have better luck :)

rongfeng-china commented 7 years ago

Thanks for your reply, and the problem still exists. I debugged and found the error was in RaySoup.py file "raygrid = RayGrid(80,center,size,30000)". This error was originated from RayVoxel.py and the init function of class Grid. I guess some mistakes existed in the init function...

kitizz commented 7 years ago

Damn. Are you using the accompanying datasets, or your own? I'll try to recreate it. Bounds checks should be stopping this kind of thing from happening...

rongfeng-china commented 7 years ago

Yes, using the accompanying datasets.

kitizz commented 7 years ago

Could you uncomment the @jitclass(_spec) line in RayVoxel.py and let me know what happens? Depending on what happens, can you then try to reduce RayGrid.Grid(80...) to RayGrid.Grid(40)?

And could you let me know what OS you're running, and how much RAM your machine has?

kitizz commented 7 years ago

Correction: "Could you comment out the @jitclass(_spec) ..."