rrmina / fast-neural-style-pytorch

Fast Neural Style Transfer implementation in PyTorch :art: :art: :art:
315 stars 77 forks source link

IndentationError #14

Closed harisharvind closed 4 years ago

harisharvind commented 4 years ago

Forgive me because I'm a noob at python but when I try to run the video.py script I get Indentation error: unexpected indent

File "/home/harish/fast-neural-style-pytorch/stylize.py", line 117 torch.cuda.empty_cache() ^ IndentationError: unexpected indent.

When I tried removing the line I get same error at the next line,

File "/content/stylize.py", line 119 generated_tensor = net(content_batch.to(device)).detach() ^ IndentationError: unexpected indent

can you help me with this please?