burn icon indicating copy to clipboard operation
burn copied to clipboard

[Feature request] Implement interpolate function

Open shanmo opened this issue 2 years ago • 7 comments

Feature description

Implement interpolate

Feature motivation

Interpolation is helpful for downsampling/upsampling the feature maps

shanmo avatar Jul 02 '23 01:07 shanmo

Perfect. I think this could be also used by Resize operator filed here: https://github.com/burn-rs/burn/issues/510

antimora avatar Jul 25 '23 03:07 antimora

I'll implementing a first version with bicubic using convolution needed for resize onnx operator.

antimora avatar Jul 27 '23 01:07 antimora

Is someone currently working on this function?

Luni-4 avatar Aug 16 '23 09:08 Luni-4

I don't think so, feel free to assign yourself if you want :)

nathanielsimard avatar Aug 16 '23 14:08 nathanielsimard

@Luni-4 did you build this in the end?

dcvz avatar Dec 08 '23 14:12 dcvz

@dcvz no it is done.

antimora avatar Dec 08 '23 15:12 antimora

@dcvz

Nope, I do not have much time in this period, if you want to implement that, no problem for me

Luni-4 avatar Dec 09 '23 20:12 Luni-4

Implementation using transpose Conv in pytorch: https://gist.github.com/mjstevens777/9d6771c45f444843f9e3dce6a401b183

antimora avatar Jan 30 '24 19:01 antimora