KalyanM45 / OpenHealth

This repository houses machine learning models and pipelines for predicting various diseases, coupled with an integration with a Large Language Model for Diet and Food Recommendation. Each disease prediction task has its dedicated directory structure to maintain organization and modularity.
GNU General Public License v3.0
38 stars 13 forks source link

No module named src #15

Open Hasika20 opened 1 month ago

Hasika20 commented 1 month ago

(providence-project) PS D:\OpenHealth> python app.py D:\OpenHealth\app.py:18: SyntaxWarning: invalid escape sequence '\B' brain_model = load_model('Artifacts\Brain_Tumour\BrainModel.h5') D:\OpenHealth\app.py:19: SyntaxWarning: invalid escape sequence '\K' kidney_model = load_model('Artifacts\Kidney_Disease\Kidney_Model.h5') D:\OpenHealth\app.py:21: SyntaxWarning: invalid escape sequence '\L' livermodel = pickle.load(open('Artifacts\Liver_Disease\Liver_Model.pkl', 'rb')) 2024-10-26 17:28:41.312411: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-10-26 17:28:45.418587: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. Traceback (most recent call last): File "D:\OpenHealth\app.py", line 12, in from src.utils import gen_from_image, gen_from_text, get_med ModuleNotFoundError: No module named 'src'

dagshub[bot] commented 1 month ago

Join the discussion on DagsHub!

9-sh commented 2 days ago

(providence-project) PS D:\OpenHealth> python app.py D:\OpenHealth\app.py:18: SyntaxWarning: invalid escape sequence '\B' brain_model = load_model('Artifacts\Brain_Tumour\BrainModel.h5') D:\OpenHealth\app.py:19: SyntaxWarning: invalid escape sequence '\K' kidney_model = load_model('Artifacts\Kidney_Disease\Kidney_Model.h5') D:\OpenHealth\app.py:21: SyntaxWarning: invalid escape sequence '\L' livermodel = pickle.load(open('Artifacts\Liver_Disease\Liver_Model.pkl', 'rb')) 2024-10-26 17:28:41.312411: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-10-26 17:28:45.418587: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. Traceback (most recent call last): File "D:\OpenHealth\app.py", line 12, in from src.utils import gen_from_image, gen_from_text, get_med ModuleNotFoundError: No module named 'src'