transformers icon indicating copy to clipboard operation
transformers copied to clipboard

namespace object has no attribute to "enc_only"

Open zy329jy opened this issue 6 years ago • 2 comments

❓ Questions & Help

when I running the distillation.py then File "E:/transformers-master/examples/seq2seq/distillation.py", line 370, in create_module elif args.enc_only: AttributeError: 'Namespace' object has no attribute 'enc_only' how can I deal with this problem?? thx a lot.

A link to original question on the forum/Stack Overflow:

zy329jy avatar Jul 29 '20 02:07 zy329jy

If you do not want to use encoder only, I think it is fine to just comment that elif clause out

rosafish avatar Aug 13 '20 09:08 rosafish

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 12 '20 10:10 stale[bot]