tub-rip / event_based_optical_flow

The official implementation of "Secrets of Event-based Optical Flow" (ECCV2022 Oral and IEEE T-PAMI 2024)
GNU General Public License v3.0
138 stars 13 forks source link

configuration for higher resolution events #24

Closed Goulustis closed 7 months ago

Goulustis commented 9 months ago

Thanks for the great work!

I'm trying to run the method on some higher resolution data. But I'm getting terrible results. Do you have any suggestion as to what configuration to use?

Resolution: 720 x 1280 termination loss value: 8152.2227

Further, what are the requirement for "crop_height" and "crop_width" in the config? I'm getting errors here where i is outside motion0. It'll run if I use a multiple of the values in the given config.

shiba24 commented 9 months ago

@Goulustis thank you for the questions. I do have working config and examples for the 1M event camera (720x1280), but the codes are not released in this repository yet. Which dataset are you using?

crop_height and width: the largest integer which is smaller than the original image shape and is dividable with 2 ** scale So in 720x1280 case, an example is

    scale: 5
    crop_height: 704
    crop_width: 1280
shiba24 commented 7 months ago

Closing it for inactivity. Let me know if you still have questions.