You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When attempting to run the app.py file in the OpenHealth project, I encountered the following error:
javascript
Copy code
ImportError: cannot import name 'gen_from_image' from 'src.utils' (c:\Users\srika\OneDrive\Desktop\vyshnavi_senior\OpenHealth\src\utils.py)
Steps to Reproduce:
Clone the repository and navigate to the project directory.
Run the app.py file using the command: python -u app.py.
The error appears upon execution, indicating that the gen_from_image, gen_from_text, and get_med functions cannot be imported from src/utils.py.
Expected Behavior:
The app.py script should run without throwing an import error, and the necessary functions (gen_from_image, gen_from_text, get_med) should be successfully imported from utils.py.
Actual Behavior:
The script raises an ImportError, indicating that the gen_from_image, gen_from_text, and get_med functions do not exist in the src/utils.py file. The utils.py file is either empty or missing these definitions.
Suggested Fix:
Check whether the utils.py file has been properly created and saved in the src/ directory.
Ensure that the required functions (gen_from_image, gen_from_text, get_med) are defined in utils.py.
If the functions are missing, they need to be implemented, or the imports in app.py should be updated based on existing utilities.
Additional Information:
Python version: [Your Python Version]
TensorFlow version: [Your TensorFlow Version]
OS: Windows 10
Please review the issue and provide guidance on resolving the missing functions in the utils.py file.
The text was updated successfully, but these errors were encountered:
Issue Description:
When attempting to run the app.py file in the OpenHealth project, I encountered the following error:
javascript
Copy code
ImportError: cannot import name 'gen_from_image' from 'src.utils' (c:\Users\srika\OneDrive\Desktop\vyshnavi_senior\OpenHealth\src\utils.py)
Steps to Reproduce:
Clone the repository and navigate to the project directory.
Run the app.py file using the command: python -u app.py.
The error appears upon execution, indicating that the gen_from_image, gen_from_text, and get_med functions cannot be imported from src/utils.py.
Expected Behavior:
The app.py script should run without throwing an import error, and the necessary functions (gen_from_image, gen_from_text, get_med) should be successfully imported from utils.py.
Actual Behavior:
The script raises an ImportError, indicating that the gen_from_image, gen_from_text, and get_med functions do not exist in the src/utils.py file. The utils.py file is either empty or missing these definitions.
Suggested Fix:
Check whether the utils.py file has been properly created and saved in the src/ directory.
Ensure that the required functions (gen_from_image, gen_from_text, get_med) are defined in utils.py.
If the functions are missing, they need to be implemented, or the imports in app.py should be updated based on existing utilities.
Additional Information:
Python version: [Your Python Version]
TensorFlow version: [Your TensorFlow Version]
OS: Windows 10
Please review the issue and provide guidance on resolving the missing functions in the utils.py file.
The text was updated successfully, but these errors were encountered: