NVlabs / SPADE

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

RuntimeError: Expected object of scalar type Byte but got scalar type Bool #86

Open vdhyani96 opened 5 years ago

vdhyani96 commented 5 years ago

While creating 'Instance Map' in Pix2PixModel.get_edges. Got this error while generating images using the pre-trained model for COCO_STUFF with the sample images. What could be the issue? Is there a need for code changes? Or is it a data issue?

vdhyani96 commented 5 years ago

Fixed the issue after which the code ran successfully on the sample COCO datasets. Pull request for the fix is created here: https://github.com/NVlabs/SPADE/pull/89

@taesungp - Please consider reviewing and merging it.

freealise commented 4 years ago

Did the same. Does not throw the error any more but stops responding.