Traceback (most recent call last):


 "train_cosine_iterations_distributed.py", line 420, in <module>

optimizer.backward(loss)


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/fp16_utils/fp16_optimizer.py", line 482, in backward

self.loss_scaler.backward(loss.float())


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/fp16_utils/loss_scaler.py", line 45, in backward

scaled_loss.backward()


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/tensor.py", line 102, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/autograd/__init__.py", line 90, in backward

allow_unreachable=True)
# allow_unreachable flag


 "/home/ycg/anaconda3/lib/python3.6/site-packages/apex-0.1-py3.6-linux-x86_64.egg/apex/parallel/distributed.py", line 340, in allreduce_hook

if not self.callback_queued:


 "/home/ycg/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in __getattr__

type(self).__name__, name))
AttributeError: 'DistributedDataParallel' object has no attribute 'callback_queued'

Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/glue/bin.py", line 235, in main

manager.process()


 "/usr/lib/python2.7/site-packages/glue/managers/base.py", line 14, in process

self.save()


 "/usr/lib/python2.7/site-packages/glue/managers/base.py", line 45, in save

format.build()


 "/usr/lib/python2.7/site-packages/glue/formats/base.py", line 41, in build

self.save(ratio=ratio)


 "/usr/lib/python2.7/site-packages/glue/formats/img.py", line 147, in save

canvas.save(image_path, **kwargs)


 "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1477, in save

save_handler(self, fp, filename)


 "/usr/lib64/python2.7/site-packages/PIL/PngImagePlugin.py", line 545, in _save

b'\0')
# 12: interlace flag


 "/usr/lib64/python2.7/site-packages/PIL/PngImagePlugin.py", line 471, in putchunk

hi, lo = Image.core.crc32(data, Image.core.crc32(cid))
AttributeError: 'module' object has no attribute 'crc32'
