Prediction scripts

Hi, I’m curious where I can find the scripts referenced in the starter kit’s predict.py? Specifically, predict_mmdetection.py and predict_maskrcnn.py.

Hi, you can use our older starter kits and create predict_mmdetection.py etc by calling the functions correctly. (predict function in the new starter kit)

maskrcnn: https://gitlab.aicrowd.com/nikhil_rayaprolu/food-recognition/-/blob/master/eval.py#L82

mmdetection: https://gitlab.aicrowd.com/nikhil_rayaprolu/food-pytorch-baseline/-/blob/master/tools/infer.py

Please let us know in case you face any issues.
We will be merging & releasing these as predict_mmdetection.py & predict_maskrcnn.py in this week as well to fasten your submissions.

3 Likes