
Comment: An exception occurred in this state: Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/salt/state.py", line 1382, in call
**cdata['kwargs'])

 "/usr/lib/python2.7/site-packages/salt/states/module.py", line 203, in run
if ret['changes'].get('ret', {}).get('retcode', 0) != 0:
AttributeError: 'bool' object has no attribute 'get'
Changes:
Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "~/.virt/lib/python3.6/site-packages/allennlp/commands/__init__.py", line 7, in <module>

from allennlp.commands.evaluate import Evaluate


 "~/.virt/lib/python3.6/site-packages/allennlp/commands/evaluate.py", line 43, in <module>

from allennlp.models.archival import load_archive


 "~/.virt/lib/python3.6/site-packages/allennlp/models/__init__.py", line 7, in <module>

from allennlp.models.crf_tagger import CrfTagger


 "~/.virt/lib/python3.6/site-packages/allennlp/models/crf_tagger.py", line 15, in <module>

from allennlp.training.metrics import SpanBasedF1Measure


 "~/.virt/lib/python3.6/site-packages/allennlp/training/__init__.py", line 1, in <module>

from allennlp.training.trainer import Trainer


 "~/.virt/lib/python3.6/site-packages/allennlp/training/trainer.py", line 35, in <module>

from allennlp.training.learning_rate_schedulers import LearningRateScheduler


 "~/.virt/lib/python3.6/site-packages/allennlp/training/learning_rate_schedulers.py", line 38, in <module>

"cosine": torch.optim.lr_scheduler.CosineAnnealingLR,
AttributeError: module 'torch.optim.lr_scheduler' has no attribute 'CosineAnnealingLR'
