zhanghang1989 / PyTorch-Multi-Style-Transfer

Neural Style and MSG-Net
http://hangzh.com/PyTorch-Style-Transfer/
MIT License
975 stars 207 forks source link

PyTorch-Multi-Style-Transfer/experiments/utils.py #17

Open lxy443626128 opened 6 years ago

lxy443626128 commented 6 years ago

src_flat_cov_eye = src_norm @ src_norm.t() + Variable(torch.eye(3).cuda()) ^ SyntaxError: invalid syntax

@zhanghang1989

????

0xsanny commented 6 years ago

Same issue here. Deleting the src_norm.t() + part worked for me.