-
Notifications
You must be signed in to change notification settings - Fork 24
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
shocked by the initial val result #18
Comments
Hi, the depth map is aligned with GT depth during evaluation. |
Hi, I read your blog and noted that you have run the structdepth before,and I met some problems when I run it. It said 'normD_down = D_down + norm_down RuntimeError: The size of tensor a (378) must match the size of tensor b (281) at non-singleton dimension 2'.I don't know where I made errors.And I'm a beginner,the first time to run,really hope you can give some help.Thanks! |
Hi, I remember I changed these two places before, hope this help. By the way, did you run the monodepth2 on nyu2 successfully? |
Wow!It's you!Thanks a lot!Haven't yet.And I want to do the indoor depth estimation for my undergraduate final year paper,but my programming skill is so poor and I discovered the structdepth,and I did this these days.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年3月17日(星期五) 中午1:20
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [svip-lab/Indoor-SfMLearner] shocked by the initial val result (Issue #18)
Hi,
rgb = torch.permute(rgb, (0, 2, 3, 1))
rgb_down = self.pdist(rgb[:, 1:, :, :], rgb[:, :-1, :, :])
rgb_right = self.pdist(rgb[:, :, 1:, :], rgb[:, :, :-1, :])
...
aligned_norm = torch.permute(rgb, (0, 2, 3, 1))
norm_down = self.pdist(aligned_norm[:, 1:, :, :], aligned_norm[:, :-1, :, :])
norm_right = self.pdist(aligned_norm[:, :, 1:, :], aligned_norm[:, :, :-1, :])
I remember I changed these two places before, hope this help. By the way, did you run the monodepth2 on nyu2 successfully?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Problems solved!Thanks!I can run it! |
I understand this feeling of confusion. But I am not expert in depth estimation(maybe beginner plus), and your expectations of my abilitiy make me a little nervous. I have run the sfmlearner indoor and structdepth before, if you met questions, feel free to ask, and i will reply if i see it. |
OK,sincerely thanks for your help!
…---Original---
From: ***@***.***>
Date: Sat, Mar 18, 2023 10:15 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [svip-lab/Indoor-SfMLearner] shocked by the initial val result(Issue #18)
I understand this feeling of confusion. But I am not expert in depth estimation(maybe beginner plus), and your expectations of my abilitiy make me a little nervous. I have run the sfmlearner indoor and structdepth before, if you met questions, feel free to ask, and i will reply if i see it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
A1: |
Thanks!I can run it! Sincerely thanks for your help! |
i suggest you could set the breakpoint and debug, i cannot find the reason from this information. maybe gradient explode or other reason. i have not met this case before. |
OK,thanks! |
I make a new one and the problem disappeared about the NameError,I think maybe I changed something but I didn't notice that.And I'm running to see if that problems will occur again. |
ctrl + f search where val_dataset is used, comment it. |
Thanks! Problems disappeared miraculously. I created a new one,and it didn't occur.But the Nan problems still exist sometimes, and sometimes it can run. I don't know why. Hope it won't occur again.And now I'm going to write the eval_res_for_each_epoch.txt just as the structdepth do,because it's not convenient to see.And I also want to use the tensorboard on the server,but I couldn't open the website it provides,do you have any solutions?Thanks! |
A1:This needs you set the breakpoint and debug, or search in the website or ask person who is familiar with this bug.There are many reasons that can cause nan problems, and i have limited experience in deep learning. |
Q1:OK,Thanks! |
the command "tensorboard with --ip = 0.0.0.0" works for me |
Ok,thanks!I'll find other solutions,this is in no hurry.
…---Original---
From: ***@***.***>
Date: Sat, Apr 29, 2023 17:30 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [svip-lab/Indoor-SfMLearner] shocked by the initial val result(Issue #18)
the command "tensorboard with --ip = 0.0.0.0" works for me
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Before training, the function val evaluate the initial model on the NYUv2 test set, and the result is
abs_rel | sq_rel | rmse | rmse_log | a1 | a2 | a3 |
& 0.323 & 0.448 & 1.002 & 0.365 & 0.520 & 0.783 & 0.905
That shocks me, am i wrong ? why the initial model perform pretty well on the NYUv2 test set ?
The text was updated successfully, but these errors were encountered: