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

florence模型微调报错 #1624

Closed
danxuan2022 opened this issue Aug 7, 2024 · 3 comments
Closed

florence模型微调报错 #1624

danxuan2022 opened this issue Aug 7, 2024 · 3 comments

Comments

@danxuan2022
Copy link

swift使用2.2分支编译,bbox我这边确认是int类型,辛苦大佬帮忙看下~
image

image

@danxuan2022
Copy link
Author

danxuan2022 commented Aug 7, 2024

在main分之上重新编译了一下swift,上面问题解决了,但是报了一个新的问题
image
数据集是本地jsonl,大概几十个图像json
image

将所有images的idx设置为0不会出现这个问题,但感觉这样是不是微调的不对?

@tastelikefeet
Copy link
Collaborator

首先images的问题,images的idx需要符合你的images字段的图片数量,这个是用来标识你的bbox隶属于哪个图片的
其次是object的index只能是int的问题,我强烈怀疑是之前的bug,请用最新代码试一下

@tastelikefeet
Copy link
Collaborator

如果有问题请重新打开这个issue

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

2 participants