-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.txt
35 lines (23 loc) · 1.22 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo apt-get install unzip
unzip train_images_tiled_planes-20220902T170507Z-001.zip
sudo service docker stop && sudo service docker start
sudo service docker start
sudo chmod 666 /var/run/docker.sock
docker build -t detection .
docker run -it --mount type=bind,source="$(pwd)"/,target=/workspace detection
docker run -it --gpus all --mount type=bind,source="$(pwd)"/,target=/workspace detection
# TO INSTALL PYCOCOTOOLS, DOCKERFILE DOES THIS NOW
conda install -c conda-forge pycocotools
# !pip install pycocotools --quiet
# TO INSTALL TORCHVISION
!git clone https://github.com/pytorch/vision.git
python3 strategy_real.py -d 'artifacts' -n 'planes_sgd' -bs 4 -e 20 -s 5 -lr 0.005
python3 analysis.py -d 'artifacts' -n 'planes_sgd'
python3 detections.py -d 'artifacts' -n 'planes_sgd'
bad strat
python3 strategy_real.py -d 'artifacts' -n 'hault_trucks_synth_sgd' -bs 4 -e 20 -s 5 -lr 0.0001
good strat
python3 strategy_real.py -d 'artifacts' -n 'hault_trucks_synth_sgd_005' -bs 4 -e 30 -s 5 -lr 0.005
python3 strategy_synth.py -d 'artifacts' -n 'hault_trucks_MIX_sgd_005' -bs 4 -e 2 -s 2 -lr 0.005
mix
python3 strategy_synth.py -d 'artifacts' -n 'hault_trucks_MIX_sgd_005' -bs 4 -e 2 -s 2 -lr 0.005