Closed renezurbruegg closed 3 years ago
I might have messed up merging the main branch before... Ignore all commits 250f066 - b06d994 :D
@renezurbruegg since we are open-sourcing now, is there anything in here that we don't already have?
@hermannsblum Without digging through all the new code, I think the Depth Estimation + Consistency loss might be missing. However it's not really part of the paper and there was some additional work done on it iirc.
This will probably be a long pull request, so you might want to grab a coffee before you start :coffee: :)
There are a few main changes here:
Changed the dataloader to load depth + filtered images: I created a separate pull request for this as i assume that some changes are needed: See #16
Experiments.py I created a class Experiment.py which should provide all the information that is needed for a given experiment. Each new Experiment (e.g. SemSegWithDepth / SemSegWithPseudoLabel) can then overwrite specific functions (e.g. get loss for PseudoLabels). All experiments can request specific parameters using the argparser interface and the _addArguments() function.
Losses I created new losses based on the papers i showed during the weekly meetings. Additionally i also created an Ignorant Wrapper to ignore NaN values inside the loss ground truth
Models I added a DeeplabV3Plus model with depth/semseg prediction as i was having issues changing the PSP model. I plan to implement a multi task PSP model later.