Update inference.py (#329)
Update inference.py (#329)

* Update inference.py

fix inference bug, the default keep_ratio is True...But SSD should be false

* Update inference.py

format correct

* Update inference.py

A more stable way

* Update inference.py

* Update inference.py

open-mmlab/mmdetection,open-mmlab/mmdetection