-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question about the visualization of the result #1
Comments
Hi @Ajeosi , did you find a solution for that? I'm facing the same problem with 3 classes. |
Any solution? |
I was able to solve this issue by changing the Reshape args for last layers of the model.
|
Thank you very much!! |
I have trained about 150 epochs, I defined a test visualize which is following below, but the results seems something wrong, colors are same as authors, @Ajeosi @shabtayor how do you visualize your results?
|
Thank you for your code for segmentation of CamVid data.
I ran the code without any change (10 epochs, Adam optimizer).
My question is,
How can I visualize the predicted image with 12 classes with 12 colors well?
All I get is the strange image with multiple horizontal lines.
When the imgs_mask_test.npy is made after running the code, it is (233,172800, 12) array.
To visualize the result of 1st sample of test set, , I reshaped this to (360,480,12) and,
np.argmax(reshaped image, axis=-1) was done to make each pixcel of (360,480) to represent the each class whose probability was highest.
When I plot the image np.argmax(~~~) by pyplot.imshow, I get the strange image with multiple horizontal lines.
Is there any good way to make a picture made of 12 colors representing each object, without horizontal lines?
(original image of test set)
(annotated image of test set)
(result with horizontal lines by prediction)
Thank you.
The text was updated successfully, but these errors were encountered: