huggingface / huggingface/candle

Unsupported `linear` `Resize` node with `candle_onnx`

Open
#3,153 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

Trying to run frame interpolation model with `candle_onnx`, and getting error `Unsupported resize mode: linear`.

Example onnx node:

```
- /core_model/Resize: Resize
- coordinate_transformation_mode: s="half_pixel", i=0
- cubic_coeff_a: f=-0.75, i=0
- mode: s="linear", i=0
- nearest_mode: s="floor", i=0
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies candle_onnx Resize handling and the unsupported `linear` mode, but names no source file or test. Start by locating the Resize implementation and the code producing this error; done means the supplied ONNX node runs successfully with `linear` mode and existing behavior remains covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.