Closed koriavinash1 closed 5 years ago
Is this perhaps an issue with your Tensorflow install? The segfault would indicate something lower down than Niftynet is the issue. What versions of Tensorflow and Python are you using? What hardware platform (I see it says XLA)?
Thanks for your reply, current environment settings are: Tensor flow 1.13.1 (did necessary edits in niftynet so it supports this version of tf) Python 3.7.2 Hardware: cpu cluster with 64 GB of RAM
I'm afraid I think this is a technical issue on your setup. Please try to start inference again with Niftynet running on Tensorflow 1.12 and a regular desktop computer. We're working on getting the later versions of TF working and have encountered enough differences for it to be a challenge.
But I'm able to train the model with the same setup, an error occurs only with inference flag
Which is really odd I admit, but I can't imagine what in Niftynet could possibly cause a segmentation fault. Since it's all Python it's an error in the Tensorflow library or something it interacts with below the Python level so doing this test is all I can think of. Trying it with CPU rather than on GPU might work also.
Thanks, I'll check that once and update
Now suddenly it starts to work after reinstalling all the packages
Hi, I trained 3D classification network using highres3dnet as a backbone, but I'm unable to infer (getting segmentation fault)
the command used for inference: python net_classify.py inference -c ./config/QualityControlConfigEval.ini
corresponding config.ini used:
This results in a Segmentation fault, after loading model weights and data, the output looks like: