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

I modified your code to train my crack data set and encountered some problems #11

Closed
wanjianr opened this issue Sep 13, 2019 · 2 comments
Assignees

Comments

@wanjianr
Copy link

My dataset n_channel = 2 (cracks or cracks), I like your code training cityscapes in the code, change the n_channels to 2, but the program is running to The Times wrong one_hot tensor input to the model (pictured), I find a solution, the Internet has a cudnn version of the problem, but I can run successful your source code, so I hope to get your help, thank you!
problem

@aniket-agarwal1999 aniket-agarwal1999 self-assigned this Sep 18, 2019
@aniket-agarwal1999
Copy link
Collaborator

Hi @wanjianr I am not able to clearly get the problem you are facing, maybe you can elucidate a bit more. If it related to the wrong number of channels problem, you may once see the make_one_hot function in utils.py.

@aniket-agarwal1999
Copy link
Collaborator

Closing it for now

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