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 process run_tree_transformer.py I get an error:
Traceback (most recent call last):
File "run_tree_transformer.py", line 236, in <module>
main()
File "run_tree_transformer.py", line 212, in main
, args.device, criterion, max_len_trg, train_flag=True)
File "/data/pfps/nbref/baseline_model/data_utils/train_tree_encoder.py", line 246, in train_eval_tree
model = model.module
File "/tilde/pfps/.local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 594, in __getattr__
type(self).__name__, name))
AttributeError: 'Transformer' object has no attribute 'module'
(nbref) pfps@heaviside:~/nbref/baseline_model$ git status
I think that this is due to config.py having the wrong default for one or two arguments
When I process run_tree_transformer.py I get an error:
I think that this is due to config.py having the wrong default for one or two arguments
doesn't make sense because it is impossible to turn these options off. I changed the default to False which allows further progression.
The text was updated successfully, but these errors were encountered: