Skip to content

LukeBolly/tf-tspn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Tensorflow 2.3 implementation of the paper:

Conditional Set Generation with Transformers (AR Kosiorek, H Kim, DJ Rezende) Arxiv Link

Image not found

To train the TSPN Autoencoder, run mnist_train.py

To load weights from a saved step, use the -s argument. You can pass a specific saved step, or -1 to load the latest.

To train the Size Predictor MLP after training TSPN, use the -p flag in combination with -s

A Tensorflow port of FSPool is also available in the models folder.

Requires:

  • Content root of the project must be set as the top level folder
  • Python 3.7
  • tensorflow 2.3
  • tensorflow-datasets 3.2.1
  • matplotlib 3.3.1
  • imagemagick if exporting using mnist_gif.py

About

A Tensorflow 2 implementation of TSPN, a model that uses Transformers to predict a variable sized set of points from a fixed sized vector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages