Comments (11)
Hello, @threerog:
In the latest source code, there's no need to set the label format in advance anymore. You can now export various formats after completing the annotation. I'll be releasing a new version and tutorial in the next few days.
Regarding the issue of displaying all labels for quick selection in the label list after setting the output label format, you only need to input each label once when it first appears. If you still find it inconvenient, you can open the configuration file .anylabelingrc
in the user directory and set the labels
field, as shown below:
labels
- person
- car
- ...
As for the two points you mentioned at the end, copying files to a train
folder upon creating the label file and displaying file quantity and current file name or index in the file list, these features are not implemented as they might not be universally applicable.
The second point about displaying the current progress is already supported in the latest source code. Feel free to give it a try; however, please note that the GUI version (X-AnyLabeling v2.1.0) currently does not support these features.
Best regards,
CVHub
from x-anylabeling.
Hello, @threerog:
In the latest source code, there's no need to set the label format in advance anymore. You can now export various formats after completing the annotation. I'll be releasing a new version and tutorial in the next few days.
Regarding the issue of displaying all labels for quick selection in the label list after setting the output label format, you only need to input each label once when it first appears. If you still find it inconvenient, you can open the configuration file
.anylabelingrc
in the user directory and set thelabels
field, as shown below:labels - person - car - ...
As for the two points you mentioned at the end, copying files to a
train
folder upon creating the label file and displaying file quantity and current file name or index in the file list, these features are not implemented as they might not be universally applicable.The second point about displaying the current progress is already supported in the latest source code. Feel free to give it a try; however, please note that the GUI version (X-AnyLabeling v2.1.0) currently does not support these features.
Best regards, CVHub
- 我尝试了你提到的
.anylabelingrc
文件labels
配置项,英文标签正常,但是中文标签启动报错
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\AnyLabeling\anylabeling\app.py", line 222, in <module>
main()
File "C:\Users\Admin\Desktop\AnyLabeling\anylabeling\app.py", line 153, in main
config = get_config(config_file_or_yaml, config_from_args)
File "C:\Users\Admin\Desktop\AnyLabeling\.\anylabeling\config.py", line 82, in get_config
config_from_yaml = yaml.safe_load(f)
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\__init__.py", line 79, in load
loader = Loader(stream)
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\loader.py", line 34, in __init__
Reader.__init__(self, stream)
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\reader.py", line 85, in __init__
self.determine_encoding()
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\reader.py", line 124, in determine_encoding
self.update_raw()
File "C:\App\anaconda3\envs\anylabeling\lib\site-packages\yaml\reader.py", line 178, in update_raw
data = self.stream.read(size)
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa7 in position 710: illegal multibyte sequence
- 手动输入的中文标签在导出时中文乱码(
VOC
),其它未知 - 仍觉得文件列表进度显示非常有必要
- 通过
.anylabelingrc
文件labels
配置项来设置默认标签列表是影响所有项目,而之前的导入模式是仅限本次启动,可能更合理一点,以上只是个人看法。 - UI汉化部分待完善,虽然不影响使用
from x-anylabeling.
导入yolo
标签时是否考虑支持直接导入yolo
标准的yaml
文件
path: C:\Users\Admin\Desktop\yolov8
train: ***
val: ***
test: ***
names:
0: 标签1
1: 标签2
2: 标签3
将yaml.names
作为labels
from x-anylabeling.
- The issue of
Chinese
label import displaying as garbled characters is not related to the tool itself. This is due to the lack of Chinese fonts in the current system environment. You can refer to the following steps to configure it.
# Linux
cd /usr/share/fonts
sudo mkdir myfonts
cd myfonts
sudo cp /mnt/c/Windows/Fonts/simsun.ttc .
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
Note: In this case, /mnt/c/Windows/Fonts/simsun.ttc is the file for the SimSun font. You can copy your preferred Chinese-supported *.ttc file to the myfonts directory.
-
As mentioned before, the latest source code already supports displaying the progress in the current file list. Please refrain from using the GUI version for now.
-
The current behavior is intentional; please observe it closely.
-
The UI localization part will be improved in the upcoming release. Thank you for your attention!
from x-anylabeling.
导入
yolo
标签时是否考虑支持直接导入yolo
标准的yaml
文件path: C:\Users\Admin\Desktop\yolov8 train: *** val: *** test: *** names: 0: 标签1 1: 标签2 2: 标签3
将
yaml.names
作为labels
Please note that this is not a universal requirement, and defining it in a unified style is beneficial for reducing the learning curve for users. Given that X-AnyLabeling is currently fully open source, you can easily customize and develop this option by writing just a few lines of code.
from x-anylabeling.
from x-anylabeling.
- 通过
.anylabelingrc
文件labels
配置项设置中文标签启动报错 - 工具导出标签时中文乱码
这些问题和系统应该没什么关系吧,我是windows且支持中文字体
from x-anylabeling.
- 通过
.anylabelingrc
文件labels
配置项设置中文标签启动报错- 工具导出标签时中文乱码
这些问题和系统应该没什么关系吧,我是windows且支持中文字体
This issue has been fixed. Please update the source code and run it again.
If you still encounter problems, feel free to contact me.
from x-anylabeling.
中文已经正常支持了
我无意间尝试数值型标签时工具启动报错,我记得之前有人反馈过关于数值标签异常的问题
#89
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\AnyLabeling\anylabeling\app.py", line 222, in <module>
main()
File "C:\Users\Admin\Desktop\AnyLabeling\anylabeling\app.py", line 202, in main
win = MainWindow(
File "C:\Users\Admin\Desktop\AnyLabeling\.\anylabeling\views\mainwindow.py", line 30, in __init__
self.labeling_widget = LabelingWrapper(
File "C:\Users\Admin\Desktop\AnyLabeling\.\anylabeling\views\labeling\label_wrapper.py", line 24, in __init__
view = LabelingWidget(
File "C:\Users\Admin\Desktop\AnyLabeling\.\anylabeling\views\labeling\label_widget.py", line 134, in __init__
self.label_dialog = LabelDialog(
File "C:\Users\Admin\Desktop\AnyLabeling\.\anylabeling\views\labeling\widgets\label_dialog.py", line 134, in __init__
self.label_list.addItems(labels)
TypeError: index 2 has type 'int' but 'str' is expected
不好意思,我可能有点多事
from x-anylabeling.
Hello, for label with numeric values as the first command, please add quotes around them, as shown below:
...
labels:
- car
- '1'
- 苹果
- _phone
Thank you for your feedback and suggestions.
If you have any further questions or need assistance, feel free to reach out again.
Cheers.
from x-anylabeling.
太棒了
from x-anylabeling.
Related Issues (20)
- Segment Anything Model Export Error: Missing mask.json File HOT 2
- Feature Request: Photoshop-like Magic Wand Tool for Semantic and Instance Segmentation HOT 1
- Selective Search Algorithm for Semantic and Instance Segmentation
- Auto-tracking Bounding Boxes Across Consecutive Frames HOT 1
- 导入自定义模型(yolov6)点击运行之后并没有结果,终端报错超出索引 HOT 1
- BUG : The software interface disappears HOT 1
- 导入自定义模型的时候报错 HOT 3
- 重复帧较多的视频中,如何避免重复数据提取较多? HOT 1
- Feature Request: show the confidence score HOT 4
- 【多目标跟踪】是否支持在视频第一帧手动标注需要跟踪的目标,之后的帧标注只跟踪这一个目标? HOT 6
- Unable to Export VOC Labels for Polygon Format Annotations HOT 2
- Request for OCR Video Tutorial and Issues with Auto-Annotation, Label Export, and KIE Group Annotation HOT 1
- YOLOV8 Training Failure: Annotations Not Recognized When Exporting in YOLO Format HOT 2
- Request for SAM-Med2D Batch Auto-Annotation Feature HOT 1
- Application Crash on Image Switch with Direction Key Press HOT 1
- How to Convert Horizontal Bounding Boxes to Rotated Boxes in X-AnyLabeling for YOLOv8-obb HOT 3
- About the Last Field in DOTA Label Files HOT 2
- I find a bug!!!PLease help HOT 1
- Question About VOC annotation file? HOT 1
- 【question】 Please advise on how to call rectangle HOT 3
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 x-anylabeling.