* remove dict calling img key for compatibility * fix unit test * infer batch size using len(result) to be consistent with mmcv
* remove dict calling img key for compatibility * fix unit test * infer batch size using len(result) to be consistent with mmcv