Giter Site home page Giter Site logo

Comments (5)

mantasp avatar mantasp commented on June 27, 2024 1

Thank you! adding it to our issue tracker.

from barracuda-release.

rejunity avatar rejunity commented on June 27, 2024 1

@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.

mantasp avatar mantasp commented on June 27, 2024

@Robin2091 any chance you could share your model? It might be with random weights.
Thanks!

from barracuda-release.

MarkTension avatar MarkTension commented on June 27, 2024

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.

MarkTension avatar MarkTension commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.