Single Node
GPU Version requires NVidia CUDA backend, you need to install
nvidia-docker
first.Run docker image
1. Set Environment Variable
Run these commands in your Terminal.
2. Create User-Defined Docker Network & Volumes
Create a user-defined bridge network:
Create docker volumes for postgresdb:
3. Run Postgres Container
Create Postgre Container
Init new additional DB
4. Run Visionaire Docker Snapshot
Select one of installer below:
Run FremisN Services (GPU Version)
Notes:
After you run the command, please check Create Config.yaml.
If you want to change the enrollments count whereas FRemis-N GPU is already running, please shut FRemis-N down > change the enrollments count value in
config.yml
> start againSingle FRemis-N container/instance doesn't support multiple GPU yet. Hence, when you run with
--gpus all
while the computer utilizes more than 1 GPU, likely it will fail
Run FremisN Services (CPU Version)
Options | Description |
---|---|
| Print this help message and exit |
| Nodeflux access key |
| Nodeflux secret key |
| Deployment Key |
| Address to serve REST API |
| Address to serve REST API |
| Address port of monitoring |
| Default similarity threshold |
| Storage System. The choice is |
| Database Address of Postgres server, if |
| Database port of Postgres server, if |
| Database name of Postgres server, if |
| Database username of Postgres server, if |
| Database password of Postgres server, if |
| The starting number of partition set |
| The ending number of partition set |
| Turn on verbose logging |
| OPTIONAL, DEFAULT 1 Set the maximum number of extraction workers, can be 0 or positive numbers. If 0 then exctraction workers is disabled. |
Create Config.yaml
Please create a folder which later we call it as <HOST FREMIS-N CONFIG FOLDER>
--, then create a file named as config.yml
inside <HOST FREMIS-N CONFIG FOLDER>
with content as follows:
Options | Descriptions |
---|---|
target_keyspace | choose keyspace that you want to load |
keyspace-enrollments_num | USE ONLY IN GPU MODE Pre-allocate number of enrollment in GPU |
Last updated