Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 444, in main


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 434, in _real_main


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/rtbf.py", line 66, in _real_extract
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "train.py", line 40, in <module>

trainer.run_generator_one_step(data_i)


 "/home/user/SPADE/SPADE/trainers/pix2pix_trainer.py", line 35, in run_generator_one_step

g_losses, generated = self.pix2pix_model(data, mode='generator')


 "/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/opt/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 141, in forward

return self.module(*inputs[0], **kwargs[0])


 "/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/home/user/SPADE/SPADE/models/pix2pix_model.py", line 46, in forward

input_semantics, real_image)


 "/home/user/SPADE/SPADE/models/pix2pix_model.py", line 137, in compute_generator_loss

input_semantics, real_image, compute_kld_loss=self.opt.use_vae)


 "/home/user/SPADE/SPADE/models/pix2pix_model.py", line 192, in generate_fake

z, mu, logvar = self.encode_z(real_image)


 "/home/user/SPADE/SPADE/models/pix2pix_model.py", line 184, in encode_z

mu, logvar = self.netE(real_image)


 "/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/home/user/SPADE/SPADE/models/networks/encoder.py", line 46, in forward

if self.opt.crop_size >= 256:


 "/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 535, in __getattr__

type(self).__name__, name))
AttributeError: 'ConvEncoder' object has no attribute 'opt'
