cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
597 stars 255 forks source link

ValueError: cannot determine region size; use 4-item box #115

Open sxTjugLhu6FulmlLmt opened 5 years ago

sxTjugLhu6FulmlLmt commented 5 years ago

Highlighting 2 tracks... Traceback (most recent call last): File "/usr/local/bin/turkic", line 5, in pkg_resources.run_script('turkic==0.2.5', 'turkic') File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/EGG-INFO/scripts/turkic", line 16, in turkic.cli.main() File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/cli.py", line 147, in main handler(args[1:]) File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/cli.py", line 47, in init self(parser.parse_args(args)) File "/home/vagrant/vatic/cli.py", line 494, in call lambda x: "{0}/{1}.jpg".format(args.output, x)) File "/usr/local/lib/python2.7/dist-packages/pyvision-0.3.1-py2.7-linux-x8664.egg/vision/visualize.py", line 115, in save for image, frame in images: File "/home/vagrant/vatic/cli.py", line 497, in renumber for count, (im, ) in enumerate(it): File "/home/vagrant/vatic/cli.py", line 504, in augment aug.paste("black") File "build/bdist.linux-x86_64/egg/PIL/Image.py", line 1331, in paste ValueError: cannot determine region size; use 4-item box

sxTjugLhu6FulmlLmt commented 5 years ago

turkic visualize job_id /home/images/job_id --merge --renumber.Use the above command to report errors as above

sxTjugLhu6FulmlLmt commented 5 years ago

My goal is to export the same image number as JSON number, because now the exported image number starts from 0001.jpg and the JSON file content starts from 0, which bothers me a lot.

EnnaSachdeva commented 3 years ago

Did you fix this? I'm also getting the same error while virtualizing the annotated images.