"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "13dd0f7f047754cf2d4e630e5bfe05b073aa9359"
Transformer partial fix (#5092)
* Fix Transformer TPU crash in Python 2.X. - Tensorflow raises an error when tf_inspect.getfullargspec is called on a functools.partial in Python 2.X. This issue would be hit during the eval stage of the Transformer TPU model. This change replaces the call to functools.partial with a lambda to work around the issue. * Remove unused import from transformer_main. * Fix lint error.
Showing
Please register or sign in to comment