test_model.py re-start now works with non-integer img_ids.