You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main idea is to log the semantic segmentation (IOU, Accuracy) metrics during training so that they can be compared with the validation metrics in addition to the loss.
Changes
Added a SemSegEvaluatorTrain hook that writes the training metrics to the tensorboard and wandb.
Added the hook in the default configuration for scannetpp methods.
Semantic segmenation models now also return the seg_logits during training for evaluation.
The main idea is to log the semantic segmentation (IOU, Accuracy) metrics during training so that they can be compared with the validation metrics in addition to the loss.
Changes
Added a SemSegEvaluatorTrain hook that writes the training metrics to the tensorboard and wandb.
Added the hook in the default configuration for scannetpp methods.
Semantic segmenation models now also return the seg_logits during training for evaluation.
@Gofinge Alright, sounds good thanks! We ran into an issue today, when trying to reproduce some evaluation results with stored checkpoints for configs/scannetpp/semseg-spunet-v1m1-0-base.py , not sure yet, what else isn't working. This is the issue:
Running the evaluation in the latest main branch gives 0.4 mIou
After some debugging, I was able to narrow it down to differences in the datasets/transform file. I.E I replaced the datasets/transform file in the working branch with the latest datasets/transform file and adjusted the configuration accordingly, then got the 0.4 mIou.
Do you have any suggestions on how to proceed with this? Should I open a separate issue?
@Gofinge Alright, sounds good thanks! We ran into an issue today, when trying to reproduce some evaluation results with stored checkpoints for configs/scannetpp/semseg-spunet-v1m1-0-base.py , not sure yet, what else isn't working. This is the issue:
Running the evaluation in the latest main branch gives 0.4 mIou
After some debugging, I was able to narrow it down to differences in the datasets/transform file. I.E I replaced the datasets/transform file in the working branch with the latest datasets/transform file and adjusted the configuration accordingly, then got the 0.4 mIou.
Do you have any suggestions on how to proceed with this? Should I open a separate issue?
The change I think maybe NormalizeColor. Previous range is [-1, 1] but the latest version is [0,1].
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this PR,
The main idea is to log the semantic segmentation (IOU, Accuracy) metrics during training so that they can be compared with the validation metrics in addition to the loss.
Changes
SemSegEvaluatorTrainhook that writes the training metrics to the tensorboard and wandb.scannetppmethods.seg_logitsduring training for evaluation.Demo
The full logs can be found here.
Note this PR depends on another open PR, which can be found here.