NVlabs / SPADE

Semantic Image Synthesis with SPADE
https://nvlabs.github.io/SPADE/
Other
7.61k stars 980 forks source link

why train throws runtime error? #126

Open jmssxgp opened 4 years ago

jmssxgp commented 4 years ago

pix2pix_model.py, line 240, in get_edges edge[:, :, :, 1:] = edge[:, :, :, 1:] | (t[:, :, :, 1:] != t[:, :, :, :-1]) RuntimeError: expected object of scalar type Byte but got scalar type Bool for argument #2 'other'