Home > other >  Pytorch implementation style transfer code errors
Pytorch implementation style transfer code errors

Time:01-08

Traceback (the most recent call last) :
The File "test. Py", line 84, in & lt; module>
The main ()
The File "test. Py", line 64, in the main
Res=torch. The cat ([c_denorm out_denorm], dim=0)
RuntimeError: invalid argument 0: Sizes of tensors must match the except in dimension 0. 459 and Got 456 in dimension at C: \ w \ \ Windows \ \ s 1 pytorch \ aten \ SRC \ TH/generic/THTensor CPP: 689

When testing new images, always prompt this error, test images only RGB three channels, consult a great god answers

CodePudding user response:

Hello I also encountered the same problem is solved this problem?
  • Related