If you select anything other than “Custom,” I think the contents of handler.py
will be ignored. In this case, I think model will be executed with the default arguments of the default pipeline. That may be why there is a difference from the local code.