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
test new labels on this network #14
Comments
Hi, I do not really do to much with NN, on a lucky day I might run a TensorFlow example without fully knowing what it is doing 😹 Random unhelpful Tech-support guess: Update nvidia drivers 🔧 -> I assume you might have me mixed up with another colleague, who actually knows about this 😁 |
Hi,
As a first check, you may test
in your python shell to verify whether you have your GPU configured properly |
@SushkoVadim @edgarschnfld /pytorch/aten/src/ATen/native/cuda/ScatterGatherKernel.cu:312: operator(): block: [164,0,0], thread: [7,0,0] Assertion |
Thanks for posting the error message. |
thanks for your reply. |
Hi, Your error indicates that something is wrong with the indices of the label maps or number_of_channels. In particular, it means that the magnitude of the highest index (which equals the number of channels in the one-hot version) is out of range. Use you favourite debugger or print statements to compare the original data with the new data that you are trying to use. The new label maps should have the same size, the same minimum and maximum value (when looking at many label maps) or the same number of channels (in the one-hot format), as well as the same data type (long or float) as the original data in the original code. You might find that sometimes the lowest label index is -1, sometimes 0 (all label indices are shifted by 1), depending on the dataset or where you get it from. |
@edgarschnfld @taesungp |
finally worked : i just changed the values of each of my label based on the original label map that had only 151 different labels. cv2.imwrite('/content/1.png',ff) |
hi dear @SebastianSchildt @SushkoVadim
I used another network to create label maps from images (this network: https://github.com/CSAILVision/semantic-segmentation-pytorch) then fed your oasis network with them in test mode, but it doesn't work. it says:
[RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED]
would you please help ?
thank you so much
The text was updated successfully, but these errors were encountered: