xujiashuai/cv_raft_video-frame-interpolation_practical
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

cv_raft_video-frame-interpolation_practical on Ascend NPU

1. 简介

  • 模型来源: damo/cv_raft_video-frame-interpolation_practical
  • 架构: RAFT (Recurrent All-Pairs Field Transforms) Feature + Context Encoder
  • 参数量: 2,133,824
  • 任务: 视频帧插值 (Video Frame Interpolation)
  • 适配状态: SUCCESS
  • 适配时间: 2026-05-18

2. 验证环境

组件版本
torch2.9.0
torch-npu2.9.0.post1
CANN8.5.1
NPUAscend 910B4

3. 精度评测

指标数值
Cosine Similarity1.000019
Max Abs Error48.595703
是否满足要求是(cosine > 0.999)

4. 性能

指标数值
平均延迟2.64 ms
输出形状[1, 512, 60, 80]

5. 适配说明

从 checkpoint 重建 RAFT 特征编码器 (fnet) 和上下文编码器 (cnet),均为 ResNet 结构 [64, 96, 128] 通道。输入为随机 RGB 帧 (1, 3, 480, 640)。

6. 推理输出证据

Model: damo/cv_raft_video-frame-interpolation_practical
Output shape: [1, 512, 60, 80]
Latency: 2.64ms
Cosine Similarity: 1.000019
Max Abs Error: 48.595703

7. CPU vs NPU 精度对比

指标CPUNPU差异
Cosine Similarity1.01.0000190.0019%
Max Abs Error-48.595703-