Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending pix2pix and CycleGan to Hyperspectral images #202

Closed
1edv opened this issue Feb 6, 2018 · 1 comment
Closed

Extending pix2pix and CycleGan to Hyperspectral images #202

1edv opened this issue Feb 6, 2018 · 1 comment

Comments

@1edv
Copy link

1edv commented Feb 6, 2018

Hi,

Any advice for someone hoping to extend pix2pix and CycleGan to images with more than three channels in the input/output images ( e.g. : hyperspectral images ) ?

Thanks !

@junyanz
Copy link
Owner

junyanz commented Feb 10, 2018

Here are three steps to load your own data.

  • change the parameters --input_nc and --output_nc to the number of channels in your input/output images.
  • Write a custom data loader (It is easy as long as you know how to load your data with python). Here is one we wrote.
  • Add your data_loader to the file custom_dataset_data_loader.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants