Comments (3)
I had a peek at db.py and it seems the index of a task is used as part of the JSON file name. (e.g. in 1.json, 2.json and so on, the 1,2 etc are the index of the task in task.json).
from label-studio.
Hey,
I'd suggest taking a look at one of the tasks.json
found in examples, it's basically a list of JSON objects. Each key in that object you can further use in the config, for example, a JSON file like this:
[{ "text": "Piece of text" }, { "text": "Piece of text" } ]
And config:
<View><Text name="txt" value="$text"></Text></View>
As you can see $text
will be connected to every object in the JSON file. If you create a completion for you will get 1.json
and 2.json
.
Please let me know if that answers your question.
from label-studio.
@deppp
Thanks for your reply.
What I was looking for was how the relation of 1.json with first "text" or 2.json with second "text" (and so on) is determined. To me it looks like following:
- Task records in the tasks.json are given index starting from 1.
- Completion files (1.json, 2.json andso on) are rerlated back to their tasks by the number that appears in their name (1,2,etc) and the index of the task as determined by above. That is, 1.json is related to task at index 1 and 2.json is related to task at index 2...
Please correct me if I am wrong.
from label-studio.
Related Issues (20)
- 打开项目时,无法显示已标注数据 HOT 9
- How to perform batch prediction? HOT 2
- Brush size does not keep as the previous setting size.
- tutorial not working: Text classification with Scikit-Learn
- Max retries exceeded with url: /pypi/label-studio/json & Temporary failure in name resolution' HOT 2
- How to solve this error when I executed 'nx run labelstudio:serve:development' on Windows10
- Bug start localhost:8081 webpack
- Cannot get locally imported images to show HOT 1
- Named Entity Preannotations not visible when ID contains Space HOT 1
- Hints do not work for Choice tags HOT 1
- Previously Labeled Images No Longer Show Up Under Project HOT 8
- @heartexlabs/[email protected]版本VideoRectangle标签显示未定义,使用不了,这是什么情况 HOT 2
- Why is my conversation content not supported for rendering?
- How to upgrade label studio (docker)? HOT 2
- Run "python label_studio/manage.py runserver" HOT 1
- In Label Studio Enterprise version I couldn't find Enable Scripts option HOT 2
- empty txt file after exporting dataset with yolov8 format HOT 1
- Relation not rendered in pagination mode (multipage document)
- Dockerfile.redhat build is failing HOT 1
- In Enterprise version can we make interface dynamic
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.