Dependencies:
- C++11 or higher
- glm: https://glm.g-truc.net/0.9.9/index.html
Installation:
- on macOS: brew install glm # on macOS on Ubuntu / Debian: sudo apt-get install libglm-dev
- git clone https://github.com/fogleman/hmm.git
- cd hmm
- make
- make install
- Install nodejs using this command: curl-o-https://raw.githubusercontent.com/nvm- sh/nvm/v0.39.5/install.sh | bash
- Clone threejs repository: git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git
- CD into folder: cd Three.js-TypeScript-Boilerplate
- Install TypeScript: npm install -g typescript
- Install dependencies: npm install
- Start it: npm run dev
- Visit http://127.0.0.1:8080, You should see a rotating green wireframe cube, and be able to rotate it further with your mouse.
- git clone the repo
- Copy folder named "node_modules" from Three.js-TypeScript-Boilerplate folder in the previous step and paste it into the code folder
- cd into src/client folder: cd src/client
- Start the client: npm run dev
- Do not exit this terminal
- Open a new terminal
- Install python environment using environment.yml file and activate the environment
- cd into /alfa/backend_code/data_al folder
- Run: python data_maker_al.py
- cd into backend_code folder: cd ..
- Run: flask run --port=5000
- Do not exit this terminal
- Open an up-to-date browser (Google Chrome prefered)
- Navigate to chrome://settings/system and enable “Use hardware acceleration when available”, without this the application does not work!
- Open this URL: localhost:8080
- Enter your name on Student Id box and test_region_id on Test Region ID box.
- Upload elevation data and rgb data and hit submit. You can find these files on ./alfa/backend_code/data_al/files_to_upload
- Perform the experiments once you get the response from backend
- The corresponding results with metrics will be stored inside /alfa/backend_code/user/<user_id>/output/Region_0_Metrics_C*.txt/ where the accuracy metrics for each cycle of Active Learning are stored. The metrics stored till line 12 on these files are our evaluation metrics.