From b39a4f3da90f5af903a4d23e94e9b7823ed7d205 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 14 Jun 2017 18:30:45 +0200 Subject: [PATCH] Initial commit. --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..44e9e1a --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# Introduction # + +This is the port of the Synthetic Visual Reasoning Test to the pytorch +framework. + +The main function is + +``` +torch.ByteTensor generate_vignettes(int problem_number, torch.LongTensor labels) +``` + +where + + * `problem_number` indicates which of the 23 problem to use + * `labels` indicates the boolean labels of the vignettes to generate + +The returned ByteTensor has three dimensions: + + * Vignette index + * Pixel row + * Pixel col + +# Installation and test # + +``` +make -j -k +./built.py +./test-svrt.py +``` -- 2.39.5