cvat icon indicating copy to clipboard operation
cvat copied to clipboard

Attributes Text field length limited for adding values

Open jijinexp opened this issue 4 years ago • 7 comments

My actions before raising this issue

  • [x] Read/searched the docs
  • [x] Searched past issues
  • [x] Investigated source code

Expected Behaviour

As a user, I should be able to add more than 1000 values to a attribute in a class

Current Behaviour

I am only able to add approximately 224 values which ranges to 4091 characters with white spaces. In my use case, an attribute needs more than 1000 values to be declared.

Possible Solution

Increasing the attribute values length would be helpful.

Steps to Reproduce (for bugs)

1.Create a class label in either a new project/task 2.Add an attributes label and add a value to generate a raw format. 3.In raw format, for the values field try adding more than 225 values with a combine length of more than 4091 characters 4.There should be pop on the left shown as below:

Screen Shot 2020-12-03 at 11 28 12 AM Screen Shot 2020-12-03 at 11 28 34 AM

Context

I am trying to upload an annotated image dataset car Make, Model and colour. The Model attributes consists of highest values length. This is to the fact that every Make has a variation of Models

Your Environment

  • Git hash commit 75d2826a3d35324f3cc1f867fd8d1b8821ef1bce
  • Docker version 19.03.12
  • Ubuntu 18.04.4 LTS bionic

Next steps

You may join our Gitter channel for community support.

jijinexp avatar Dec 02 '20 23:12 jijinexp

Need to fix the limitation. What is the reasonable limitation from your point of view? How did you use CVAT? Probably we can try to find an alternative way to solve the issue.

nmanovic avatar Dec 07 '20 12:12 nmanovic

One of my attributes consists of car models, there are quite a few variations in models. I think max length for attributes is limited to 4096. This could be the limitation in my view.

jijinexp avatar Dec 10 '20 02:12 jijinexp

actually i have the same issue with the same problem. I need to put up to 10k radio button in one attribute and so it gives the same error. how can i solve this issue if possible??

hazemahmed45 avatar May 20 '21 13:05 hazemahmed45

Any updates on this?

arseniymerkulov avatar Dec 08 '23 07:12 arseniymerkulov

Hi @nmanovic @bsekachev I would like to take up this issue. Could you assign this to me?

ritikraj26 avatar Apr 09 '24 18:04 ritikraj26

I am trying to reproduce the issue and observed that I cannot enter more than 128 characters in the values. image

ritikraj26 avatar Apr 09 '24 19:04 ritikraj26

Hi all,

Is there any update on this issue? I'm interested in its progress and would be happy to help if needed.

Thanks, Benjamin

rukundob451 avatar Aug 08 '24 05:08 rukundob451