golden-panther / glaucoma-detector

Glaucoma detection automation project. Trained a binary image classifier using CNNs and deployed as a streamlit web app. It takes eye (retinal scan) image as input and outputs whether the person is affected by glaucoma or not.
MIT License
20 stars 16 forks source link

is not working #8

Closed johnfelipe closed 3 years ago

johnfelipe commented 3 years ago

SNAG-0714

root@2-ubuntu-s-8vcpu-16gb-nyc1-01:~/glaucoma-detector# streamlit run glaucoma_app.py
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
2021-06-17 03:15:44.775025: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-06-17 03:15:44.775070: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

  You can now view your Streamlit app in your browser.

  Network URL: http://143.244.172.85:8501
  External URL: http://143.244.172.85:8501

2021-06-17 03:15:45.824426: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-06-17 03:15:45.824465: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-06-17 03:15:45.824491: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (2-ubuntu-s-8vcpu-16gb-nyc1-01): /proc/driver/nvidia/version does not exist
2021-06-17 03:15:45.824715: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-06-17 03:15:45.831907: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2494085000 Hz
2021-06-17 03:15:45.832359: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f13e67b3190 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-06-17 03:15:45.832395: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version

how can solve?

golden-panther commented 3 years ago

Mate if above text is showed then app is working. Just go to any browser and type one of the two URLs. And another thing I want to mention is that.......this application does not work with images of eye (taken from normal camera). We need to give a fundus image of the eye (retina).

johnfelipe commented 3 years ago

Can u share images for test?