Code Monkey home page Code Monkey logo

Comments (7)

myfun-deep avatar myfun-deep commented on August 17, 2024

Hello!
I have the same problem as you . My data size is 720 * 1280. I modified the data.rgb_ shape, change it to 720 * 1280 * 3, but it doesn't work. I have another question, The size of KITTI dataset is 384 * 1280, but in the code, the rgb_shape is 28812803?

from visualdet3d.

tuclen-3 avatar tuclen-3 commented on August 17, 2024

Hi @myfun-deep,
Did you fix your calibration when you modified image?

from visualdet3d.

myfun-deep avatar myfun-deep commented on August 17, 2024

calibration? I created my own dataset in the form of kitti.

from visualdet3d.

tuclen-3 avatar tuclen-3 commented on August 17, 2024

Hi @myfun-deep,
I am just starting out in 3D field but if i guess i am not wrong then when we resize the image the intrinsic matrix will also change because the intrinsic matrix has 2 parameters as an optical center point that equai half length and width of image. Of course, when you resize image, that optical center change too. And we can't use old calibration to eval our new image. I think so. If I have wrong, please let me know. But in code of @Owen-Liuyuxuan have Preprocess class. I can see 2 process that CropTop and Normalize. In CropTop have an parameter is image_gt, I don't know what it is because Croptop with size is 100 will change image and don't change calib because I don't have image_gt and Normalize will make my image resize become black I can't see anything from my image.

from visualdet3d.

myfun-deep avatar myfun-deep commented on August 17, 2024

Hi @tuclen-3
I agree with you!But I don't know how to use my own data to replace KITTI. How to use my own data to train it

from visualdet3d.

Owen-Liuyuxuan avatar Owen-Liuyuxuan commented on August 17, 2024

The problem is formulating how you would like to reshape your image for training/testing.

For the KITTI dataset, the idea is to crop the top 100 pixels and then resize to 288 * 1280. Or some methods will directly resize the image to 384 * 1280.

For the design logic, most of you are correct that all input images and calibration matrix will be adjusted based on how we deal with the main images.

For 1920 * 1280, you can directly resize images to the shape you want, and the code should run fine.

from visualdet3d.

tuclen-3 avatar tuclen-3 commented on August 17, 2024

Hi @Owen-Liuyuxuan,
So, i can use your Preprocess class with 2 processes are ConvertFloat and Resize (don't use CropTop and Normalize class). Right?

from visualdet3d.

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.