GithubHelp home page GithubHelp logo

Comments (9)

matsuren avatar matsuren commented on July 4, 2024

Thank you for your comment.

Could you check if gt_idepth has the collect value? Because gt_invd_idx is calculated by the following code
gt_invd_idx = converter.invdepth_to_index(gt_idepth)

Thank you,

from omnimvs_pytorch.

matsuren avatar matsuren commented on July 4, 2024

Also, please consider using the official implementation available here.

from omnimvs_pytorch.

ouhuajing avatar ouhuajing commented on July 4, 2024

Thank you very much for sharing.
I encountered a problem that the resulting predicted disparity maps were completely black, while training the data without pre-trained weight file. By printing the data, I found that all the data in tensor "gt_invd_idx" from training dataset were 0, and the data in tensor "pred" which is the output of network model was 0~1 . Can I ask what is wrong? Thank you!

I encountered the same problem and the gt_idepth is so small less than 0.01. Do you have a solution ?

from omnimvs_pytorch.

matsuren avatar matsuren commented on July 4, 2024

Could you visualize gt_idepth using something like plt.imshow to make sure that you load dataset correctly? If all values are small, I guess you failed to load dataset.

from omnimvs_pytorch.

ouhuajing avatar ouhuajing commented on July 4, 2024

Could you visualize gt_idepth using something like plt.imshow to make sure that you load dataset correctly? If all values are small, I guess you failed to load dataset.

7/5000
Thank you for your reply,I revise the invdepth load way in the function load_invdepth(),
invdepth=invd_value/ 255.0 * 1.818 + np.finfo(np.float32).eps
now I can train the network.

from omnimvs_pytorch.

Lsm67 avatar Lsm67 commented on July 4, 2024

Thanks a million to both of you for sharing.
Referring to your suggestions, I have finished a training model for these days. After modifying the function load_invdepth(),invdepth_to_index(),index_to_invdepth, I trained a model on sunny dataset for 200 epochs, 900 training pictures, although the evaluation "a1" is 54.8 .
The final disparity map is not as good as the one which the author shows. Maybe because the training data set is not enough.
thank you!!!

from omnimvs_pytorch.

ouhuajing avatar ouhuajing commented on July 4, 2024

Thanks a million to both of you for sharing.
Referring to your suggestions, I have finished a training model for these days. After modifying the function load_invdepth(),invdepth_to_index(),index_to_invdepth, I trained a model on sunny dataset for 200 epochs, 900 training pictures, although the evaluation "a1" is 54.8 .
The final disparity map is not as good as the one which the author shows. Maybe because the training data set is not enough.
thank you!!!

Thank you very much. Could you please give the modified function code?

from omnimvs_pytorch.

matsuren avatar matsuren commented on July 4, 2024

Hi @Lsm67,

Thank you for checking. As you mentioned, the number of disparity is smaller than the original paper because of #1.

Thanks,

from omnimvs_pytorch.

matsuren avatar matsuren commented on July 4, 2024

I think it's ok to close now.

from omnimvs_pytorch.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.