mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-01 05:58:19 -06:00
Weights loader with shape/finite validation (S2.10), patch embed, bicubic positional embedding, window/global attention, query pooling. Reference test (skips without weights): max abs error 2.6e-5 over all 12 blocks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
540 B
TOML
18 lines
540 B
TOML
[package]
|
|
name = "effectcraft-sam2"
|
|
description = "SAM 2.1 (Hiera) video object tracker for the Roto Brush: a Rust port of the Hugging Face transformers implementation, native only, weights downloaded by the user"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
|
|
# Native only (D1): candle is not built for wasm32, where this crate is empty.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
candle-core = "=0.9.2"
|
|
candle-nn = "=0.9.2"
|