0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【備忘録】Label Studio テキストファイルをラベル付けするための設定

0
Last updated at Posted at 2026-05-29

環境構築はこちら

テキストファイルインポート

画面に従ってインポートをする(ここは失念したが、多分大丈夫だろう)

「Time Series or Whole Text File」 を選ぶのが基本

.txt ファイルを読み込むときに、選択肢では必ずこちら
Time Series or Whole Text File

image.png

image.png

Labeling Interface に以下を貼る

設定画面を開いたら、たぶん XML を入力する画面が出る
そこに以下のXML文章を貼る
(valueはアルファベットに変えてあるが、必要に応じてここはつけたい名前を付ければよい)

<View>
 <Labels name="label" toName="text">
   <Label value="A" background="#FFA39E"/>
   <Label value="B" background="#D4380D"/>
   <Label value="C" background="#FFC069"/>
   <Label value="D" background="#AD8B00"/>
   <Label value="E" background="#D3F261"/>
   <Label value="F" background="#389E0D"/>
   <Label value="G" background="#5CDBD3"/>
   <Label value="H" background="#096DD9"/>
   <Label value="I" background="#ADC6FF"/>
   <Label value="J" background="#9254DE"/>
   <Label value="K" background="#BFBFBF"/>
 </Labels>

 <Text name="text" value="$data" valueType="url"/>
</View>

今回のファイルは、HLSLコード全体を1つのテキストファイルとして読み込ませているので、ポイントはここ

ラベルを設定しなおしたい場合

image.png
画面上部、左側のSettingから

image.png
Setting画面左側、上から二番目のLabeling Interfaceを左クリック

①のテキストボックスの中に入れたい名前を入れて
②Addを押すと・・・
image.png

image.png

無事追加された

image.png
このラベルを左クリックすると、ラベルの色を変えることができる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?