PUG 0/1
PUG
TensorFlow Machine Learning in Grasshopper
PUG is a Rhino plugin that integrates the Tensorflow Machine Learning library into Grasshopper. The plugin includes various applications of Machine Learning, such as Supervised Learning, generative Adversarial Networks (GANs), and Deep Reinforcement Learning, using the Keras API. You can find Pug on Food4Rhino to download the plug-in, and follow this tutorial to learn how to install the plug-in to Grasshopper.
Limitations of PUG
PUG has a few limitations that may affect its usability. First, the input tensor Y (target data in Keras) for the SL component (Supervised Learner) must have a shape of (1). As a result, the input data shape for the SL component in PUG is limited to one dimension, which means it can only be a 1D Numpy array of numbers instead of a 2D data array. This constraint makes building an autoencoder using PUG difficult since autoencoders typically work with 2D input data. Another limitation is that loading large-weight files may cause the computer to crash, as there is currently no component to import customized data. To resolve this issue, one must write a custom Python script and package it to import larger data files without crashing the computer. To build a component in Python, one must understand the programming language and the Grasshopper API. Additionally, having experience in developing and packaging plug-ins for Grasshopper may be helpful.
PUG 1/1
Tutorials
This is an overview of all the tutorials with the plug-in PUG