HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.54k stars 6.27k forks source link

save problem #746

Open lyd959 opened 3 years ago

lyd959 commented 3 years ago

Traceback (most recent call last): File "labelImg.py", line 1382, in save_file self._save_file(saved_path) File "labelImg.py", line 1414, in _save_file if annotation_file_path and self.save_labels(annotation_file_path): File "labelImg.py", line 856, in save_labels self.label_file.save_yolo_format(annotation_file_path, shapes, self.file_path, self.image_data, self.label_hist, File "/home/lyd/pyHub/labelImg/libs/labelFile.py", line 112, in save_yolo_format writer.save(target_file=filename, class_list=class_list) File "/home/lyd/pyHub/labelImg/libs/yolo_io.py", line 64, in save out_file = codecs.open(target_file, 'w', encoding=ENCODE_METHOD) File "/home/lyd/anaconda3/lib/python3.8/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) OSError: [Errno 30] 只读文件系统:

tzutalin commented 3 years ago

Can you provide more information? Is it only happening yolo format?

只读文件系统 sounds like your system problem.

lyd959 commented 3 years ago

You can open the software. However, this problem occurs as soon as it is preserved. That's all the tips.

------------------ 原始邮件 ------------------ 发件人: "tzutalin/labelImg" @.>; 发送时间: 2021年5月8日(星期六) 晚上10:50 @.>; @.**@.>; 主题: Re: [tzutalin/labelImg] save problem (#746)

Can you provide more information? Is it only happening yolo format?

只读文件系统 sounds like your system problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lyd959 commented 3 years ago

I've been using the Yolo format all the time, but it doesn't work all of a sudden. I used it well yesterday.

------------------ 原始邮件 ------------------ 发件人: "tzutalin/labelImg" @.>; 发送时间: 2021年5月8日(星期六) 晚上10:50 @.>; @.**@.>; 主题: Re: [tzutalin/labelImg] save problem (#746)

Can you provide more information? Is it only happening yolo format?

只读文件系统 sounds like your system problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tzutalin commented 3 years ago

Did you update some software or did you pull the latest code? I tried to reproduce on my Mac, and it works well.

Could you try to uninstall it and install it again

lyd959 commented 3 years ago

---Original--- From: @.> Date: Sun, May 9, 2021 02:16 AM To: @.>; Cc: @.**@.>; Subject: Re: [tzutalin/labelImg] save problem (#746)

Did you update some software or did you pull the latest code? I tried to reproduce on my Mac, and it works well.

Could you try to uninstall it and install it again

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.