Closed martinkaru closed 5 years ago
I agree with you, it is not a good way to set the backend weights, but also putting a parameter in the json file, doesn't looks nice, because the backend parameter must go too deeper in the code, and I think it is not clearly to understand
I tried creating another config file for the whole project, but reached the same conclusion.. Odd place to look for config parameters. One solution would be to initialize the backend component in the same place. Will look more into this next week
I made these changes as well. See if they are of value to you.
I am not satisfied with how I set the backend weights' path, still.. That's why there's a FIXME. I moved it from base folder to ./backend_weights/. In every Yolo v2 implementation, there's a along the lines: "TODO :: move online".