Skip to content
grasseau edited this page Dec 20, 2019 · 2 revisions

Kernel compilation

cd cuda_functions/nms_2D/src/cuda/ nvcc -c -o nms_kernel.cu.o nms_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_70 cd ../.. python build.py cd ../.. cd cuda_functions/roi_align_2D/roi_align/src/cuda/ nvcc -c -o crop_and_resize_kernel.cu.o crop_and_resize_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_70 cd ../.. python build.py

The same with 3D kernels cd cuda_functions/nms_3D/src/cuda/ ...

Install Batchgenerators cd ../batchgenerators python3 -m pip install -e .

Clone this wiki locally