Traceback (most recent call last):


 "/usr/lib/python3.8/site-packages/feeluown/containers/table.py", line 34, in fetch_album_cover

await asyncio.sleep(random.randrange(100) / 100)


 "/usr/lib/python3.8/asyncio/tasks.py", line 637, in sleep

loop = events.get_running_loop()
RuntimeError: no running event loop

Traceback (most recent call last):


 "run.py", line 79, in <module>

for j,(HR,LR) in enumerate(model(ref_im,**kwargs)):


 "/home/ubuntu/pulse/PULSE.py", line 149, in forward

loss, loss_dict = loss_builder(latent_in, gen_im)


 "/home/ubuntu/miniconda3/envs/pulse/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in __call__

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


 "/home/ubuntu/pulse/loss.py", line 54, in forward

tmp_loss = loss_fun_dict[loss_type](**var_dict)


 "/home/ubuntu/pulse/loss.py", line 23, in _loss_l2

return ((gen_im_lr - ref_im).pow(2).mean((1, 2, 3)).clamp(min=self.eps).sum())
RuntimeError: The size of tensor a (3) must match the size of tensor b (4) at non-singleton dimension 1
