HOTFIX: apply iipimage patches BEFORE the model are defined.
Merge branch 'master' of https://github.com/kcl-ddh/digipal