yzhangcs / sotu Goto Github PK
View Code? Open in Web Editor NEWA flask-based cbir system
License: MIT License
A flask-based cbir system
License: MIT License
多次flask extract的话,旧的就被新的覆盖了?可以累加起来吗?
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python35\lib\runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "c:\users\administrator\appdata\local\programs\python\python35\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\SoTu\venv\Scripts\flask.exe_main.py", line 7, in
File "d:\sotu\venv\lib\site-packages\flask\cli.py", line 966, in main
cli.main(prog_name="python -m flask" if as_module else None)
File "d:\sotu\venv\lib\site-packages\flask\cli.py", line 586, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "d:\sotu\venv\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "d:\sotu\venv\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "d:\sotu\venv\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "d:\sotu\venv\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "D:\SoTu\venv\vision\bof.py", line 32, in extract
self.extract()
File "D:\SoTu\venv\vision\bof.py", line 81, in extract
prj_all = np.vstack([prj for prj in projections])
File "d:\sotu\venv\lib\site-packages\numpy\core\shape_base.py", line 234, in vstack
return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
MemoryError
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 1978, in wsgi_app
ctx.push()
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/ctx.py", line 332, in push
self.session = self.app.open_session(self.request)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 912, in open_session
return self.session_interface.open_session(self, request)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 324, in open_session
s = self.get_signing_serializer(app)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 321, in get_signing_serializer
signer_kwargs=signer_kwargs)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/itsdangerous.py", line 519, in init
self.is_text_serializer = is_text_serializer(serializer)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/itsdangerous.py", line 69, in is_text_serializer
return isinstance(serializer.dumps({}), text_type)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 85, in dumps
return json.dumps(_tag(value), separators=(',', ':'))
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/json/init.py", line 177, in dumps
_dump_arg_defaults(kwargs)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/json/init.py", line 98, in _dump_arg_defaults
bp.json_encoder if bp and bp.json_encoder
AttributeError: 'Blueprint' object has no attribute 'json_encoder'
Hi,
Hope you are all well !
I was wondering if SoTu is able to make these 2 points:
For example, based on find-object, being able to detect multiple occurences of the same object.
Another example, still based on find-object](https://github.com/introlab/find-object), to detect many objects in a scene.
Thanks in advance for your insights and inputs on these topics.
Cheers,
X
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.