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

Error on custom dataset #3

Open
israrbacha opened this issue Jul 13, 2021 · 3 comments
Open

Error on custom dataset #3

israrbacha opened this issue Jul 13, 2021 · 3 comments

Comments

@israrbacha
Copy link

I tried with celebAmask-HQ dataset (MaskGAN) with 19 lebel_nc and got a strange error:
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED
terminate called after throwing an instance of 'c10::Error'
what(): CUDA error: device-side assert triggered

after searching for a while i found that someone posted the same kind of error on "pix2pixHD" model but i am yet unable to solve it. kindly help if anyone knows. BTW Facades dataset work fine so there is no problem with CudNN or CUDA i think.

@TomatoBoy90
Copy link

I also got this erro,have you resolve this isssues?

@JanOdenthal
Copy link

For me the problem was, that I used RGBs as Input and not one-hot-coded labels. Using the "--no_one_hot" option solved the issue for me.

@faziletgokbudak
Copy link

For me the problem was, that I used RGBs as Input and not one-hot-coded labels. Using the "--no_one_hot" option solved the issue for me.

Does that mean your inputs are generic RGB images? What other options have you modified? I try to run the network for RGB or gray scale input images and don't know what to do with "--label_nc" option as, I assume, it defines the number of channels of input images.

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

4 participants