Adversarial-point-perturbations-on-3D-objects icon indicating copy to clipboard operation
Adversarial-point-perturbations-on-3D-objects copied to clipboard

Fail to construct PerturbProjTree

Open machengcheng2016 opened this issue 4 years ago • 3 comments

Hi, Every time I try to construct PerturbProjTree, it turns out image I am using TensorFlow 1.14 and Python 2.7 as you suggested. How does this error happen?

machengcheng2016 avatar Sep 17 '19 11:09 machengcheng2016

Hey, thank you for reporting this issue. I have not experienced this issue, so I did a quick google search and found this. The OMP: lines are normal output, so perhaps the segment fault is due to you running out of memory? My experiments were conducted on a 12GB Titan X.

If that is not the case, then it could be Numba, which is used to JIT compile the PerturbProjTree code. Try an example from here to test if Numba is installed correctly.

Daniel-Liu-c0deb0t avatar Oct 04 '19 00:10 Daniel-Liu-c0deb0t

Thanks for your reply! Following the link you sent, I've confirmed that Numba is installed correctly. Besides, my GPU is a 12 GB Titan V, and my CPU has 125 GB memory. I think the class PerturbProjTree is only executed on CPU. Do I need to compile or install something? image

image

machengcheng2016 avatar Oct 04 '19 14:10 machengcheng2016

PerturbProjTree should be automatically JIT compiled with Numba.

Do you have any other error messages? The issue could be anything if there is only a seg fault.

Another thing to check is whether the Python stack is running out of memory because PerturbProjTree is recursive. Try ulimit -s in the command line (from here).

Daniel-Liu-c0deb0t avatar Oct 04 '19 19:10 Daniel-Liu-c0deb0t