Open PTN407 opened 1 year ago
This is great. I am trying to get the code to run too. I will try your changes.
Btw, do we really want to run the line text = text.replace('tf', 'channels_last')??
For information sharing, i am writing this.
ssd7 case, csv file coordinate must be not corner form but minmax form. Almost all of the problems were due to this issue. In def parse_csv, "The expected strings are 'image_name', 'xmin', 'xmax', 'ymin', 'ymax', 'class_id'."
ssd300 case, In evaluation mode, mode must be 'training' not 'inference'
Then, it will work in tensorflow 2.12.
For information sharing, i am writing this.
1. ssd7 case, csv file coordinate must be not corner form but minmax form. Almost all of the problems were due to this issue. In def parse_csv, "The expected strings are 'image_name', 'xmin', 'xmax', 'ymin', 'ymax', 'class_id'." 2. ssd300 case, In evaluation mode, mode must be 'training' not 'inference'
Then, it will work in tensorflow 2.12.
I am doing another push with this code and I think I am hiting the problem you mention because when I start the training I get the error "SSDInputEncoder detected degenerate ground truth bounding boxes". I think the code is not using the correct format for the coordinates of the boxes. I know I can supply the argument coords='minmax' to build_model and also to SSDInputEncoder; but I am still getting the same error about degenerate boxes. Can you tell me if I need to change the argument 'coords' anywhere else?
Hello everyone, First of all, this is not exactly an issue, but some changes i made to the code so the project work (i tested on kaggle). I haven't test on my computer yet (it's old and can't run those code) (so yet can't make pull requests). I used this in code used in researching so I can't share publicly, sorry. Code: