-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopen_nsfw_server.ps1
More file actions
10 lines (10 loc) · 847 Bytes
/
open_nsfw_server.ps1
File metadata and controls
10 lines (10 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
$host.ui.RawUI.WindowTitle = "open nsfw server"
conda env create -f tensorflow.yaml
activate tensorflow
cd ~\src\tensorflow-open_nsfw
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6000 -m data\open_nsfw-weights.npy"
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6001 -m data\open_nsfw-weights.npy"
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6002 -m data\open_nsfw-weights.npy"
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6003 -m data\open_nsfw-weights.npy"
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6004 -m data\open_nsfw-weights.npy"
Start-Process -NoNewWindow -FilePath python -ArgumentList "classify_cv2_nsfw.py -p 6005 -m data\open_nsfw-weights.npy"