From: Francois Fleuret Date: Wed, 14 Jun 2017 16:30:45 +0000 (+0200) Subject: Initial commit. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=b39a4f3da90f5af903a4d23e94e9b7823ed7d205;p=pysvrt.git Initial commit. --- 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 +```