jsbroks / coco-annotator

:pencil2: Web-based image segmentation tool for object detection, localization, and keypoints
MIT License
2.12k stars 463 forks source link

Generate not working, stable build #341

Open williehk opened 4 years ago

williehk commented 4 years ago

Tried to do docker-compose rm -s -v but the actual db doesn't seems to be located under /db docker-compose ps -a doesn't shows the stopped containers

Running the generate API yields the error below, I have no idea how to reset the installation. The generate API worked once before, it downloaded coco images into an empty dataset, now in GUI mode it just doesn't do anything.

annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request annotator_webclient | rv = self.dispatch_request() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request annotator_webclient | return self.view_functionsrule.endpoint annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask_restplus/api.py", line 325, in wrapper annotator_webclient | resp = resource(*args, kwargs) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask/views.py", line 88, in view annotator_webclient | return self.dispatch_request(*args, *kwargs) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask_restplus/resource.py", line 44, in dispatch_request annotator_webclient | resp = meth(args, kwargs) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask_login/utils.py", line 261, in decorated_view annotator_webclient | return func(*args, **kwargs) annotator_webclient | File "/workspace/webserver/api/datasets.py", line 112, in post annotator_webclient | args = dataset_generate.parse_args() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask_restplus/reqparse.py", line 357, in parse_args annotator_webclient | value, found = arg.parse(req, self.bundle_errors) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/flask_restplus/reqparse.py", line 206, in parse annotator_webclient | if name in source: annotator_webclient | TypeError: argument of type 'int' is not iterable

jsbroks commented 4 years ago

Stopping docker files

Deleting db data

jsbroks commented 4 years ago

Did you update recently to the newest version?

williehk commented 4 years ago

the issue happened before, it was silent error in the web-app until i go to the API page and try it manually. I did run a docker-compose pull yesterday, same error happens.

KaitoCross commented 4 years ago

Using the development build, generate is also not working here through the Web UI. However, I do not get any error messages. It is a fresh installation

jsbroks commented 4 years ago

It seems google recently removed the rg_metadata from the page, which is what google_images_download was using to process the images from the raw_html.

As such it's broken.

fosteman commented 9 months ago

any move on this one ?