Coder Social home page Coder Social logo

s4k10503 / onnx-operators-and-activations-checker-for-barracuda Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Check for operators and activation functions that are not supported by Unity Barracuda.

License: MIT License

Python 100.00%
onnx python3 unity dockerfile

onnx-operators-and-activations-checker-for-barracuda's Introduction

ONNX Operators and Activations Checker for Barracuda

image

Overview

This application allows users to load ONNX models and automatically check for operators and activation functions that are not supported by Unity Barracuda.
It is built using Python and leverages the customtkinter library for a modern and stylish GUI.

Features

  • Load ONNX Model: A user-friendly GUI button for loading ONNX files.
  • Check Operators: Automatically scans the ONNX model to identify unsupported operators.
  • Check Activation Functions: Automatically scans the ONNX model to identify unsupported activation functions.
  • Progress Bar: Provides real-time feedback during the checking process.

Dependencies

  • Python 3.x
  • ONNX
  • customtkinter
  • tkinter

Running with Docker

To run this application using Docker, you can build and run a Docker container as follows:

Build the Docker Image

Run the following command to build the Docker image:

docker build -t onnx_checker .

Run the Docker Container

Run the following command to run the Docker container.
This also mounts the host directory to the container, enabling file access for the GUI.

docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /path/on/host:/path/in/container onnx_checker

Note: Replace /path/on/host and /path/in/container with the appropriate paths.

Security Note: Make sure to run xhost + on the host machine to allow connections to the X server:

xhost +

After you are done, restrict the X server access again with:

xhost -

License

This project is licensed under the MIT License - see the LICENSE file for details.

onnx-operators-and-activations-checker-for-barracuda's People

Contributors

s4k10503 avatar

Watchers

 avatar

onnx-operators-and-activations-checker-for-barracuda's Issues

Inject Dependencies

I want to inject dependencies using a DI library.
It is assumed that a DI container will be realized using the injector module.

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.