Code Monkey home page Code Monkey logo

Comments (7)

sconlyshootery avatar sconlyshootery commented on June 3, 2024

self.K = np.array([[0.58, 0, 0.5, 0],

Did you modify the normalized intrinsics here

from featdepth.

sconlyshootery avatar sconlyshootery commented on June 3, 2024

mono/datasets/folder_dataset.py
BTW, you can refer to this code to build your own dataloader for your custom dataset.

And you can show me your codes about dataloader, I will help you review it.

from featdepth.

cocacola0 avatar cocacola0 commented on June 3, 2024

Thank you for your kind response! My custom dataset is "Nuscenes" and there is camera intrinsic parameter for every sample, so I can call a function get_intrininsics in the getitem of the dataloader. As you said, I have build a custom dataloader for Nuscenes, very similar to your cityscape_dataset.py. However, I don't think that the problems lies in the dataloader, since this would not explain why I can get good results for some input sizes.

from featdepth.

rxqy avatar rxqy commented on June 3, 2024

Hi @cocacola0 .
I also met a similar problem. The input resolution for posecnn is hard coded here.

pose_feats = {f_i: F.interpolate(inputs["color_aug", f_i, 0], [192, 640], mode="bilinear", align_corners=False) for f_i in self.opt.frame_ids}

I think that's why you can get reasonable results when you keep the aspect ratio, but black with other sizes.

from featdepth.

cocacola0 avatar cocacola0 commented on June 3, 2024

Thank you @rxqy . I have already removed the hard coded resolution from there, still I am facing the same issue.

from featdepth.

sconlyshootery avatar sconlyshootery commented on June 3, 2024

Someone tell me that the issue can be solved in this way, 'Later I figured it out that there was nothing wrong with the code. Due to a change in nvidia-driver version, I was facing this issue. I was able to solve this issue by installing numba==0.43.1. ’
You may try.

from featdepth.

sconlyshootery avatar sconlyshootery commented on June 3, 2024

I will close this issue, you can reopen it if you have further question.

from featdepth.

Related Issues (20)

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.