Coder Social home page Coder Social logo

Comments (3)

Yuliang-Zou avatar Yuliang-Zou commented on May 24, 2024

Hi @wanghao14 , actually the consecutive frames are concatenated together during data preprocessing. So we can make sure we can get consecutive frames even if the data is shuffled.

from df-net.

wanghao14 avatar wanghao14 commented on May 24, 2024

@Yuliang-Zou Sorry, I still have some questions.
In the function named format_file_list, the path to the images is stored in the list file_list['image_file_list'], which looks like

['$data_root$/2011_09_26_drive_0001_sync_02/0000000002.jpg', '$data_root$/2011_09_26_drive_0001_sync_02/0000000004.jpg', '$data_root$/2011_09_26_drive_0001_sync_02/0000000005.jpg',..., '$data_root$/2011_10_03_drive_0042_sync_03/0000001166.jpg']

.
Then, it will be used as the input to tf.train.string_input_producer with shuffling, and I think the sequence looks like

['$data_root$/2011_09_26_drive_0001_sync_02/0000000005.jpg', '$data_root$/2011_10_03_drive_0042_sync_03/0000001066.jpg', '$data_root$/2011_09_30_drive_0028_sync_03/0000002128.jpg', '$data_root$/2011_09_26_drive_0001_sync_02/0000000036.jpg', ...]

, which means that the order of image sequence is not consecutive. Then in the function named unpack_image_sequence, the middle(3th) image is treated as target image and the first two images and last two images are treated as source images. I don't think these five images are consecutive, and this is where I am confused. Could you please explain this part? Or some details of your data preprocessing? Because I am new to tensorflow, my question may be naive. I hope it doesn't bother you.

from df-net.

Yuliang-Zou avatar Yuliang-Zou commented on May 24, 2024

You can see the data preprocessing in data/kitti/kitti_raw_loader.py. We actually concatenate consecutive frames before we start training.

from df-net.

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.