Comments (9)
@tabatinga0x00 Is it possible to share the TFLite model and the reproducible project?
In most cases, the exception at SetInputTensorData
is caused by mismatching the data type (float, double, or short) or array length between the model and the C# code.
from tf-lite-unity-sample.
According to the tensorflow API docs,
The initializing order might be like this.
// first call resize input tensor
interpreter.ResizeInputTensor(0, new int[] { 1, inputSize });
// then allocate it.
interpreter.AllocateTensors();
from tf-lite-unity-sample.
@asus4 I'll share it.
// first call resize input tensor
interpreter.ResizeInputTensor(0, new int[] { 1, inputSize });
// then allocate it.
interpreter.AllocateTensors();
it hasn't worked
from tf-lite-unity-sample.
@asus4 have you seen my email? Should I post the code here?
from tf-lite-unity-sample.
@tabatinga0x00 Please understand that I don't provide personal support by email. However, if you create a public PR (Pull Request) or a reproducible repository, I can take a look at it.
from tf-lite-unity-sample.
I ported a YAMNet-based audio classification example form TensorFlow Lite examples in this PR:
The model architecture differs from your model but might help to solve your issue.
from tf-lite-unity-sample.
I copied the directory AudioClassification into Assets
updated manifest.json according to README
And arised this error:
Assets\AudioClassification\AudioClassification.cs(98,24): error CS1061: 'NativeSlice<AudioClassification.Label>' does not contain a definition for 'Sort' and no accessible extension method 'Sort' accepting a first argument of type 'NativeSlice<AudioClassification.Label>' could be found (are you missing a using directive or an assembly reference?)
from tf-lite-unity-sample.
My model, if you'd need it
from tf-lite-unity-sample.
@tabatinga0xffff Your custom model is not related to this kind of error. Did you install "com.unity.collections" ?
from tf-lite-unity-sample.
Related Issues (20)
- Expose mediapipe config option "min_pose_detection_confidence" HOT 2
- face blendshape and geometry support HOT 4
- CameraTextureBackground doesn't support Built-in Render Pipeline HOT 4
- Custom model in SSD throws exception: TensorFlowLite operation failed HOT 3
- When the Graphics API is set to OpenGLES3, the ssd tracking does not work. HOT 2
- Fails TFLite Android build on CircleCI HOT 6
- deeplabv3_257_mv_gpu.tflite question HOT 2
- Having multiple tflite models deployed on same application HOT 5
- Better camera quality or a plugin instead of WebcamTexture HOT 1
- Facing Issue with Custom Model Integration HOT 2
- Map the landmarks on BlazePose Sample into a 3D avatar: eg Unity Chan? HOT 3
- Gpu Accelerator not working for linux x86_64. HOT 2
- undefined symbol errors on Xcode HOT 2
- This TensorFlow Lite and the one Xamarin - identical? HOT 1
- DllNotFoundException: libtensorflowlite_jni HOT 2
- Blazepose runs very slowly on mobile HOT 1
- using static image instead of WebCamTexture on BlazePose HOT 2
- Adjustment to SSD Bounding Box Size Calculation to Account for Texture Aspect Ratio HOT 2
- Speech Command 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 tf-lite-unity-sample.