Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

How to specify interpolation in transforms.resize? #203

Open
kevinz8866 opened this issue Mar 19, 2023 · 0 comments
Open

How to specify interpolation in transforms.resize? #203

kevinz8866 opened this issue Mar 19, 2023 · 0 comments

Comments

@kevinz8866
Copy link

Area Select

react-native-pytorch-core (core package)

Description

Hi,

So I wish to change the interpolation argument when using the resize() function in the transforms interface. The current default seems to be transforms.InterpolationMode.BOX. But as I supplied transforms.InterpolationMode.BICUBIC, it raised error saying that this object is undefined. So how should I change the interpolation when using resize()? Is this functionality currently supported? Thanks!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant