ykasten / layered-neural-atlases

MIT License
592 stars 65 forks source link

How to deal with video with height=768 and width=432 #4

Open CrossLee1 opened 3 years ago

CrossLee1 commented 3 years ago

Thanks for your excellent work and source code.

I saw that in your provided config.json, height is 432 and width is 768. But in my case, the height is 768 and width is 432, and I only changed the corresponding config file as: "resx": 768, "resy": 432, However, the reconstructed video seem strange and cannot work well.

Wonder if there are other codes I should change when I deal with this portrait video. Thanks a lot ~

dolev104 commented 2 years ago

For a portrait video as you described you would need to define "resx": 432, "resy": 768

apletea commented 1 year ago

On a portrait video there is a bug that it do wrong mapping

eyaler commented 8 months ago

@apletea did you ever solve this?

apletea commented 8 months ago

@apletea did you ever solve this?

Nope.Decided to rescale all vertical video to horizontal. Anyway steel it's not an only problem of aproach. Later faced that mask mapper didn't learns properly and it's much better to cut of model for mask mapping and use some 3rd solution to predict mask for objects