-
Notifications
You must be signed in to change notification settings - Fork 8
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
Issue with provided Dataset and Package Compatibility #9
Comments
Thank you for posting this; I have been struggling with this package myself, trying ti figure out how to use it. By following the official instructions, I encounter errors like this one. It is my guess that this package is abandoned and no longer maintained. I am wondering if you could find a way to use the deep scores dataset in a usable manner by using modern systems like mmdetection or similar. I am spending a huge amount of time trying to understand how to use that dataset which is in a non-very-standard format. Any thoughts on that are very welcome! Thanks again. |
This is awesome! Thank you so much! I am researching a way to training a model from scratch as well, and I have some ideas to try. Mmdetection is one, detectron2 is another. I'll try them both and see which one gives better results. It is my understanding that the main problem is that this dataset has its own format, and it should probably be converted into another format first (i.e. coco or YOLO?) and then treat it as any other "standard" set. I'll post what I find out. Thanks again! |
|
Not yet, unfortunately I had to take care of more urgent matters, but I plan to do it in the coming weeks. I'll keep you posted ;) |
Thank you. Let me know if you succeed. Thank you so much |
I've been trying to use this package, but I've been struggling to get the package in a usable state. As of the moment, the only way I can see this working is to more or less uproot the code from the ground up, and I doubt that should be necessary.
Firstly, I tried to verify the dataset by typing in the following:
and here is the result:
Obviously, there's a bit of an issue on how the code tries to find the file, so I changed the following lines (before is above, after is below):
and the result was this instead, which I assume would mean that it indeed works:
I tried running this code for ds2_dense, and this has always been the output. I'm not sure why this happens for that package, but I do not have the knowledge to know what to do about this:
(This is done with images because the imagename.png is not in any JSON file error goes on for long enough that the start cannot be retraced.)
Then, since it appears to be that the program would need a proposals.json file from somewhere, though none of the datasets initially have a proposal file. Looking at the debugging tools, there appears to be a generate_test_proposals.py, so I tried the following:
and this is the result:
The problem here lies in how the dataset defines its bbox parameters. You can see here that the bbox is only one parameter, but in the json files they are split into two: a_bbox and o_bbox:
From here I could just replace all instances of bbox into a_bbox and o_bbox, but that also affects the entire rest of the code, where then obb_anns.py also only defines bbox as one parameter. Unless if there is another compatible dataset that I am unaware of, is there any particular solution that comes to mind?
The text was updated successfully, but these errors were encountered: