shankarj67 / Water-classifier-fastai

Deploy your Flask web app classifier on Heroku which is written using fastai library.
https://water-classifier1.herokuapp.com/
MIT License
40 stars 50 forks source link

after setting the correct requirement for pytorch i'm getting this #5

Open abhinavsp0730 opened 4 years ago

abhinavsp0730 commented 4 years ago

Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail

abhinavsp0730 commented 4 years ago

repo:- https://github.com/abhinavsp0730/Water-classifier-fastai plzz have a look

sagarigrandhi commented 4 years ago

Hi @abhinavsp0730 I am getting the same error as you are after changing requirements.txt Refreshing the browser does not help with the application error. Were you by any chance able to figure out the error?

shankarj67 commented 4 years ago

Have you deployed your app to Heroku?

I checked the link and it's working fine. Try refreshing the browser and it will work. If you still get an error then I will check.

sagarigrandhi commented 4 years ago

Hi I have deployed to heroku. But when I check the link it shows application error. Refreshing the browser is not working.

VikashJha555 commented 4 years ago

Hi I have deployed to heroku. But when I check the link it shows application error. Refreshing the browser is not working.

Hello Nisag. I'm also facing the same error. Did you found out a solution for that?

shankarj67 commented 4 years ago

Thank you everyone for using it.

I will check and let you know the error. Can anyone please share the GitHub repo or stack trace of the error you guys are getting?

VikashJha555 commented 4 years ago

Hello Sir. The major issue is the slug error while deploying it on heroku due to the dependencies .

while running it on localhost, I'm getting an error : TypeError: 'Category' object is not callable This maybe because the Flask app expects a json type return.

https://github.com/VikashJha555/img_classifier_fastai

Note: I have made a few changes in the requirements.txt . fastai==1.0.51 because 1.0.24 was not working and changed the download url for the .whl