Inconsistent Visualisation? #219
-
Hi, I'm using image segmentation template, and modified the exp_logger so it use the trainer rather than the evaluator. I'm doing this because I'm a total newbie on this subject and just begin to learn to use pytorch and everything, so I want to see which image is being trained, and stuff. I'm aware it will slowdown the system, and everything, but I need it to see so I can understand it better. code-generator/src/templates/template-vision-segmentation/main.py Lines 130 to 141 in f137219 But I found the images on tensorboard kind of strange. Please look at the last column. It looks like it's inverted?
So my question is, is this by design? I mean like dropout or something? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Visualization should create a grid described here: code-generator/src/templates/template-vision-segmentation/vis.py Lines 50 to 58 in f137219
@idkwid2022 why do you have GT green masks for col 1 and 3 and red for col 4 ? |
Beta Was this translation helpful? Give feedback.
-
I suspected that the images are part of the problem, so I remove all other images except some. And I found image 6, 12, 14, 19, 21, 26, 38 are all inverted: On tensorboard (These are only two grids for sample, the others are also inverted): I don't understand this. The images were all made by the same process, and all the same formats. |
Beta Was this translation helpful? Give feedback.
-
Nvm, could you please forget this. It's my mistake. I added I think it was because I want to show the image while debugging the code, and forgot to remove it.
I'm sorry. Thank you for everything. |
Beta Was this translation helpful? Give feedback.
Nvm, could you please forget this. It's my mistake.
I added
.quantize(256, method=Image.Quantize.FASTOCTREE)
on loading the mask on data.py.I think it was because I want to show the image while debugging the code, and forgot to remove it.
I'm so…