Comments (5)
Thank you! adding it to our issue tracker.
from barracuda-release.
@Robin2091 @MarkTension I just implemented support for FusedBatchNormV3 and FusedBatchNormV2. Will be shipped with the next release.
Meanwhile you could try my fix locally. Just replace Tools/tensorflow_to_barracuda.py with the one in this zip: tensorflow_to_barracuda.py.zip.
Hope it helps.
from barracuda-release.
@Robin2091 any chance you could share your model? It might be with random weights.
Thanks!
from barracuda-release.
Hey @mantasp ! I have the same problem. IGNORED: FusedBatchNormV3 unknown layer.
I used mobilenet pretrained on imagenet from keras (keras.applications.mobilenet.MobileNet(.....)).
Seems like it's not supported from the documentation, but would be really helpful if support is added later, because basically all keras networks have fused batchnormv3 .
If you'd like to check download from here for your comfort.
https://drive.google.com/file/d/1VOKgwqitPusfgHsDdJqN6k8fqG2ZT27v/view?usp=sharing
from barracuda-release.
Thank you! @rejunity It seems though that the local fix by itself, combined with the latest barracuda.py file crashes when converting the model.
Traceback (most recent call last):
File "tensorflow_to_barracuda.py", line 21, in <module>
tf2bc.convert(args.source_file, args.target_file, args.trim_unused_by_output, args)
File "/Users/schmark/Unity_Projects/shapeNetwork/tensorflow_to_barracuda.py", line 1393, in convert
barracuda.setup_constants(o_model,
AttributeError: module 'barracuda' has no attribute 'setup_constants'
from barracuda-release.
Related Issues (20)
- Inference ONNX int8 quantized models using Barracuda engine
- UpSampling Layers Do Not Use Correct Interpolation
- Challenge: Make Baracuda work with Lllama HOT 1
- Is Barracuda deprecated? HOT 3
- 0nnxlmpotException: Unknown type ScaterND
- Saved PNG image of Texture2D shows Blank Image. HOT 1
- [Feature Request] baracuda able to run GPT4ALL4bit and AlpacaLora4bit
- Out of memory after running multiple time the network, even disposing all the tensors
- Will Barracuda 4.0 will be come with Unity AI initiative. HOT 6
- OnnxImportException: Unexpected error while parsing layer /model.24/Split_output_0 of type Split. Is it Barracuda problem? HOT 3
- Barracuda with savedmodel file format HOT 2
- dynamic weights of Conv is not support
- ONNX model outputs precision issue
- PyTorch TransformerEncoder HOT 1
- Using GPU in android with Unity Barracuda HOT 2
- OnnxImportException: Unknown type LayerNormalization encountered while parsing layer /transformer/layers.0/norm1/LayerNormalization_output_0. HOT 2
- OnnxImportException: Unknown type Scan encountered while parsing layer UU000UU HOT 2
- Loading from Application.persistentDataPath
- Unknown type LayerNormalization (Depth Anything ONNX) HOT 1
- Problem with importing model 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 barracuda-release.