2021-12-07 11:16:32.167 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
2021-12-07 11:16:32.365736: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/appuser/venv/lib/python3.7/site-packages/cv2/../../lib64:
2021-12-07 11:16:32.365819: 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.
2021-12-07 11:16:34.718615: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/appuser/venv/lib/python3.7/site-packages/cv2/../../lib64:
2021-12-07 11:16:34.718691: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
2021-12-07 11:16:34.718718: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (localhost): /proc/driver/nvidia/version does not exist
2021-12-07 11:16:34.718996: I tensorflow/core/platform/cpu_feature_guard.cc:151] 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.
I want to install these dependancies
import cv2
import numpy as np
import streamlit as st
import tensorflow as tf
from run import tiff_call
from skimage import io as io_
from tensorflow.keras import backend as K
there is some problem regarding opencv
, I tried the solution to use the alternative opencv-python-headless
but still facing the problem.
In the requirements.txt
file I have mentioned:
tensorflow==2.7.0
streamlit==0.82.0
numpy==1.19.5
scikit-image==0.19.0
opencv-python-headless==4.5.4.60
Pls suggest how I can resolve this issue.