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

DepthFormer results on NYU dataset #34

Closed
mshaheryarmalik opened this issue Jul 12, 2022 · 2 comments
Closed

DepthFormer results on NYU dataset #34

mshaheryarmalik opened this issue Jul 12, 2022 · 2 comments

Comments

@mshaheryarmalik
Copy link

Hello,

I trained DepthFormer model on NYU dataset after processing the raw data from other work and made few modifications to code such as:

  • Added GradientCumulativeOptimizerHook in optimizer_config (DepthFormer config) to handle larger batch size I tired with 16)
  • Batch size samples_per_gpu=4, workers_per_gpu=4 here
  • Added this to checkpoint_config create_symlink=False here

However, when I try to predict depth with newly trained model, it just gives strange results that if you can explain. I have attached training logs for your reference and one prediction example from newly trained model below.

data_nyu_bathroom_rgb_00045

P.S: I was able to get good results with BTS with same code modifications.
20220708_175744.log

@zhyever
Copy link
Owner

zhyever commented Jul 13, 2022

This is related to the unsolved issue of convergence. Some discussions can be seen in Issue #20, #32. As you can see from the log files, the sigloss is not decreasing and retain the value of about 3.

While I have tried several methods to solve this issue, they are futile and the problem exists. Now, the simplest way is to run the training script several times. Whenever you see that the loss is less than 3 (can decrease to 0.x) in the first several printed log info, it means that the model can be successfully trained in the following training stage.

Refer to Issue #20, #32 for more details.

@zhyever
Copy link
Owner

zhyever commented Jul 23, 2022

Close for now.

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