updates
This commit is contained in:
parent
a7e21b4315
commit
3223c0171a
|
@ -1,10 +1,10 @@
|
|||
[net]
|
||||
# Testing
|
||||
batch=1
|
||||
subdivisions=1
|
||||
# batch=1
|
||||
# subdivisions=1
|
||||
# Training
|
||||
# batch=64
|
||||
# subdivisions=16
|
||||
batch=64
|
||||
subdivisions=16
|
||||
width=608
|
||||
height=608
|
||||
channels=3
|
||||
|
|
2
train.py
2
train.py
|
@ -318,7 +318,7 @@ if __name__ == '__main__':
|
|||
parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)')
|
||||
parser.add_argument('--resume', action='store_true', help='resume training flag')
|
||||
parser.add_argument('--transfer', action='store_true', help='transfer learning flag')
|
||||
parser.add_argument('--num-workers', type=int, default=0, help='number of Pytorch DataLoader workers')
|
||||
parser.add_argument('--num-workers', type=int, default=4, help='number of Pytorch DataLoader workers')
|
||||
parser.add_argument('--dist-url', default='tcp://127.0.0.1:9999', type=str, help='distributed training init method')
|
||||
parser.add_argument('--rank', default=0, type=int, help='distributed training node rank')
|
||||
parser.add_argument('--world-size', default=1, type=int, help='number of nodes for distributed training')
|
||||
|
|
|
@ -73,7 +73,7 @@ rm -rf darknet && git clone https://github.com/AlexeyAB/darknet && cd darknet &&
|
|||
./darknet detector train ../supermarket2/supermarket2.data ../yolo_v3_spp_pan_scale.cfg darknet53.conv.74 -map -dont_show # train spp
|
||||
./darknet detector train ../yolov3/data/coco.data ../yolov3-spp.cfg darknet53.conv.74 -map -dont_show # train spp coco
|
||||
|
||||
./darknet detector train ../supermarket2/supermarket2.data ../yolov3-spp-sm2-1cls-scalexy_variable.cfg darknet53.conv.74 -map -dont_show # train spp
|
||||
./darknet detector train data/coco.data ../yolov3-spp.cfg darknet53.conv.74 -map -dont_show # train spp
|
||||
gsutil cp -r backup/*5000.weights gs://sm6/weights
|
||||
sudo shutdown
|
||||
|
||||
|
@ -95,6 +95,6 @@ python3 test.py --data ../supermarket2/supermarket2.data --weights ../darknet/ba
|
|||
|
||||
|
||||
# Debug/Development
|
||||
python3 train.py --data data/coco.data --epochs 1 --img-size 320 --single-scale --batch-size 16 --accumulate 4 --giou --evolve
|
||||
python3 train.py --data data/coco.data --img-size 416 --batch-size 8 --accumulate 8
|
||||
gsutil cp evolve.txt gs://ultralytics
|
||||
sudo shutdown
|
||||
|
|
Loading…
Reference in New Issue