GithubHelp home page GithubHelp logo

pratyush-exe / breast-cancer-detector-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 24.94 MB

License: GNU General Public License v3.0

Python 0.09% CSS 0.06% JavaScript 0.10% HTML 0.19% Jupyter Notebook 99.56%

breast-cancer-detector-app's People

Contributors

pratyush-exe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

breast-cancer-detector-app's Issues

why run in another ip?

192.168.0.11 - - [28/May/2022 21:57:05] "GET / HTTP/1.1" 200 -
[2022-05-28 21:57:13,161] ERROR in app: Exception on /predict [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2446, in wsgi_app
	response = self.full_dispatch_request()
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1951, in full_dispatch_request
	rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1820, in handle_user_exception
	reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise
	raise value
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1949, in full_dispatch_request
	rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1935, in dispatch_request
	return self.view_functions[rule.endpoint](**req.view_args)
  File "/root/breast-cancer-detector-app/app.py", line 44, in upload
	preds = model_predict(file_path, model)[0][0]
  File "/root/breast-cancer-detector-app/app.py", line 20, in model_predict
	img = image.load_img(img_path, target_size=(100, 100))
AttributeError: module 'keras.preprocessing.image' has no attribute 'load_img'
192.168.0.11 - - [28/May/2022 21:57:13] "POST /predict HTTP/1.1" 500 -

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.