Comments (4)
This slice only works on planar, i.e. slicing in width and height dimension, all channels remain.
from esp-dl.
Oh I think i see,
so if i wanted half of a 3dmatrix (same channels) it would be something like
input shape: (1,12,12,28)
dl_matrix3d_t *half_1 = dl_matrix3d_alloc(1,6,6,28);
dl_matrix3d_t *half_2 = dl_matrix3d_alloc(1,6,6,28);
int x = (input->h)/2;
int y = (input->w)/2;
dl_matrix3du_slice_copy(half_1, input, x, y, 6, 6);
dl_matrix3du_slice_copy(half_2, input, x*2, y*2, 6, 6);
from esp-dl.
dl_matrix3du_slice_copy(half_1, input, x, y, 6, 6);
dl_matrix3du_slice_copy(half_2, input, x2, y2, 6, 6);
dl_matrix3du_slice_copy(half_1, input, 0, 0, 6, 6);
dl_matrix3du_slice_copy(half_2, input, x, y, 6, 6);
from esp-dl.
oh ok awesome! Thank you!
from esp-dl.
Related Issues (20)
- Problem with PSRAM in the tutotial/convert_tool_example with esp32-S3-DevKitC-1 (AIV-655) HOT 1
- Color Detector model's Size bias issue (AIV-657) HOT 4
- Allow using esp-dl with esp-idf v5.1 and newer (AIV-658) HOT 2
- 报错version `GLIBC_2.27' not found (AIV-659) HOT 1
- add 'Constant' operation (AIV-666)
- tvm_example 目录下 scrip.sh脚本生成的newproject 编译成功 但下载到板子里运行报错 (AIV-668)
- How to save face ID to sdcard instead of flash (AIV-669)
- Evalutor only supports esp32s3? (AIV-671) HOT 1
- ESP-DL TVM: UnboundLocalError: local variable 'bias_add' referenced before assignment (AIV-674) HOT 1
- ESP-DL Quant Tool | TVM conversion & deployment on ESP32S3-EYE (AIV-675) HOT 2
- ESP-DL tutorial/tvm_example No module named 'tvm.relay.op.contrib.esp' (IDFGH-12113) (AIV-678) HOT 4
- ESP32 Model Deployment Project using TVM (AIV-682) HOT 14
- Face recognition: enrolled face not persisting in Arduino IDE (AIV-683)
- custom model with TVM deployment error function 'TVMGetLastPythonError' not found (AIV-685)
- Question about memory usage of models that are build with the ESP-DL Quantization Tool (AIV-686) HOT 1
- Get Started link in the Readme is not working (AIV-688) HOT 2
- Latency of Face Recognition (AIV-689) HOT 2
- Movement detection (AIV-691)
- 参照官方提供的使用 ESP-DL 深度学习库基于 ESP32-S3 实现手势识别的这篇文章中在2.3评估里使用了里面的代码但是报错(前面完全按照示例走) (AIV-693) HOT 9
- I need help about “assert failed: dl::Tensor<T>& dl::Tensor<T>::reshape(std::vector<int>) [with T = short int] dl_variable.cpp:77 (size == size_gt)“ (AIV-694) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-dl.