-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump annotations error #1081
Comments
Hi, |
@bsekachev |
It's hard to investigate reasons on our side. What CVAT version do you use? |
@bsekachev |
We met this issue before #610 It wasn't easy to investigate the problem. We were browsing the production database and analyzed the code because the issue could not be reproduced after dumping the db and recovering it in a debug environment. It's hard even to make suggestion about the reason in your case. |
@alontrais did you use frame filter for your task? |
So, no answer for a long time. Not sure the issue is relevant. I will close it, but you can reopen if you still experience the issue |
When I click on dump annotations I get this error on log:
2020-01-19 23:18:08,222 DEBG 'rqworker_default_1' stderr output:
23:18:08 cvat.apps.engine.utils.InterpreterError: AssertionError
Traceback (most recent call last):
File "/home/django/cvat/apps/engine/utils.py", line 45, in execute_python_code
exec(source_code, global_vars, local_vars)
File "", line 1, in
File "", line 310, in dump_as_cvat_interpolation
File "/home/django/cvat/apps/annotation/annotation.py", line 340, in tracks
tracked_shapes = TrackManager.get_interpolated_shapes(track, 0, self._db_task.size)
File "/home/django/cvat/apps/engine/data_manager.py", line 347, in get_interpolated_shapes
assert shape["frame"] > curr_frame
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
self._result = self._execute()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
return self.func(self.args, *self.kwargs)
File "/home/django/cvat/apps/engine/annotation.py", line 135, in dump_task_data
annotation.dump(filename, dumper, scheme, host)
File "/home/django/cvat/apps/engine/annotation.py", line 740, in dump
execute_python_code("{}(file_object, annotations)".format(dumper.handler), global_vars)
File "/home/django/cvat/apps/engine/utils.py", line 54, in execute_python_code
raise InterpreterError("{}".format(error_class))
cvat.apps.engine.utils.InterpreterError: AssertionError
Traceback (most recent call last):
File "/home/django/cvat/apps/engine/utils.py", line 45, in execute_python_code
exec(source_code, global_vars, local_vars)
File "", line 1, in
File "", line 310, in dump_as_cvat_interpolation
File "/home/django/cvat/apps/annotation/annotation.py", line 340, in tracks
tracked_shapes = TrackManager.get_interpolated_shapes(track, 0, self._db_task.size)
File "/home/django/cvat/apps/engine/data_manager.py", line 347, in get_interpolated_shapes
assert shape["frame"] > curr_frame
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
self._result = self._execute()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
return self.func(self.args, *self.kwargs)
File "/home/django/cvat/apps/engine/annotation.py", line 135, in dump_task_data
annotation.dump(filename, dumper, scheme, host)
File "/home/django/cvat/apps/engine/annotation.py", line 740, in dump
execute_python_code("{}(file_object, annotations)".format(dumper.handler), global_vars)
File "/home/django/cvat/apps/engine/utils.py", line 54, in execute_python_code
raise InterpreterError("{}".format(error_class))
cvat.apps.engine.utils.InterpreterError: AssertionError
What could be the cause of this error?
The text was updated successfully, but these errors were encountered: