Skip to content

Accompanying code to the publication: "Quantitative and Real-Time Control of 3D Printing Material Flow Through Deep Learning"

License

Notifications You must be signed in to change notification settings

cam-cambridge/fast-caxton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast-CAXTON regression model

[Paper] [Code] [Blog]

Accompanying code to the publication: "Quantitative and Real-Time Control of 3D Printing Material Flow Through Deep Learning"

10 seconds of example video of a print in the dataset

Setup

This repository allows you to easily train a regnet neural network to quantitatively predict with regression the relative state of the material flow rate in real time during printing from a single input image.

First create a Python 3 virtual environment and install the requirements - this should only take a couple of minutes. In the paper we used PyTorch (v1.10.1), Torchvision (v0.11.1), and CUDA (v11.3) in this work. You can use later versions if required and this repo has since been updated. See the complete list of requirements in requirements.txt.

virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt

Usage

Inside the src directory are two sub-directories for our data and model. We use Pytorch-Lightning (v1.1.4) as a wrapper for both the dataset and datamodule classes and for our model.

python train.py

About

Accompanying code to the publication: "Quantitative and Real-Time Control of 3D Printing Material Flow Through Deep Learning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages