This repository contains a series of tutorials on how to use hottbox
In order to get started you need to clone this repository and install packages specified in requirements.txt:
git clone https://github.com/hottbox/hottbox-tutorials cd hottbox-tutorials pip install -r requirements.txt
Note
If you are on Unix and have anaconda installed, you can execute bootstrap_venv.sh. This script will prepare a virtual environment for these tutorials.
- Tensor class for N-dimensional arrays and its functionality.
- Efficient representation of N-dimensional arrays: TensorCPD, TensorTKD, TensorTT.
- Fundamental tensor decompositions.
All data for these tutorials can be found under data/ directory.
ETH80 dataset
This dataset consists of 3,280 images of natural objects from 8 categories (apple, car, cow, cup, dog, horse, pera, tomato), each containing 10 objects with 41 views per object. More info about this dataset can be found on here.
data/ETH80/basic_066-063.npyContains only one RGB image of one object from each category, which makes it a total of 8 samples. The view point identifier for all of them is
066-063. These images are 128 by 128 pixes and are stored in the unfolded form. Thus, when this file is read bynumpyit outputs array with 8 rows and 128*128*3 = 49152 columns.