updates
This commit is contained in:
parent
f527d30ccd
commit
9b32d3cb5d
2
train.py
2
train.py
|
@ -40,6 +40,8 @@ def train(
|
||||||
|
|
||||||
# Initialize model
|
# Initialize model
|
||||||
model = Darknet(cfg, img_size).to(device)
|
model = Darknet(cfg, img_size).to(device)
|
||||||
|
# for m in model.modules():
|
||||||
|
# weights_init_normal(m) # set weight distributions
|
||||||
|
|
||||||
# Optimizer
|
# Optimizer
|
||||||
lr0 = 0.001 # initial learning rate
|
lr0 = 0.001 # initial learning rate
|
||||||
|
|
Loading…
Reference in New Issue