Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction feature not responding #1

Closed
Khadijaz8 opened this issue Oct 8, 2024 · 3 comments
Closed

Prediction feature not responding #1

Khadijaz8 opened this issue Oct 8, 2024 · 3 comments

Comments

@Khadijaz8
Copy link

Khadijaz8 commented Oct 8, 2024

Brother I have configure it's backend and frontend but whenever I try it's prediction feature it always shows failed to fetch prediction please try again later. On terminal it shows error on any on tools of requirements.txt if I solve issues with one tool it shows issues of other tool especially on scikit-learn, numpy. Kindly tell me how to configure it?

@abdul-wahab619
Copy link
Owner

  1. For prediction take a look into this repository resource "https://github.com/abdul-wahab619/Med-Lab.git",
  • models after training and getting.pkl files then I attached to my project.
  1. Issues happens only when the version of python and the package we need to install is incompatible, so go through according to your needs.

  2. And another way is to install all the packages ,like directory where you installed python go there and open the terminal over there then install the requirements.txt

Hope so you will resolve this issue

Thanks for mentioning!...

@Khadijaz8
Copy link
Author

I think may be you have done a mistake while writting the requirements.txt file look all of the tools are downloaded except of these tools pip install numpy==1.19.5
pip install grpcio==1.38.0
pip install h5py==2.10.0
pip install joblib==1.0.1
pip install MarkupSafe==2.0.1
pip install scikit-learn==0.21.3
pip install scipy==1.4.1
pip install tensorflow==2.1.0

it shows error that these distributions does not exist. Means I have these tools in updated version but your require versions are not dowloading because it shows that this version does not exist
eg: pip install numpy==1.19.5 --only-binary=:all:
ERROR: Could not find a version that satisfies the requirement numpy==1.19.5 (from versions: 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2)
ERROR: No matching distribution found for numpy==1.19.5

PS D:\AI-MedLab\backend> pip install scikit-learn==0.21.3 --only-binary=:all:
ERROR: Could not find a version that satisfies the requirement scikit-learn==0.21.3 (from versions: 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1, 1.2.2, 1.3.0rc1,
ERROR: No matching distribution found for scikit-learn==0.21.3
It would be great if you help to sort out it

@abdul-wahab619 abdul-wahab619 pinned this issue Oct 10, 2024
@ayeshabarlas
Copy link

Same issue occurring on my side as well, if you have solution kindly drop it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants