pix2pix icon indicating copy to clipboard operation
pix2pix copied to clipboard

CityScapes of Data preprocessing

Open Ricelll opened this issue 5 years ago • 1 comments

@phillipi when Training the model on CityScapes(photo->label), I have a question the how to prepare the pair of data(input,target): {RGB photo,the ont-hot label map},size is {(3,2048,1024),(30,2048,1024)} or {RGB photo,the ont-hot label map},size id {(3,2048,1024),(1,2048,1024)} or any else??

Ricelll avatar Mar 13 '19 10:03 Ricelll

In pix2pix and CycleGAN, we treat the label map as an RGB input (3 channels). It works fine for Cityscapes but might not work once you have many categories.

junyanz avatar Mar 25 '19 04:03 junyanz