Skip to content
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

Could not save annotations (seems like cross referencing of attributes to other classes) #7875

Closed
2 tasks done
PushpakBhoge512 opened this issue May 10, 2024 · 2 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@PushpakBhoge512
Copy link

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

I was not able to find any solid lead but I think it could be happening because of following
if project is created and then the labels config is modified of earlier labels then this is observed (but this also not consistent sometime happen sometime does not)
e.g. if I create project with 10 labels then after some time I realized I want to add few attrbute to label with id 3 after this issue occur this also incosistent sometimes occur sometime does not

Expected Behavior

I think if an attribute A is attached to label_id1 then in the attribute should only be assigned to that but here attribute A get attached to label C and that not allows me to save

Possible Solution

not sure I don't know javascript so not exactly sure what's happening here

Context

image
this is the error I get, this seems like cross reference of the attributes as explained above
if there are 5 labels attribute which is of label 3 is assigned to label 5, this cross referencing happening randomely with any attribute any label

when I inspect the body of save API and based on dataset I find out the frame on whihc this cross reference is occuring then I go to that frame delete all annotation and do it again then it solves (but it comes back later randomly)
as in image the spec_id (i,e, attribute id 106 is attached to some other class )

this has also been observed in database some time attribute id is mapped with label to which it does not belong this also causing weird saved annotations. This happening for some projects not all, this project have one thing in common that extra values were added later in attribute of input type radio and mutable is set to false

Environment

using linux
using cvat 2.11.0
@PushpakBhoge512 PushpakBhoge512 added the bug Something isn't working label May 10, 2024
@PushpakBhoge512
Copy link
Author

update

I forgot to mention one important thing
I am using MySQL database instead of PostgresSQL, I do get some warning that some constratints are not supported
is the issue could be caused due to this ? the data is also wrongly saved in following tables

engine_labeledshapeattributeval
engine_labeledshape

please help could this be the issue? if yes then how can the support added ?

@bsekachev
Copy link
Member

That is not clear how to reproduce the issue on standard configuration.
We can't help with customizations. A lot of information and access to the instance is required to investigate such issues. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants