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
I have been trying to implement the TransformerTranslator for my own experiments, but I ran into this error.
AssertionError: cannot pass dy.ParameterCollection to a Serializable class. Use ParamManager.my_params() from within the Serializable class's __init__() method instead.
Thus, I looked around for resources on how to use the TransformerTranslator, and found the test/config/transformer.yaml file. Sadly, after running it I ran into the exact same error. What is going wrong and how do I fix it?
The text was updated successfully, but these errors were encountered:
I have been trying to implement the TransformerTranslator for my own experiments, but I ran into this error.
AssertionError: cannot pass dy.ParameterCollection to a Serializable class. Use ParamManager.my_params() from within the Serializable class's __init__() method instead.
Thus, I looked around for resources on how to use the TransformerTranslator, and found the test/config/transformer.yaml file. Sadly, after running it I ran into the exact same error. What is going wrong and how do I fix it?
The text was updated successfully, but these errors were encountered: