Comments (3)
For an quick fix, making changes in the target-specific makefile works.
Please note that we would like to completely remove project generation from the Malefiles and have all project generation instead use this Python script.
Ideally we would like to remove all Makefile-based project generation by the end of 2021.
We expect to have an example of using the Python project generation with the Arduino in the next month or two and then start asking TFLM users to do the same for their targets.
from tflite-micro.
Hi @advaitjain, I just posted a fix in some of make files and while testing I noticed, that third party downloads are no longer downloaded, when I try to generate microlite targed.
Otherwise, when I change this:
GENDIR := $(MAKEFILE_DIR)/gen/$(TARGET)_$(TARGET_ARCH)_$(BUILD_TYPE)/
CORE_OBJDIR := $(GENDIR)obj/core/
KERNEL_OBJDIR := $(GENDIR)obj/kernels/
THIRD_PARTY_OBJDIR := $(GENDIR)obj/third_party/
BINDIR := $(GENDIR)bin/
LIBDIR := $(GENDIR)lib/
PRJDIR := $(GENDIR)prj/
To this:
GENDIR := $(MAKEFILE_DIR)/gen/$(TARGET)_$(TARGET_ARCH)_$(BUILD_TYPE)/
OBJDIR := $(GENDIR)obj/
BINDIR := $(GENDIR)bin/
LIBDIR := $(GENDIR)lib/
PRJDIR := $(GENDIR)prj/
Script successfully starts third party downloads. You can find that lines here.
What do you think can cause this problem?
from tflite-micro.
I'm unsure about the cause of the third party downloads not occurring. What I will say is that downloading via Makefile macros has historically been error-prone and hard to maintain.
Instead we are moving towards having the downloads be via a script.
tflite-micro/tensorflow/lite/micro/tools/make/Makefile
Lines 522 to 526 in 6b8b699
tflite-micro/tensorflow/lite/micro/tools/make/ext_libs/xtensa.inc
Lines 12 to 15 in 6b8b699
My suggestion would be to change your downloads to a bash script.
from tflite-micro.
Related Issues (20)
- TFLM compression changes
- build: C++17 is not enabled on all platforms HOT 3
- log32 overflow ? HOT 2
- TFLM compression changes (2nd)
- TFLITE micro ERROR An error occurred during the fetch of repository 'tflm_pip_deps_numpy' HOT 2
- TFLM compression changes (3rd)
- Impossible to compile with recent GCC HOT 1
- TFLM implementation in Contiki-NG HOT 1
- TFLM compression changes (4th) HOT 1
- Cortex-M CI Run Failed HOT 3
- Quantisize LSTM Model HOT 5
- Python dependency issue for aarch64 HOT 1
- While OP Issue in TFLM
- Custom memory allocation/planning that may not be that custom HOT 3
- Does TFLM support MFCC? HOT 2
- Training person detection model. HOT 1
- Add int16 support to MINIMUM and MAXIMUM HOT 2
- Fail to run person_detect.tflite via TFLite benchmark_model HOT 2
- Add int16 support to RELU6
- Rename tflite namespace HOT 1
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 tflite-micro.