lewiswolf / torchplugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Torchplugins

This repository contains a collection of plugins for loading pytorch models in Max/MSP, Unity and other engines/frameworks.

They can load different models, but they were developed to load the models used for this project.

Cloning

git clone --recursive git@github.com:rodrigodzf/torchplugins.git

Building

From the root directory, run:

sh ./bin/build.sh

The plugins will be available in the externals directory. It is recommended to copy the plugins to the externals directory of your Max installation e.g ~/Documents/Max 8/Packages/torchplugins/externals.

Usage

Max/MSP

An exemplary patcher is available in the extras directory. The patcher loads a model and runs inference on a given image. The pre-trained models can be downloaded from here.

The path to the models must be specified in Max settings.

Unity

Related repositories

nn-tilde - A Max/MSP, PureData external for loading pytorch models.

About


Languages

Language:Max 74.7%Language:C++ 21.7%Language:CMake 3.4%Language:Shell 0.3%