Skip to content
Snippets Groups Projects
Commit ee999620 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix generate_shared_object if pystencils_autodiff is not installed

parent 08955e31
No related merge requests found
......@@ -154,10 +154,11 @@ try:
const float volume_origin_x, const float volume_origin_y,
const int detector_size, const float detector_spacing, const float detector_origin);
"""), # noqa
}
}
except Exception as e:
import warnings
warnings.warn(str(e))
TorchModule = None
def get_pyronn_cuda_kernels():
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment