acil-bwh / ChestImagingPlatform

Chest Imaging Platform (CIP)
Other
55 stars 34 forks source link

Support for M1 mac #51

Open jb08 opened 11 months ago

jb08 commented 11 months ago

The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.

$ python /ChestImagingPlatform/cip_python/dcnn/projects/lung_segmenter/lung_segmenter_dcnn.py --i /tmp/${cid}_resampled.nrrd --t combined  --o /tmp/${cid}_partialLungLabelMap_resampled.nrrd
2023-10-04 18:53:33.551479: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

Maybe related tickets: https://github.com/tensorflow/tensorflow/issues/52845 https://github.com/tensorflow/tensorflow/issues/52972 https://github.com/tensorflow/tensorflow/issues/24548