Closed johnfelipe closed 2 years ago
Apologies, this was a hackathon project that I never bothered to document well; it can be run with streamlit run my_st.py
ImportError: initialization failed
Traceback:
File "/usr/local/lib/python3.8/dist-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script
exec(code, module.__dict__)
File "/root/masseyhacksvii/my_st.py", line 2, in <module>
from src.skin_color import estimate_skin
File "/root/masseyhacksvii/src/skin_color.py", line 3, in <module>
from deepface import DeepFace
File "/usr/local/lib/python3.8/dist-packages/deepface/DeepFace.py", line 16, in <module>
from deepface.basemodels import VGGFace, OpenFace, Facenet, Facenet512, FbDeepFace, DeepID, DlibWrapper, ArcFace, Boosting, SFaceWrapper
File "/usr/local/lib/python3.8/dist-packages/deepface/basemodels/VGGFace.py", line 5, in <module>
from deepface.commons import functions
File "/usr/local/lib/python3.8/dist-packages/deepface/commons/functions.py", line 12, in <module>
import tensorflow as tf
File "/usr/local/lib/python3.8/dist-packages/tensorflow/__init__.py", line 37, in <module>
from tensorflow.python.tools import module_util as _module_util
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/__init__.py", line 37, in <module>
from tensorflow.python.eager import context
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/eager/context.py", line 35, in <module>
from tensorflow.python.client import pywrap_tf_session
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/client/pywrap_tf_session.py", line 19, in <module>
from tensorflow.python.client._pywrap_tf_session import *
Unfortunately not a problem with the repo - many stackoverflow threads which may help, such as https://stackoverflow.com/questions/64224572/importerror-dll-load-failed-while-importing-pywrap-tensorflow-internala-dynam
with python use?
this is log
root@felipe:~/masseyhacksvii# pip list
root@felipe:~/masseyhacksvii#