-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.sh
More file actions
10 lines (7 loc) · 720 Bytes
/
example.sh
File metadata and controls
10 lines (7 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# for training
python main.py --log_dir=/tmp3/first350/TensorFlow/Logs/ --image_dir=/tmp3/first350/SegNet-Tutorial/CamVid/train.txt --val_dir=/tmp3/first350/SegNet-Tutorial/CamVid/val.txt --batch_size=5
# for finetune from saved ckpt
# python main.py --finetune=/tmp3/first350/TensorFlow/Logs/model.ckpt-1000 --log_dir=/tmp3/first350/TensorFlow/Logs/ --image_dir=/tmp3/first350/SegNet-Tutorial/CamVid/train.txt --val_dir=/tmp3/first350/SegNet-Tutorial/CamVid/val.txt --batch_size=5
#for testing
# python main.py --testing=/tmp3/first350/TensorFlow/Logs/model.ckpt-19000 --log_dir=/tmp3/first350/TensorFlow/Logs/ --test_dir=/tmp3/first350/SegNet-Tutorial/CamVid/test.txt --batch_size=5 --save_image=True