Issue on some Python-Tensorflow Cloud - not visible in Desktopapp

[16:51:54] 🐍 Python dependencies were installed from /app/dental-classification/requirements.txt using pip.
Check if streamlit is installed
Streamlit is already installed
[16:51:55] πŸ“¦ Processed dependencies!
2022-12-31 16:51:57.262978: I tensorflow/core/platform/cpu_feature_guard.cc:193] 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.
2022-12-31 16:51:57.408853: W tensorflow/compiler/xla/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
2022-12-31 16:51:57.409618: I tensorflow/compiler/xla/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.



2022-12-31 16:51:58.417533: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2022-12-31 16:51:58.417654: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2022-12-31 16:51:58.417663: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2022-12-31 16:51:59.919 Uncaught app exception
Traceback (most recent call last):
  File "/home/appuser/venv/lib/python3.8/site-packages/streamlit/script_runner.py", line 350, in _run_script
    exec(code, module.__dict__)
  File "/app/dental-classification/main.py", line 22, in <module>
    import cv2
  File "/home/appuser/venv/lib/python3.8/site-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2022-12-31 16:52:00.879 Please fix your imports. Module tensorflow.python.training.tracking.data_structures has been moved to tensorflow.python.trackable.data_structures. The old module will be deleted in version 2.11.

Project : https://andrzejrpiotrowski-dental-classification-main-uylj5b.streamlit.app/
github: GitHub - AndrzejRPiotrowski/Dental-Classification: Used Streamlit for building UI and CNN classifier to classify the image

Hey @Andrzej_Piotrowski,

Thanks for posting! Can you elaborate on the issue? What do you mean by β€œnot visible”? / Is the issue happening when the app is deployed or when it’s running locally (or both)?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.