Traceback (most recent call last):


 "main.py", line 56, in <module>

main(args, cfg)


 "main.py", line 32, in main

trainer = Trainer(cfg)


 "/root/paddlejob/workspace/code/PaddleGAN/ppgan/engine/trainer.py", line 80, in __init__

self.distributed_data_parallel()


 "/root/paddlejob/workspace/code/PaddleGAN/ppgan/engine/trainer.py", line 144, in distributed_data_parallel

strategy = paddle.distributed.prepare_context()
AttributeError: module 'paddle.distributed' has no attribute 'prepare_context'

Traceback (most recent call last):


 "/volume1/@appstore/py3k/usr/local/bin/subliminal", line 11, in <module>

sys.exit(subliminal())


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/click/decorators.py", line 27, in new_func

return f(get_current_context().obj, *args, **kwargs)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/cli.py", line 403, in download

hearing_impaired=hearing_impaired, only_one=single)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/core.py", line 211, in download_best_subtitles

for s in subtitles], key=operator.itemgetter(1), reverse=True)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/core.py", line 211, in <listcomp>

for s in subtitles], key=operator.itemgetter(1), reverse=True)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/score.py", line 106, in compute_score

matches = subtitle.get_matches(video)


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/providers/opensubtitles.py", line 78, in get_matches

matches |= guess_matches(video, guessit(self.movie_release_name, {'type': 'episode'}))


 "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/subliminal/subtitle.py", line 235, in guess_matches

if video.format and 'format' in guess and not isinstance(guess['format'], list) and guess['format'].lower() == video.format.lower():
AttributeError: 'list' object has no attribute 'lower'
