You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use LSTMModule as the input_modules ,there will be a error: UnboundLocalError: local variable 'output_dim' referenced before assignment
so, I check the code of metal.multitask.mt_end_model.py
I found the local variable 'output_dim' really referenced before assignment at line 115.
I changed this line to output_dim=self.config["layer_out_dims"][0] , the input_modules can work.
But I am not sure if I am correct. I hope the author can check the code and it is best to give a tutorial of LSTMModule using as input_modules.
The text was updated successfully, but these errors were encountered:
When I use LSTMModule as the input_modules ,there will be a error: UnboundLocalError: local variable 'output_dim' referenced before assignment
so, I check the code of metal.multitask.mt_end_model.py
I found the local variable 'output_dim' really referenced before assignment at line 115.
I changed this line to output_dim=self.config["layer_out_dims"][0] , the input_modules can work.
But I am not sure if I am correct. I hope the author can check the code and it is best to give a tutorial of LSTMModule using as input_modules.
The text was updated successfully, but these errors were encountered: