matlab-deep-learning / pix2pix

Image to Image Translation Using Generative Adversarial Networks
Other
30 stars 12 forks source link

multiple images as inputs #15

Open XianLi1214 opened 3 years ago

XianLi1214 commented 3 years ago

Is it possible to use multiple images as input for this code? The temporal information between images are needed in my work, thanks in advance.

justinpinkney commented 3 years ago

It would certainly be possible by just stacking the multiple images in the channels dimension, e.g. instead of and RGB image having 3 channels you could pack 2x RGB images from sequential frames into 6 channels. You'd have to prepare the data appropriately. Clearly the number of images you could pack together in this manner would be dictated by the GPU memory you have available for training.

mehrnooshkarimi commented 3 years ago

when i use the code and i want to install the datasets i faced on this error: Downloading facades dataset...Error using websave (line 98) Could not access server. http=127.0.0.1.

Error in p2p.util.downloadFacades (line 29) websave(tempZipFile, dataUrl);

justinpinkney commented 3 years ago

Sounds like maybe there is an issue with your connection? You could try looking in that file and downloading the facades dataset (the url is in there) and then running the post processing steps manually.