-
Notifications
You must be signed in to change notification settings - Fork 1
/
rude_carnie_server_gender.ps1
11 lines (11 loc) · 1.42 KB
/
rude_carnie_server_gender.ps1
1
2
3
4
5
6
7
8
9
10
11
$host.ui.RawUI.WindowTitle = "gender - rude carnie server"
conda env create -f tensorflow.yaml
activate tensorflow
cd ~\src\rude-carnie
mkdir C:\TEMP
Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:0 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5100 --work_dir C:\TEMP"
Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:1 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5101 --work_dir C:\TEMP"
#Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:2 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5102 --work_dir C:\TEMP"
#Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:3 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5103 --work_dir C:\TEMP"
#Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:4 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5104 --work_dir C:\TEMP"
#Start-Process -NoNewWindow -FilePath python -ArgumentList "guess_server.py --device_id /cpu:5 --class_type gender --model_type inception --model_dir checkpoints\gender\inception\21936\ --port 5105 --work_dir C:\TEMP"