Open sunny0414 opened 4 years ago
If I set the sv_pred flag as true,then,if I need to write additional codes to disaplay the segmentation mask? I'm sorry to ask the Inferior question and I'm just satring learn the deep learing.
You can find the segmentation mask under the given sv_dir without any extra codes.
Thanks you sir,I find the dir.
Hi @sunny0414 How did you inference on your own images?
We save the segmentation mask in the testing process.
If you want to visualize the results, you can set the sv_pred flag as true.
https://github.com/HRNet/HRNet-Semantic-Segmentation/blob/f7dab6fb6344bbe9fee6606955c526f2e969931b/lib/core/function.py#L103
https://github.com/HRNet/HRNet-Semantic-Segmentation/blob/f7dab6fb6344bbe9fee6606955c526f2e969931b/lib/core/function.py#L154