-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I plug the triplet loss you proposed into my own depth estimation model? #8
Comments
Hello, @breknddone , Thanks for your interests in our work! To plug the triplet loss into your own model, you can refer to the code comment! The pluging is really simple! This git commit is about the guidence (I added two lines of comments in the code which you can follow). |
Hello, @xingyuuchen , I added the two functions compute_sgt_loss and compute_affinity, but during training, the error is reported as follows: Traceback (most recent call last): It seems that this answer cannot be achieved. My data set is not KITTI, but RobotCar and Nuscenes, so I don’t understand how to deal with this situation. |
The KeyError is because you tried to load the key that did not exist. |
I checked my code and it was indeed not loaded. How should I modify it? |
In case that you have other datasets, you must customize the dataloader class, to meet the specific data format of that dataset, like I did in this directory (there are different dataset.py file used for different datasets). |
RT,thanks
The text was updated successfully, but these errors were encountered: