Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自动标注出错! #1

Open
maxenergy opened this issue May 8, 2021 · 20 comments
Open

自动标注出错! #1

maxenergy opened this issue May 8, 2021 · 20 comments

Comments

@maxenergy
Copy link

您好,我使用auto_labeling会出错,
something wrong ,please check again.
请问如何解决?

@wufan-tb
Copy link
Owner

我又更新了一版,现在报错会显示具体错误,你在pull下来试试看是哪里错了

@maxenergy
Copy link
Author

好的,可以加我QQ 5566398或者微信 maxenergy吗?

@maxenergy
Copy link
Author

image

@wufan-tb
Copy link
Owner

路径问题吧,确保模型、图片、标注保存的路径都没有问题。看起来像没有指定标注路径,所以保存的时候报错了

@ghost
Copy link

ghost commented Mar 15, 2022

無法載入 yolo5l.pth 權重檔?

請問該如何解決?

@Zhang-JnQn
Copy link

Screenshot from 2022-03-20 17-16-35
这是为什么,我用yolov5训练的时候是正常的

@fanweiya
Copy link

@wufan-tb 我显示这个错误,请问是什么原因,应该怎么解决呢

@wufan-tb
Copy link
Owner

C3貌似是最新版模型里面的结构吧,最好是2.0版本的yolov5的权重文件

@fanweiya
Copy link

C3貌似是最新版模型里面的结构吧,最好是2.0版本的yolov5的权重文件

我用yoloV5最新的推理文件替换了一下,但还是运行不了

@Jerryxu-rui
Copy link

C3貌似是最新版模型里面的结构吧,最好是2.0版本的yolov5的权重文件

想问下有好的解决方案嘛?我也遇到了这个问题呢

@Jerryxu-rui
Copy link

C3貌似是最新版模型里面的结构吧,最好是2.0版本的yolov5的权重文件

我用yoloV5最新的推理文件替换了一下,但还是运行不了

想问下后面有没有解决呢 我也遇到了相同的问题呢

@gcc-gm
Copy link

gcc-gm commented Jun 9, 2022

也是提示错误

@ayerzcc
Copy link

ayerzcc commented Aug 16, 2022

不能用自己训练出的模型来标注,只能用预训练的模型?

@suay1113
Copy link

Screenshot from 2022-03-20 17-16-35 这是为什么,我用yolov5训练的时候是正常的

https://github.com/wufan-tb/AutoLabelImg/blob/master/labelImg.py#L2336
device = torch_utils.select_device('cpu')

@suay1113
Copy link

image

tree.write(os.path.join(xml_path,path[len(os.path.dirname(path))+1:-4]+'.xml'))
xml_path is None, from 'self.defaultSaveDir' is None, too.

@yuchen02
Copy link

我已经基于大佬的版本更新到最新的yolov5-6.2版本,或许可以解决部分问题
https://github.com/yuchen02/AutoLabelImg

@2197808908a
Copy link

我已经基于大佬的版本更新到最新的yolov5-6.2版本,或许可以解决部分问题 https://github.com/yuchen02/AutoLabelImg

草,我昨天也刚刚改好,不过是6.1版本的,其实大佬源代码导环境那儿有问题,他会导系统环境下的yolo版本,而不会导代码里包含的yolo,至少现在是这样不知道原来是不是这样

@12356abs
Copy link

12356abs commented Mar 4, 2023

222
auto_labrlImg的时候报错了

@wufan-tb
Copy link
Owner

wufan-tb commented Mar 6, 2023

是不是机器没有gpu或者没装cuda,可以用cpu试试(但是处理速度会比较慢),代码第2336行,改成下面的试试

device = 'cpu'

@Roboppi
Copy link

Roboppi commented Oct 8, 2023

image
image
image
image
image

something is wrong.(Upsample' object has no attribute'recompute scale factor)
torch==1.13.1
torchaudio==0.13.1
torchvision==0.14.1 (pip和conda源中torchvision==0.7.0被移除)
权重使用v2.0的yolov5s.pt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests