Skip to content
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 to fine-tune DPVO on your own dataset and achieve better results? #91

Open
JingruiYu opened this issue Feb 1, 2025 · 1 comment

Comments

@JingruiYu
Copy link

Hello, Great work! so I tried it on my own dataset, but the results are quite strange.
I prepared the data in the format of TartanAir. Under each scene folder, there are depth_left folders, image_left folders, and pose_left.txt file.
The format of the pose_left.txt file is tz, tx, ty, qz, qx, qy, qw. I noticed that the code adjusts the columns when loading the pose txt file.
Additionally, the resolution of my images is different from that of TartanAir, so I modified the code to read the intrinsic parameters from a different location.
After preparing the data, I used the code like here to generate the pickle file.
BTW, I removed the operation poses[:,:3] /= DEPTH_SCALE, thinking it wouldn't have a significant impact.
Then, I used a train command almost identical to the one in the readme, except that I reduced the --lr to 0.00004 for fine-tuning. I mixed my own data with the TartanAir data for this process.

However, the trajectory results plotted during the fine-tuning process are quite poor. For example, they look like this.
step=8000
Image
step=16000

Image step=30000 Image

But before fine-tuning, the results obtained using the downloaded model were like this.

Image

In other words, the results have become worse. Under the same training steps, the results on the TartanAir data were perfectly normal.

Image

I'm not sure where I might have gone wrong or what the reason could be. Thank you!

@akramsalim
Copy link

How did you prepared your dataset in Tartan format? Was the dataset RGB and Lidar then your converter them into RagB-D ? Or how did you do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants