espnet2 inference error without language model
If not using a language model, the espnet2 asr_inference.py causes the following error. 

File "espnet2/espnet2/bin/asr_inference.py", line 152, in __init__
self.lm_train_args = lm_train_args
UnboundLocalError: local variable 'lm_train_args' referenced before assignment

diff --git a/espnet2/bin/asr_inference.py b/espnet2/bin/asr_inference.py
index 61e657b6e..6c99fe0f2 100755
--- a/espnet2/bin/asr_inference.py
+++ b/espnet2/bin/asr_inference.py
@@ -147,7 +147,6 @@ class Speech2Text:
 
         self.asr_model = asr_model
         self.asr_train_args = asr_train_args
-        self.lm_train_args = lm_train_args
         self.converter = converter
         self.tokenizer = tokenizer
         self.beam_search = beam_search
['espnet2/bin/asr_inference.py']