Comments (10)
Why they are not in alphabetical order?
from label-studio-converter.
@youyuge34 Hi, could you please share your label config?
from label-studio-converter.
<View>
<View style="display:flex;align-items:start;gap:8px;flex-direction:column-reverse">
<Image name="image" value="$url" zoom="true" zoomControl="true" width="400px"/>
<RectangleLabels name="label" toName="image" showInline="true">
<Label value="card" background="#FFA39E"/>
<Label value="card_img" background="#0d25d3"/>
<Label value="card_name" background="#FFC069"/>
<Label value="card_price" background="#03ad00"/>
<Label value="member" background="#ec0f04"/>
<Label value="discount" background="#f0cc19"/>
<Label value="list_describe" background="#da1fff"/>
</RectangleLabels>
</View>
</View>
from label-studio-converter.
@youyuge34
Could you please also share your version of label-studio-converter?
from label-studio-converter.
@KonstantinKorotaev I use label-studio v1.4 and label-studio-converter 0.0.36
from label-studio-converter.
label-studio-converter 0.0.36
Could you please update it to 0.0.40 and check one more time?
from label-studio-converter.
Hi, I'm facing the same issue. I think it is because set()
is used to filter duplicate elements in labels list, but set()
does not maintain order of the elements so it changes the tag order.
here is the line reference
https://github.com/heartexlabs/label-studio-converter/blob/7918410c420d6ffe00991409db96798b6a610293/label_studio_converter/converter.py#L911
from label-studio-converter.
Hi @shafeeq07
Could you please share your label config?
from label-studio-converter.
Hi, I have the same problem. Latest label studio version used. After exporting my project to YOLOv5 the class order is like this:
head
person
but I want to have it defined like this:
person
head
it is important for transfer learning where ID of classes are already defined.
I think the best solution would be to add an tag or or whatever name you chose to labelling interface.
from label-studio-converter.
Try adding category
to labels <Label category="123">
, e.g.:
<View>
<View style="display:flex;align-items:start;gap:8px;flex-direction:column-reverse">
<Image name="image" value="$url" zoom="true" zoomControl="true" width="400px"/>
<RectangleLabels name="label" toName="image" showInline="true">
<Label value="card" background="#FFA39E" category="1"/>
<Label value="card_img" background="#0d25d3" category="2"/>
<Label value="card_name" background="#FFC069" category="3"/>
<Label value="card_price" background="#03ad00" category="4"/>
<Label value="member" background="#ec0f04" category="5"/>
<Label value="discount" background="#f0cc19" category="6"/>
<Label value="list_describe" background="#da1fff" category="7"/>
</RectangleLabels>
</View>
</View>
from label-studio-converter.
Related Issues (20)
- Export to Pascal VOC XML is not working. HOT 1
- Is it possible to convert texts containing relations annotated in Label Studio into a Spacy binary file format ?
- Export polygons as PNG mask
- Python directions in README are wrong HOT 1
- YOLO, COCO export error
- Are there any Plans to support Object Tracking formats?
- Export of OCR task into COCO and YOLO doesn't work HOT 2
- Export to YOLO format for Video Annotation Doesn't work.
- Export columns selection
- What is the correct way to convert bbox from label studio to LayoutLMv3Processor bbox format?
- Oriented Bounding Box HOT 1
- RectangleLabels : x,y values inconsistent HOT 1
- YOLO import to LS doesnt import labels HOT 2
- The iter_from_dir that uses`json.load` in method convert_to_voc does not open the json file.
- bug in "iter_from_json_file" method
- export to yolov8 format HOT 4
- CONLL Conversion drops NER labels from token classification
- How to make YOLO RAW tag output format be converted to pre-annotated
- Unable to convert multi-class instance segmentation dataset from YOLO TXT format HOT 1
- Why can't I use BrushLabel and export it to VOC?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from label-studio-converter.