xingyuuchen / tri-depth

[WACV 2023] Self-Supervised Monocular Depth Estimation: Solving the Edge-Fattening Problem
GNU General Public License v3.0
77 stars 6 forks source link

tri trainer #4

Closed Han-SHS closed 1 year ago

Han-SHS commented 1 year ago

we find some error when we use your code to training our model,

‘seg_target = inputs[('seg', 0, 0)]‘show that there is no ’seg‘ in the inputs.

we notice that your code is based on FSRE and manydepth, so we copy the FSRE dataloader to tri-depth and debug the code, After making modifications to the data loader, we were able to successfully train our model using the provided code. We are curious to know if there are alternative methods for utilizing this code that we could explore

xingyuuchen commented 1 year ago

Hello @Han-SHS ,

Thanks for your interest! Yes, you are right. Issue 3 also had the same problem. Please do not forget to modify the file kitti_dataset.py and mono_dataset.py to load the segmentation images. Here is the line we load the segmentations.

However, this is just to load the segmentations as input, I do not get your point why you want other alternative methods?

Best, Xingyu

Han-SHS commented 1 year ago

thanks for you reply

I saw the description of Issue 3, I'm just worried whether my above mentioned method of data loading with FSRE will affect the result

xingyuuchen commented 1 year ago

thanks for you reply

I saw the description of Issue 3, I'm just worried whether my above mentioned method of data loading with FSRE will affect the result

I don't think this will affect the results, as the loading process of segmentations is not involved in the model training.

xingyuuchen commented 1 year ago

I'm closing this issue, feel free to reopen it again.