summaryrefslogtreecommitdiff
path: root/candle-core/src/error.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-09-07 19:22:45 +0100
committerGitHub <noreply@github.com>2023-09-07 19:22:45 +0100
commit7396b8ed1a5394c58fcc772e5f6e6038577505b8 (patch)
treef7ce0cf676705e800093c05884ce5fc7443b7b0b /candle-core/src/error.rs
parent7b50f3e106b3d3a333e1c67f2006cbfd60c8a55a (diff)
downloadcandle-7396b8ed1a5394c58fcc772e5f6e6038577505b8.tar.gz
candle-7396b8ed1a5394c58fcc772e5f6e6038577505b8.tar.bz2
candle-7396b8ed1a5394c58fcc772e5f6e6038577505b8.zip
Segment Anything - process images (#766)
* Start processing images. * Add LayerNorm2d. * Properly use LayerNorm2d. * Tweak eps. * Use LayerNorm on inputs with a rank different from 3. * Window partitioning. * Fix a couple todos. * More todos. * Hard-code the einsums. * More padding support. * Some sizes tweaks. * Use the hub to get the weights. * Use a batch matmul. * Tweaks. * More fixes. * Get some predictions to be generated.
Diffstat (limited to 'candle-core/src/error.rs')
-rw-r--r--candle-core/src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/src/error.rs b/candle-core/src/error.rs
index d030fab1..be8f7b07 100644
--- a/candle-core/src/error.rs
+++ b/candle-core/src/error.rs
@@ -30,7 +30,7 @@ pub enum Error {
UnsupportedDTypeForOp(DType, &'static str),
// === Dimension Index Errors ===
- #[error("{op}: dimension index {dim} out of range for {shape:?}")]
+ #[error("{op}: dimension index {dim} out of range for shape {shape:?}")]
DimOutOfRange {
shape: Shape,
dim: i32,