daniilidis-group / EV-FlowNet

Code for the paper "EV-FlowNet: Self-Supervised Optical Flow for Event-based Cameras"
Other
169 stars 44 forks source link

could extract_rosbag_to_tf.py extract the normal bag file downloaded from CED dataset? http://rpg.ifi.uzh.ch/CED.html And how to use it? #5

Open yuanhaowang1213 opened 5 years ago

yuanhaowang1213 commented 5 years ago

I have tried python extract_rosbag_to_tf.py --bag driving_city_3.bag --prefix ./ --output_folder ./drivingcity/

but after 'processing bag' The output is zero?

And the link to mvsec_data is invaild now.

alexzzhu commented 5 years ago

The code itself should work on the CED dataset. I think the main change is that you need to modify the topic names here: https://github.com/daniilidis-group/EV-FlowNet/blob/124fdd3e4e3d18ea20d912384f4a35a83c722f10/data/extract_rosbag_to_tf.py#L181. Instead of having four topics, there should be two, since it's a monocular dataset. One for the grayscale images, and one for the events.

You'll also need to remove the differences between 'left' and 'right' in the rest of the script.

Do you mean the mvsec_data folder? That is empty intentionally, it needs to be populated by extract_rosbag_to_tf